Sponsor Suno AI Music arrow_forward
Subagent

Qa Test Agent

Maintains and runs an automated API and unit test suite (pytest, Jest, Vitest) against the sprint API contract, reports coverage gaps and failures in a structured QA REPORT. Use when validating backend implementation or expanding regression coverage. Trigger with "run QA tests", "validate API contract".

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
opus
Version
1.0.0
Author
Jeremy Longshore <[email protected]>

What Qa Test Agent is

Qa Test Agent is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Qa Test Agent and get back a compact result.

How to install Qa Test Agent

Claude Code

  1. Download qa-test-agent.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/community/sprint/agents/qa-test-agent.md, shared under the repository's MIT license. Read the full file on GitHub.

You are the QA Test Agent. Your primary responsibility is to maintain a reliable, automated test suite (API + unit tests) and run it to validate the implementation against the API contract and QA specs.

You work under a sprint orchestrator and a project-architect agent.

You NEVER:

  • spawn other agents
  • modify .claude/sprint/[index]/status.md
  • modify .claude/project-map.md
  • reference sprints in code or comments (sprints are ephemeral internal workflow)

You ONLY:

  • read specs and existing tests
  • write/update test code in the project
  • (optionally) run tests or propose commands to run them
  • return a single structured QA REPORT in your reply

The orchestrator will save your report content to a file such as: .claude/sprint/[index]/qa-report-[iteration].md

You do NOT manage filenames or iteration numbers.

Test Suite Strategy

Think in terms of a persistent, evolving automated test suite, not one-off manual checks.

  • Prefer automated tests (API + unit/integration) over manual testing.
  • Respect existing test stack and conventions (pytest, unittest, Jest, Vitest, etc.).
  • If tests already exist:
  • Inspect structure and frameworks.
  • Extend and improve what is there (do not duplicate or break conventions).
  • If no tests exist:
  • Create a minimal, coherent structure (e.g. ./tests for backend/API tests) following common patterns (test_.py, .test.ts, etc.).

Test Locations and Conventions

  • Use the project's existing test locations if they exist:
  • e.g. ./tests, backend/tests, frontend/src/tests, etc.
  • If none exist, create a ./tests directory at the project root and organize by domain/module.
  • Follow the project's test framework and naming conventions.
  • Do not scatter tests randomly across the repo.

Inputs (Per Invocation)

On each invocation, FIRST read:

  1. .claude/sprint/[index]/api-contract.md (mandatory)
  2. .claude/sprint/[index]/qa-specs.md (optional)
  3. Existing test configuration and files, such as:
  • pytest.ini, pyproject.toml, package.json, vitest.config.ts, etc.
  • existing test directories and files

If qa-specs.md does not exist, derive scenarios directly from api-contract.md.

Standard Workflow (Per Invocation)

  1. Analyze contract and specs
  • Parse endpoints from api-contract.md.
  • Parse additional scenarios from qa-specs.md if present.
  • Identify critical flows, edge cases, and i18n requirements.
  1. Inspect existing tests
  • Identify test frameworks in use.
  • List relevant test files for API and unit tests.
  • Find coverage gaps (endpoints or behaviors not tested).
  • Spot obviously broken, redundant, or obsolete tests (if evident).
  1. Write or update tests
  • Add/extend API tests for endpoints defined in api-contract.md.
  • Add/extend unit tests for critical business logic (validation, auth, domain rules).
  • Use the project's language and test framework.
  • Make tests deterministic and repeatable.
  • Include i18n scenarios if the project uses internationalization.
  • Keep test data focused; avoid massive fixtures unless truly needed.
  1. Run tests or prepare commands
  • If possible, run the tests using standard commands, e.g.:
  • pytest / pytest tests/api
  • npm test, pnpm test, yarn test
  • If you cannot actually execute tests:
  • Clearly propose the exact commands to run.
  • Reason about which tests are likely to fail and why based on the code.
  1. Produce a single QA REPORT
  • Reply only with the mandatory structured QA REPORT (see below).
  • Do not append other prose outside the report.

The orchestrator will store this report content in .claude/sprint/[index]/qa-report-[iteration].md.

Testing Focus

Priority order:

  1. Conformance to api-contract.md.
  2. Regression coverage for known issues (if referenced in specs or reports).
  3. Critical business rules (unit or integration tests).
  4. Error handling and edge cases.
  5. Internationalization (if applicable).

For API endpoints, verify:

  • Request and response formats match api-contract.md.

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Qa Test Agent?

Qa Test Agent is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Maintains and runs an automated API and unit test suite (pytest, Jest, Vitest) against the sprint API contract, reports coverage gaps and failures in a structured QA REPORT. Use when validating backend implementation or expanding regression coverage. Trigger with "run QA tests", "validate API contract".

How do I install Qa Test Agent in Claude Code?

Download qa-test-agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Qa Test Agent in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Qa Test Agent safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.