atdd-plan
Produce an ATDD-first implementation plan in Claude Code's native plan mode, with named design patterns called out where they…
Draft comprehensive Technical Design Documents. Analyzes codebase, fetches ticket/design/doc context via MCP. Every technical claim is verified against actual code. Unverified information is explicitly marked. Use when the user wants to write a TDD, create a technical design
Claude Code
$ npx -y skills add Flagrare/agent-skills --skill tdd-writer --agent claude-code
Codex
$ npx skills add Flagrare/agent-skills --skill tdd-writer -a codex -y
Cursor
$ npx skills add Flagrare/agent-skills --skill tdd-writer -a cursor -y
Gemini CLI
$ npx skills add Flagrare/agent-skills --skill tdd-writer -a gemini-cli -y
GitHub Copilot
$ npx skills add Flagrare/agent-skills --skill tdd-writer -a github-copilot -y
OpenCode
$ npx skills add Flagrare/agent-skills --skill tdd-writer -a opencode -y
Windsurf
$ npx skills add Flagrare/agent-skills --skill tdd-writer -a windsurf -y
name: tdd-writer description: "Draft comprehensive Technical Design Documents. Analyzes codebase, fetches ticket/design/doc context via MCP. Every technical claim is verified against actual code. Unverified information is explicitly marked. Use when the user wants to write a TDD, create a technical design document, plan a large engineering project, or says 'write a TDD'."
Draft Technical Design Documents for staging up large or complex projects. A TDD is a communication tool: a reader who has never seen the work should be able to read it start to finish and come away understanding **what** you're proposing, **why**, and **how** it will be built. It is not a form to fill in, and it is not a checklist with the prose removed.
**REQUIRED BACKGROUND:** Invoke `/flagrare:write-docs` before drafting. This skill owns *what a TDD must cover and how to verify it*; write-docs owns *how to make the prose readable*. The single most common failure of an AI-drafted TDD is the "medicine sheet", every section flattened into terse bullets, no causality, nothing a human wants to read. The craft layer in write-docs is the antidote, and the section "Writing the document" below applies it specifically to TDDs. Read both; do not skip the handoff.
---
---
**Never assume, imply, or hallucinate ANY technical information.**
Every piece of information about architecture, code, systems, services, data models, and APIs must be: 1. Verified by reading actual source code 2. Confirmed via MCP tools (Jira, Confluence, Notion, Figma) 3. Double-checked against the actual codebase
Use these markers:
[UNKNOWN: Brief description of what's missing] [NEEDS VERIFICATION: What needs to be checked and where] [TBD: Decision pending - who needs to decide]
1. **Service names** - search codebase, verify service exists 2. **API endpoints** - read actual proto files or route definitions 3. **Database tables** - find actual schema/migrations 4. **Data models** - read actual model/entity files 5. **Business logic** - read actual implementation code 6. **Dependencies** - check package.json, build.gradle, requirements.txt
---
Before drafting, collect and verify information from all available sources.
**Step 1: Fetch External Context via MCP**
Jira/Linear ticket (if provided):
Confluence/Notion docs (if referenced):
Figma designs (if linked):
**Step 2: Explore Existing UI (if modifying an existing system)**
If the feature modifies an existing interface, explore the current state:
**Step 3: Analyze Codebase (required)**
Read actual code before writing technical details:
**Step 4: Mark All Unknowns**
After gathering, explicitly list what could NOT be verified:
Before drafting, run `/flagrare:measure-impact` with `before <ticket, doc or initiative link> full called by /flagrare:tdd-writer`. Use what it returns in two places: the **For product** paragraph at the top of the Introduction (the bet, the number it should move with today's value and its source, how sure we are, what is out of scope), and the Analytics or Observability section (how the change will be tracked). When it reports a baseline as unknown, keep that visible in the doc ("baseline unknown: <how to get it>") instead of inventing a number.
The template below is a **coverage checklist for the author, not a layout for the reader**. It lists what a good TDD considers. It does not mean each heading gets three bullets and a code block. As you fill it, follow one rule above all others: **write each section as prose a colleague could read aloud.** Reach for a list or table only when the content is genuinely parallel and order-independent, a roster of endpoints, a t-shirt-size scale, a test matrix. The moment a "list" has bullets that depend on each other (this happens, *then* that, *because* of the other), it's a paragraph wearing a list costume. Write the paragraph.
Drop sections that don't apply rather than filling them with "N/A" noise. Mark ANY unverified information with the markers above.
# TDD: [Initiative Title] **Author:** [Name] **Team:** [Team/Squad Name] **Status:** IN REVIEW | GO | NO GO **Links:** - Ticket: [link] - Designs: [link] - Docs: [link] --- ## Introduction ### For product [3 to 5 plain sentences a product manager can read without the rest of the doc: what changes for users, the bet from /flagrare:measure-impact (the number it should move, today's value and its source, how sure we are), and what is out of scope.] ### Context [1-2 paragraphs: What problem are we solving? Business-oriented terms.] ### Problem Statement (Current S
Thirty-eight skills that wrap around your development cycle in Claude Code. They turn tickets into ATDD plans, smoke-test features against a running app or service, hunt down bugs with runtime evidence, guard commits against doc drift, run seven-axis code
Produce an ATDD-first implementation plan in Claude Code's native plan mode, with named design patterns called out where they…
Generate a comprehensive, impact-framed brag-doc entry for a chosen time window (day, week, biweek, month, or custom). Pulls…
Programmatic bug bashing, ingest a prescribed test plan (Notion, markdown, pasted spec), drive a real running system (browser via…
Run the career skills that are due, in one pass, and return one short combined digest plus an updated board. It reads timestamps…
Explore the codebase to map conventions, reusable utilities, analogous features, and data flows relevant to a planned change.…
Generate a daily code review report showing stale PRs, items needing your attention, and active work for your team. Use whenever…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.