acceptance-test-generator

acceptance-test-generator is an agent for Claude Code from shinpr/claude-code-workflows. It costs 64 tokens per session (973 once invoked), scanned A, original, MIT.

An agent that creates basic integration and end-to-end test files from acceptance criteria in a design document. Acceptance criteria are the specific behaviors a feature must satisfy; end-to-end tests check complete user journeys.

In plain words
What is it for?
Use it after a design document is complete to create test skeletons, following the project's coding patterns and reserving end-to-end tests for key journeys.
Why use it?
It helps choose a small set of tests that covers important behavior without generating a separate test for every possible detail.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it after a design document is complete to create test skeletons, following the project's coding patterns and reserving end-to-end tests for key journeys.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shinpr/claude-code-workflows/acceptance-test-generator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/shinpr/claude-code-workflows

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for acceptance-test-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/shinpr/claude-code-workflows/acceptance-test-generator/github.svg)](https://agentmods.dev/agents/shinpr/claude-code-workflows/acceptance-test-generator)
Your own site
<a href="https://agentmods.dev/agents/shinpr/claude-code-workflows/acceptance-test-generator"><img src="https://agentmods.dev/badge/agents/shinpr/claude-code-workflows/acceptance-test-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for acceptance-test-generator

Your own site · 80×15
<a href="https://agentmods.dev/agents/shinpr/claude-code-workflows/acceptance-test-generator"><img src="https://agentmods.dev/badge/agents/shinpr/claude-code-workflows/acceptance-test-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 973 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.00973
Opus 5.5 $0.00026 $0.00389
Sonnet 5.5 $0.00013 $0.00195
Haiku 4.5 $0.00006 $0.00097

Measured 7d ago against content hash bec4e1076b69, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

acceptance-test-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/acceptance-test-generator.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You generate comment-only integration/E2E test skeletons for required proof that cannot be supplied more cheaply. Apply testing-principles for proof selection and safety, integration-e2e-testing for skeleton and lane contracts, and repository conventions for placement.

Inputs

  • design_docs: One or more readable Design Doc paths containing acceptance criteria and Test Boundaries.
  • ui_spec: Optional UI Spec whose interactions constrain those criteria.
  • requirement_context: Optional approved PRD or unchanged convergence record; otherwise use the Design Doc's carrier.

Accept equivalent labels and concise prose with the same meaning. Follow linked sources only when they determine an in-scope proof obligation. If required criteria or documents remain unavailable after local resolution, return status: "blocked" with the exact missing input.

Selection

  1. Read the accepted criteria, Design Doc verification requirements, and applicable UI Spec interactions, states and transitions. Apply testing-principles to establish the required proof boundary, reading its references/frontend.md for UI integration proof and references/e2e.md for UI E2E proof, then inspect actual existing test assertions and setup for coverage.
  2. For uncovered integration/E2E proof, write the smallest sufficient skeleton set. Record the production entry/composition to traverse, real dependencies and allowed substitutes in the existing proof obligation. Before implementation exists, derive that obligation from the governing design; a test that could be written is planned proof, not existing coverage.
  3. Explain each empty lane from sufficient existing proof, a selected skeleton in another lane, or why the accepted behavior requires no proof at that lane's boundary. Return an exact limitation for a required but unavailable boundary.

Skeleton Contract

Use the repository's language, directory and naming conventions. Each lane has a separate file; preserve existing content and add only non-duplicated obligations. Follow Design Doc patterns where they determine the actual consumer contract.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed bec4e1076b69
  2. 19d ago Changed · +2 lines fd3f3e8d67f5
  3. 24d ago Changed 9d2604e64692
  4. 28d ago Changed 733425a9ed6d
  5. 1mo ago Changed · -215 lines · -4 tokens per session 77f66b6d7cbe
  6. 1mo ago Changed · -14 lines d5f2bc549e60
  7. 2mo ago Changed · -1 lines 0b780ad49a29
  8. 3mo ago First seen · 301 lines · 68 tokens per session scan A edb62a791290

Subscribe to this mod's changes

acceptance-test-generator is an agent published in the GitHub repository shinpr/claude-code-workflows (725 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 973 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

acceptance-test-generator compared with agents from other repositories

acceptance-test-generator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
acceptance-test-generatorshinpr/claude-code-workflowsAgent725todayMITA64Claude Code
test-masterakaszubski/autonomous-devAgent3511d agononeA40Claude Code
testercubetribe/ClaudeCode_GodMode-OnAgent6021d agononeA20Claude Code
mobile-testerakaszubski/autonomous-devAgent3511d agononeA31Claude Code
ui-testerakaszubski/autonomous-devAgent3511d agononeA20Claude Code
specwright-integration-testerObsidian-Owl/specwrightAgent97mo agoMITA43Claude Code
frontend-verifierqGolem/orcAgent58mo agoMITA59Claude Code