# Agent QA testing

> Agent QA testing is an open-source agent skill for developer tools. Guides an agent through validating and running agent-qa regression tests and triaging. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/majiayu000/spellbook/tree/main/skills/agent-qa-testing
- **Repository:** https://github.com/majiayu000/spellbook
- **GitHub stars:** 303
- **License:** MIT
- **Skill name:** agent-qa-testing
- **Collection:** https://github.com/majiayu000/spellbook
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill walks an agent through an existing agent-qa workflow for web, Android and iOS regression tests. It starts by locating the project's configuration and the selected test, then checks the installed version and the command help before anything runs. Validation and dry runs come first, so the agent can confirm the selection and structure of a test before touching the application.

When a run fails or heals, the skill directs the agent to pull recorded run lists, overviews and memidex knowledge views, and to separate application defects from test expectation problems and environment or provider failures. It explicitly avoids treating an incomplete record as a finished outcome, and it keeps proposed fixes separate from execution unless the user has authorized changes. Exit codes are explained so that healed runs are not mistaken for clean passes.

The skill expects a project already set up with agent-qa, which requires Node.js 24 or newer, plus a model provider the user has chosen. It does not perform a whole-app feature inventory; that job belongs to a different skill.

## When your agent uses it

> Use when a project uses agent-qa and the user asks to validate its YAML, run a selected regression test, or triage a failed/healed run with memidex evidence. For a general app feature inventory, use app-user-story-qa.

## What it can access

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

- [Instructions only, no scripts](https://github.com/majiayu000/spellbook/tree/HEAD/skills/agent-qa-testing)
- [License: MIT](https://github.com/majiayu000/spellbook/tree/HEAD/skills/agent-qa-testing)

## Features

- **Test selection and validation:** Checks the configuration, test structure and references, and lists selected tests with a dry run before execution.
- **Scoped regression runs:** Runs a chosen test file against the authorized target and records the exit status and JUnit report path.
- **Run triage from evidence:** Reads recorded run lists, overviews and knowledge views to explain failed or healed outcomes.
- **Verdict interpretation:** Explains exit codes and distinguishes a clean pass from a healed run.
- **Safety and authorization limits:** Escalates production, paid, credential or scope-expanding actions and keeps testing separate from application repairs.
- **Scoped rerun verification:** Requires a fresh targeted rerun after any evidence-based correction and reports what remains unverified.

## Good for

- Validate a checkout regression test's YAML before running it
- Run one selected regression test and save a JUnit report
- Investigate why the last failed run on a project failed
- Check what memidex knowledge was used in a healed run
- Report which flows remain unverified after a partial test session

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/agent-qa-testing` to use it in all your projects:

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/agent-qa-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/majiayu000/spellbook.git --path skills/agent-qa-testing
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/majiayu000/spellbook.git
```

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

## FAQ

### What does Agent QA testing need before it can run?

A project already initialized with agent-qa, Node.js 24 or newer, and a chosen model provider. If agent-qa is missing, the skill points to the official quickstart and says to preserve existing configuration and credentials.

### Does Agent QA testing change application code?

Not as part of a testing request. It preserves failures and proposes an evidence-based fix, and only edits tests or application code when the user authorizes that change.

### When should I use a different skill instead?

For a whole-app feature inventory and user-story tracker, the skill says to use app-user-story-qa instead.

### Does a dry run prove a flow works?

No. The skill states that a dry run only lists the selected tests, and validation does not prove an application flow passes.

### How do I install Agent QA testing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/agent-qa-testing to use it in all your projects, or to .claude/skills/agent-qa-testing in one project.

### Does Agent QA 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 Agent QA testing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. 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 Agent QA testing?

The closest alternatives to Agent QA testing are QA exploratory, App user story QA, Test driven development, Qe agent and QA sweep.

## Where this comes from

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

## Alternatives

- [QA exploratory](https://ai-powered.com/skills/qa-exploratory): QA exploratory is an open-source agent skill for developer tools.
- [App user story QA](https://ai-powered.com/skills/app-user-story-qa): App user story QA is an open-source agent skill for developer tools.
- [Test driven development](https://ai-powered.com/skills/test-driven-development-addyosmani): Test driven development is an open-source agent skill for developer tools.
- [Qe agent](https://ai-powered.com/skills/qe-agent): Qe agent is an open-source agent skill for developer tools.
- [QA sweep](https://ai-powered.com/skills/qa-sweep): QA sweep is an open-source agent skill for developer tools.
- [QA explore](https://ai-powered.com/skills/qa-explore): QA explore is an open-source agent skill for developer tools.
- [Scoutqa test](https://ai-powered.com/skills/scoutqa-test): Scoutqa test is an open-source agent skill for developer tools.
- [QA explore mobile](https://ai-powered.com/skills/qa-explore-mobile): QA explore mobile is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/agent-qa-testing
