# Testing

> Testing is an open-source agent skill for developer tools. Lets your agent test a Lovable app in Preview mode through browser automation. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/10K-Digital/lovable-agent-skills/tree/main/plugins/lovable/skills/testing
- **Repository:** https://github.com/10k-digital/lovable-agent-skills
- **GitHub stars:** 23
- **License:** MIT
- **Skill name:** 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 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.

## 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/testing)
- [License: MIT](https://github.com/10K-Digital/lovable-agent-skills/tree/HEAD/plugins/lovable/skills/testing)

## Features

- **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

## 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/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/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.

### Codex

Copy the skill folder to `~/.agents/skills/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/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.

### Cursor

Copy the skill folder to `~/.cursor/skills/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/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.

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

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

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/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/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.

### 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/testing` into your agent's skills folder as `testing`. Agents that support SKILL.md read one folder per skill.

## 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.

## Alternatives

- [Lovable testing](https://ai-powered.com/skills/lovable-testing): Lovable testing is an open-source agent skill for developer tools.
- [Manual tester](https://ai-powered.com/skills/manual-tester): Manual tester 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.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing-github): Webapp testing is an open-source agent skill for browser automation.
- [Lovable](https://ai-powered.com/skills/lovable-10k-digital): Lovable is an open-source agent skill for developer tools.
- [Browser QA](https://ai-powered.com/skills/browser-qa): Browser QA is an open-source agent skill for developer tools.
- [Playwright skill](https://ai-powered.com/skills/playwright-skill): Playwright skill is an open-source agent skill for browser automation.
- [E2E testing edho ferdian](https://ai-powered.com/skills/e2e-testing-edho-ferdian): E2E testing edho ferdian is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/testing-10k-digital
