zuraffa: Skill for Claude Code

.agents/skills/speckit-tdd-setup/SKILL.md

speckit-tdd-setup is a skill for Claude Code, Codex from arrrrny/zuraffa. It costs 37 tokens per session (710 once invoked), scanned A, original, MIT.

A setup procedure for Test-Driven Development, a practice of writing tests before the code they check. It detects the repository’s test tools, verifies the commands, and records them in a project file.

In plain words
What is it for?
Use it to document a repository’s test commands, set up TDD guidance, refresh a changed setup, or detect tests for one folder in a monorepo, a repository containing multiple related projects.
Why use it?
It prevents later test commands from being guesses that pass without testing anything. It also gives the team one checked reference for running individual tests, the full suite, coverage, and mutation checks.

Skill for Claude CodeCodex

Written for Claude Code: $ARGUMENTS substitution. Also seen: installed under .agents/ (shared by several agents).

This is arrrrny/zuraffa's own configuration. It tells Claude Code and Codex how to work on zuraffa itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything zuraffa configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/arrrrny/zuraffa/master/.agents/skills/speckit-tdd-setup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/arrrrny/zuraffa

Made for: Claude Code, Codex.

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 speckit-tdd-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/arrrrny/zuraffa/speckit-tdd-setup/github.svg)](https://agentmods.dev/skills/arrrrny/zuraffa/speckit-tdd-setup)
Your own site
<a href="https://agentmods.dev/skills/arrrrny/zuraffa/speckit-tdd-setup"><img src="https://agentmods.dev/badge/skills/arrrrny/zuraffa/speckit-tdd-setup/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 speckit-tdd-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/arrrrny/zuraffa/speckit-tdd-setup"><img src="https://agentmods.dev/badge/skills/arrrrny/zuraffa/speckit-tdd-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 710 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.00037 $0.00710
Opus 5 $0.00018 $0.00355
Sonnet 5 $0.00007 $0.00142
Haiku 4.5 $0.00004 $0.00071

Measured 4d ago against content hash 71ee7a59077b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

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 4d 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/skills/speckit-tdd-setup/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 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:

Read the full file on GitHub · 92 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. 4d ago Changed · +91 lines · +37 tokens per session 71ee7a59077b
  2. 6d ago Changed · -209 lines · -55 tokens per session scan B → A b46b8cc646f4
  3. 10d ago First seen · 210 lines · 55 tokens per session scan B ef5bcae17506

Subscribe to this mod's changes

speckit-tdd-setup is a skill published in the GitHub repository arrrrny/zuraffa (5 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 710 once invoked, about $0.0002 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.

Related

Other skills, from other repositories