Borrowing it
Nothing to install: this file belongs to arrrrny/zuraffa. 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/arrrrny/zuraffa/master/.specify/extensions/tdd/commands/speckit.tdd.setup.mdgit clone --depth 1 https://github.com/arrrrny/zuraffaWrote 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/commands/arrrrny/zuraffa/speckit.tdd.setup)<a href="https://agentmods.dev/commands/arrrrny/zuraffa/speckit.tdd.setup"><img src="https://agentmods.dev/badge/commands/arrrrny/zuraffa/speckit.tdd.setup.svg" alt="Measured on agentmods" 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.00029 | $0.00661 |
| Opus 5 | $0.00015 | $0.00331 |
| Sonnet 5 | $0.00006 | $0.00132 |
| Haiku 4.5 | $0.00003 | $0.00066 |
Grade A, and why
speckit.tdd.setup 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TDD Setup (zfa-aware)
Make this repository's test stack explicit, so every later TDD command runs real commands instead of guessing. In zuraffa-wired projects, the profile records zfa as the engine — raw dart/flutter commands appear only as what zfa itself invokes.
User Input
$ARGUMENTS
--no-constitution: skip Phase 4.--constitution-only: profile already correct, only handle the constitution.
Step 0 — Detect zuraffa
zfa --version 2>/dev/null && test -f .zfa.json && echo "ZFA_OK" || echo "ZFA_MISSING"
Phase 1 — Detect and prove commands
For each command the profile records, run it once and record the actual observed behavior. Never write a command you have not proven.
ZFA_OK projects — record the zfa engine
| Profile key | Command to prove |
|---|---|
| single_test | zfa tdd verify-red <behavior> --feature <f> (certifies one test red) |
| full_suite | flutter test (what zfa's gates invoke under the hood) |
| build | zfa build |
| loop | zfa tdd run <feature> --timeout 25 |
| verify | zfa tdd verify --feature <feature> |
Prove each: run zfa tdd init (idempotent baseline), zfa build (codegen
works), flutter test (day-zero suite green).
ZFA_MISSING projects — detect the raw stack
Detect framework (flutter/dart), test runner (flutter_test/test), mutation tool (mutation_test), coverage tool. Prove each command.
Phase 2 — Write the profile
Write .specify/memory/tdd-profile.md:
# Stack Profile
Detected: <date>
Engine: zfa (zuraffa-wired) | raw (non-zuraffa)
## Commands (proven)
- single_test: <command>
- full_suite: <command>
- build: <command>
- loop: <command>
- verify: <command>
## Notes
<anything special about this stack>
Phase 3 — Sanity check
Run the full suite once more from the profile's recorded command. It must be green (or document why not).
Phase 4 — Constitution principle
Unless --no-constitution: ensure the TDD principle is in the constitution:
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.
- 3d ago First seen · 88 lines · 29 tokens per session scan A be6ef4e9323f
speckit.tdd.setup is a command published in the GitHub repository arrrrny/zuraffa (5 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 661 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-09-03.
Other commands, from other repositories
implement-feature
Implement an approved feature plan with fresh-context slices, TDD, evidence, and PR-ready output.
workflow-implement
Exécuter la phase d'Implémentation - développement sprint avec TDD/BDD.
fix
Correction automatisee des bugs identifies par la QA Recette.
hatch3r-bug-pipeline
Run a known-cause bug fix through a 3-phase test-first pipeline -- reproduce + root-cause, regression-test + fix together, then root-cause-depth review -- with full sub-agent delegation.
ralph.template
This prompt was authored for Claude-style slash workflows. In Codex runtime, adapt tool calls as follows.
feature-implement-execute
Phase 4 of develop: Execute the implementation plan with per-task TDD, quality gates, and completion verification.