# Lovable testing

> Lovable testing is an open-source agent skill for developer tools. Lets an agent plan, run and maintain Lovable Preview test suites in your project. It is available on Claude Code and Codex.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex
- **Website:** https://github.com/10K-Digital/lovable-agent-skills/tree/main/plugins/lovable/skills/lovable-testing
- **Repository:** https://github.com/10k-digital/lovable-agent-skills
- **GitHub stars:** 23
- **License:** MIT
- **Skill name:** lovable-testing
- **Collection:** https://github.com/10K-Digital/lovable-agent-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill sets up a test workspace inside a Lovable user project, with folders for test plans, profiles and results, plus a context file and config. It guides the agent to generate test plans, then run only the smallest affected set after a change, such as plans tied to changed files or a quick smoke pass, before a full run.

The skill sets clear rules for safety and credentials. Preview is treated as non-production, and destructive, paid or irreversible steps are marked as manual. The base preview URL and token dates go in a config file, while the token itself is kept in a git-ignored local file. When browser access is unavailable, the agent falls back to a manual checklist rather than stopping work.

It also covers keeping tests in sync with the code. Plans declare the paths they cover, and a last-sync commit is updated after a successful sync. Older test folders can be migrated with a bundled Python script that keeps the legacy path readable until the user chooses to remove it. The skill refers to a separate testing skill and a shared config reference in the same plugin.

## When your agent uses it

> Run and maintain Lovable Preview tests from Codex, Claude Code, or another Agent Skills runtime. Use for test-plan generation, smoke/changed/all runs, test workspace migration, preview token handling, or keeping tests synchronized with changed features.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/10K-Digital/lovable-agent-skills/tree/HEAD/plugins/lovable/skills/lovable-testing)
- [License: MIT](https://github.com/10K-Digital/lovable-agent-skills/tree/HEAD/plugins/lovable/skills/lovable-testing)

## Features

- **Test workspace setup:** Creates a standard .lovable-agent folder with config, context, plans, profiles and results directories.
- **Targeted test runs:** Runs changed-feature or smoke plan sets first, reserving the full suite for later.
- **Preview token handling:** Stores the token in an ignored local file and keeps only the URL and dates in config.
- **Plan synchronization:** Keeps covered paths accurate and updates the last-sync commit after successful syncs.
- **Workspace migration:** Moves legacy test folders with a Python script while keeping the old path readable.
- **Safety marking:** Flags destructive, paid or irreversible test steps as manual actions.

## Good for

- Generate a test plan for a newly added Lovable feature
- Run the smoke tests after a deployment to the preview
- Run only the test plans that cover files I just changed
- Move an older test folder into the new workspace layout
- Update test plans after a feature has changed

## Install

### Claude Code

This skill ships in the `lovable` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add 10K-Digital/lovable-agent-skills
/plugin install lovable@10k-digital
```

Or copy only this skill to `~/.claude/skills/lovable-testing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/lovable-testing &&
cp -R "$tmp/plugins/lovable/skills/lovable-testing" ~/.claude/skills/lovable-testing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/lovable-testing` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/lovable-testing` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/lovable-testing &&
cp -R "$tmp/plugins/lovable/skills/lovable-testing" ~/.agents/skills/lovable-testing &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/lovable-testing` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/lovable-testing` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/lovable-testing &&
cp -R "$tmp/plugins/lovable/skills/lovable-testing" ~/.cursor/skills/lovable-testing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/lovable-testing` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/10K-Digital/lovable-agent-skills.git --path plugins/lovable/skills/lovable-testing
```

Or copy the folder to `~/.gemini/skills/lovable-testing` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/lovable-testing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/lovable-testing &&
cp -R "$tmp/plugins/lovable/skills/lovable-testing" ~/.copilot/skills/lovable-testing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/lovable-testing` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.git
```

Then copy `lovable-agent-skills/plugins/lovable/skills/lovable-testing` into your agent's skills folder as `lovable-testing`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Where does the preview token get stored?

The token is stored only in .lovable-agent/preview-token.local, which should be listed in .gitignore. The config file keeps only the base URL and token dates.

### What happens if browser access is unavailable?

The agent uses a stored valid token, or a logged-in browser session, and otherwise falls back to a manual checklist so implementation is not blocked.

### Which runs should be done before a full test run?

After implementation or deployment, the skill calls for running the smallest affected plan set, either changed or smoke, before offering the full suite.

### Does Lovable testing touch my old test folders?

It migrates the legacy .claude/lovable-claude/test folder with a migration script and keeps the old path as a read-compatible alias until you opt into cleanup.

### How do I install Lovable testing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/lovable-testing to use it in all your projects, or to .claude/skills/lovable-testing in one project. Or install the lovable plugin, which includes it: /plugin marketplace add 10K-Digital/lovable-agent-skills, then /plugin install lovable@10k-digital.

### Does Lovable testing run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Lovable testing?

Claude Code and Codex. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Lovable testing?

The closest alternatives to Lovable testing are Testing, Lovable deploy, Lovable project, Lovable sync and Yolo.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Testing](https://ai-powered.com/skills/testing-10k-digital): Testing is an open-source agent skill for developer tools.
- [Lovable deploy](https://ai-powered.com/skills/lovable-deploy): Lovable deploy is an open-source agent skill for cloud and infrastructure.
- [Lovable project](https://ai-powered.com/skills/lovable-project): Lovable project is an open-source agent skill for developer tools.
- [Lovable sync](https://ai-powered.com/skills/lovable-sync): Lovable sync is an open-source agent skill for developer tools.
- [Yolo](https://ai-powered.com/skills/yolo): Yolo is an open-source agent skill for developer tools.
- [Lovable](https://ai-powered.com/skills/lovable-10k-digital): Lovable is an open-source agent skill for developer tools.
- [Init](https://ai-powered.com/skills/init-10k-digital): Init is an open-source agent skill for developer tools.
- [Lovable drafts](https://ai-powered.com/skills/lovable-drafts): Lovable drafts is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/lovable-testing
