
Lovable testing
Lets an agent plan, run and maintain Lovable Preview test suites in your project
Lovable testing is an open-source agent skill for developer tools. It is available on Claude Code and Codex.
- Scripts
- None
- Platforms
- Claude Code, Codex
- GitHub stars
- 23
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Lovable testing
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (2 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the lovable plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add 10K-Digital/lovable-agent-skills
/plugin install lovable@10k-digitalOr copy only this skill to ~/.claude/skills/lovable-testing:
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.
Copy the skill folder to ~/.agents/skills/lovable-testing to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/lovable-testing to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/10K-Digital/lovable-agent-skills.git --path plugins/lovable/skills/lovable-testingOr copy the folder to ~/.gemini/skills/lovable-testing yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/lovable-testing:
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.
Get the folder:
git clone --depth 1 https://github.com/10K-Digital/lovable-agent-skills.gitThen 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.
What it does
- 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
Lovable testing 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.
More from 10K-Digital/lovable-agent-skills

Sets up or refreshes a Lovable project's local agent config, AGENTS.md and CLAUDE.md
- Open source
- 23 GitHub stars
- Developer tools

Guides a coding agent through Lovable.dev projects, edge function deploys and migrations
- Open source
- 23 GitHub stars
- Developer tools

Guides an agent through deploying Lovable backend changes and verifying the result
- Open source
- 23 GitHub stars
- Cloud and infrastructure

Lets a coding agent create, build in, review and accept Lovable drafts safely
- Open source
- 23 GitHub stars
- Developer tools

Gives agents project context for Lovable.dev repos: Vite SPA vs TanStack Start, config
- Open source
- 23 GitHub stars
- Developer tools

Guides safe two-way sync between a Lovable project and its GitHub main branch
- Open source
- 23 GitHub stars
- Developer tools

