Borrowing it
Nothing to install: this file belongs to pyramidheadshark/claude-scaffold. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/pyramidheadshark/claude-scaffold/main/.claude/agents/test-architect.mdgit clone --depth 1 https://github.com/pyramidheadshark/claude-scaffoldWrote 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.
[](https://agentmods.dev/agents/pyramidheadshark/claude-scaffold/test-architect)<a href="https://agentmods.dev/agents/pyramidheadshark/claude-scaffold/test-architect"><img src="https://agentmods.dev/badge/agents/pyramidheadshark/claude-scaffold/test-architect/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.
<a href="https://agentmods.dev/agents/pyramidheadshark/claude-scaffold/test-architect"><img src="https://agentmods.dev/badge/agents/pyramidheadshark/claude-scaffold/test-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.00539 |
| Opus 5 | $0.00012 | $0.00269 |
| Sonnet 5 | $0.00005 | $0.00108 |
| Haiku 4.5 | $0.00002 | $0.00054 |
Grade A, and why
test-architect 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 8d 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.
What it actually says
Agent: test-architect
Purpose
Generates the complete test suite skeleton from a finalized design document. Produces .feature files and pytest stubs. All tests are written BEFORE implementation begins.
When to Use
After design-doc.md is approved (status = APPROVED). Before any source code in src/ is written.
/agent:test-architect
Workflow
- Reads
design-doc.mdsection 4 (Scenarios) and section 7 (Test Plan) - Creates one
.featurefile per scenario intests/features/ - Creates step definition stubs in
tests/features/steps/ - Creates unit test stubs for all domain objects mentioned in section 6.2
- Creates
tests/conftest.pywith standard fixtures - Updates
dev/status.md— marks Phase 1 complete, Phase 2 active
BDD Scenario Quality Rules
- Each scenario covers exactly ONE user behaviour
- Scenarios must be independent — no shared mutable state between scenarios
- Use concrete examples in steps, not abstract descriptions
- Given/When/Then structure is mandatory — no And-only steps
- Negative scenarios (sad paths) are as important as happy paths
Output Structure
tests/
├── conftest.py
├── unit/
│ ├── core/
│ │ └── test_{domain_entity}.py (stubs, all failing)
│ └── services/
│ └── test_{service_name}.py (stubs, all failing)
├── integration/
│ └── test_api_{resource}.py (stubs, all failing)
└── features/
├── {scenario_name}.feature
└── steps/
└── test_{scenario_name}_steps.py
Instructions for Claude Code
- Every test stub must have a
pytest.mark.xfail(reason="not implemented")marker initially - Remove
xfailmarkers as implementation is completed — never delete tests - Feature files must be syntactically valid Gherkin — run
pytest --collect-onlyto verify - Do not import from
src/in test stubs — use placeholder comments for now - After creating tests, run
pytest --collect-onlyto verify discovery works
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.
- 8d ago First seen · 62 lines · 23 tokens per session scan A bfc2628deed9
test-architect is an agent published in the GitHub repository pyramidheadshark/claude-scaffold (4 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 539 once invoked, about $0.0001 per session on Opus 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-31.
Other agents, from other repositories
test-writer
Use for generating comprehensive tests following TDD/BDD principles.
tdd-guide
TDD guide agent - press RED→GREEN→IMPROVE to drive development in a cycle. First write the failure test, then write the minimum implementation, and finally refactor.
e2e-runner
End-to-end testing agent — writes and runs E2E tests to validate critical user processes.
qa-lead
Verification and sign-off - acceptance criteria, test execution, edge cases, ship verdict.
test-strategist
Test strategy expert - coverage analysis, test planning, test pyramid.
grader
Validate a submission's format and run mlebench grade. Catches errors before submission.