Skip to content
Skill

Testing

Lets your agent test a Lovable app in Preview mode through browser automation

Testing is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
23
Last commit
License
MIT
Listing updated

Similar skills

About Testing

This skill runs end-to-end checks against a Lovable project's live Preview build using browser automation. It keeps test plans, test user profiles and run results in a dedicated workspace inside the project, with a legacy folder still readable and a migration script available for older setups. Access can come from a tokenized preview link stored in a gitignored local file or from an existing logged-in Lovable browser session, with a manual checklist as the fallback when automation is unavailable.

The workflow covers a setup wizard that scans the codebase for main user actions such as routes, forms, auth flows and CRUD operations, then proposes plans for them. Runs can target all plans, only those affected by recent changes, smoke-tagged plans, or a single plan. The skill also tracks the last synced commit so it can flag features that lack coverage and suggest new or updated plans.

It expects a Lovable project with a preview URL, a browser automation setup able to drive Chrome, and optionally a unit test framework in the project for coverage checks. Settings in the project's configuration control whether plans run after each feature or after an auto-deploy.

When your agent uses it

Preview testing skill for Lovable projects. Activates when: - preview_testing: on in CLAUDE.md - Running /lovable:test-init, /lovable:test-run, or /lovable:test-sync commands - After implementing a new feature when test plans exist (suggest test updates) - After auto-deploy completes when test_after_deploy: on - Any mention of "test in preview", "preview testing", "test plans", "e2e tests in Lovable" Tests the running app in Lovable Preview mode via browser automation. Manages standardized test plans, test profiles, and results in .lovable-agent/tests/ while preserving .claude/lovable-claude/test/ as a backward-compatible alias. Keeps test plans in sync with the codebase as features are added.

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 5 files (36 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-digital

Or copy only this skill to ~/.claude/skills/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/testing &&
cp -R "$tmp/plugins/lovable/skills/testing" ~/.claude/skills/testing &&
rm -rf "$tmp"

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/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/testing &&
cp -R "$tmp/plugins/lovable/skills/testing" ~/.agents/skills/testing &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/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/testing &&
cp -R "$tmp/plugins/lovable/skills/testing" ~/.cursor/skills/testing &&
rm -rf "$tmp"

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

Cursor docs on skills

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/testing

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

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/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/testing &&
cp -R "$tmp/plugins/lovable/skills/testing" ~/.copilot/skills/testing &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

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

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

The SKILL.md format

What it does

Preview test execution
Runs test plans step by step in the live Lovable Preview, checking UI state, console errors and network responses.
Guided test setup
A wizard scans routes, forms, auth and data operations to suggest and refine initial test plans.
Coverage resync
Compares the codebase against the last synced commit to find features that lack test plans.
Preview access handling
Uses a tokenized preview link stored locally or an existing browser login, and asks for a fresh link when the token expires.
Standard plan formats
Defines consistent files for test plans, user profiles, configuration and results.
Manual fallback checklists
Produces numbered steps for a person to run when browser automation is unavailable.

Good for

  • Run all end-to-end test plans against the current Lovable Preview
  • Check whether a newly built feature has a test plan
  • Run only the smoke tests after an auto-deploy
  • Create an initial set of test plans for a Lovable app
  • Record a failing test with the exact step and console errors

Testing FAQ

What does Testing need to run?

A Lovable project with a Preview URL, and browser automation (the Claude in Chrome extension) for direct execution. Without it, the skill provides a manual checklist.

How is the preview token handled?

The token is stored in a gitignored local file, is valid for about 7 days, and is never written to the project's configuration or committed to git.

When does Testing trigger?

When preview testing is enabled in the project's configuration, when testing commands are run, after a feature is implemented once test plans exist, after an auto-deploy if configured, or when the user mentions preview testing.

Does Testing change my app's code?

The skill writes test plans, profiles and results in its workspace folder, and may suggest or add unit tests for new code when the project has a test framework.

How do I install Testing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/testing to use it in all your projects, or to .claude/skills/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 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 Testing?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Testing?

The closest alternatives to Testing are Lovable testing, Manual tester, Lovable deploy, Webapp testing and Lovable.

Where this comes from

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

More from 10K-Digital/lovable-agent-skills

  1. Sets up or refreshes a Lovable project's local agent config, AGENTS.md and CLAUDE.md

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

    • Open source
    • 23 GitHub stars
    • Developer tools
  3. Guides an agent through deploying Lovable backend changes and verifying the result

    • Open source
    • 23 GitHub stars
    • Cloud and infrastructure
  4. Lets a coding agent create, build in, review and accept Lovable drafts safely

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

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

    • Open source
    • 23 GitHub stars
    • Developer tools