/blueprint:bp-tdd-reviewfrom blueprint
TDD variant of plan-review — restructures the plan to follow Red/Green/Refactor cycle. Triggers on "/bp-tdd-review", "/tdd-review", "tdd plan", "test-driven review", "red green refactor", or any request to prepare a plan for TDD execution. Also triggers on "tdd mode", "write tests first", "test-first approach", "tdd planning", "prepare plan for TDD", or "write tests before code". Injects Phase 0 (all tests written first, failing), GREEN implementation phases, and final Coverage & Refactor phase targeting 100% coverage.
Ships in blueprint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read blueprint/.config.yml → language. If auto, detect from the user's messages. All generated content MUST be in the detected language. Skill instructions stay in English — only output changes.
TDD variant of /plan-review. Restructures the plan to follow Red/Green/Refactor: all tests written first (failing), implementation makes them pass, coverage phase reaches 100%.
This skill ONLY restructures the plan file — NEVER write actual test or implementation code.
/plan → /bp-tdd-review → [clear context] → /plan-approved → /plan-check → /pr → /finish
references/team-execution.md at Step 1. NEVER fabricate plan details.mcp__sequential-thinking__sequentialthinking at Step 1. NEVER skip.[H]/[S]/[O]. NEVER leave unmarked tasks.Run these simultaneously:
blueprint meta — get plan metadatareferences/team-execution.md for execution mode selectionThen use mcp__sequential-thinking__sequentialthinking to validate completeness, dependencies, testability, file conflicts. During validation, extract a list of all models, endpoints, services, and features from the plan — this list drives Phase 0 test naming.
DO NOT proceed without reading the plan file AND team-execution.md.
Add ${CLAUDE_SESSION_ID} to the plan file:
`${CLAUDE_SESSION_ID}` DD/MM/YYYY HH:MM - TDD review — `claude -r ${CLAUDE_SESSION_ID}`sessions: array: - id: "${CLAUDE_SESSION_ID}" date: "DD/MM/YYYY HH:MM" note: "TDD review"Mark ALL tasks: [H] (simple), [S] (medium), [O] (complex/rare). Default to [H].
Insert Phase 0 at TOP of Phases section. Derive test class names directly from the plan's models, endpoints, and features extracted in Step 1. Each test task must target a specific entity from the plan.
Example (adapt to actual plan content):
### Phase 0: Write All Tests (RED)
> **TDD:** Write ALL tests before any implementation. Tests MUST fail at the end of this phase.
- [ ] [S] Write Feature tests: CreateOrderTest, UpdateOrderStatusTest (from Phase 1 tasks)
- [ ] [S] Write Unit tests: OrderServiceTest, PricingCalculatorTest (from Phase 2 tasks)
- [ ] [H] Run tests → verify ALL fail (failures expected)
- [ ] [H] Commit: `test: add failing tests for [feature] (RED)`
Naming rule: For each implementation task in the plan that produces testable behavior, create a corresponding test task in Phase 0. Use the format [Model]Test, [Feature]Test, or [Endpoint]Test — derived from the plan, never generic placeholders.
Add (GREEN) annotation to each implementation phase.
After annotating, verify 1:1 mapping: Walk through every Phase 0 test task and confirm there is a GREEN implementation task that will make those tests pass. If a test task has no corresponding implementation task, add one. If an implementation task has no corresponding RED test, add a test task to Phase 0. Document the mapping as a comment block in the plan:
<!-- RED/GREEN mapping:
Phase 0: CreateOrderTest → Phase 1: Create Order model + migration + controller
Phase 0: OrderServiceTest → Phase 2: Implement OrderService
-->
### Phase N+1: Coverage & Refactor (REFACTOR)
> **TDD:** Target 100% coverage on files touched by this feature.
- [ ] [S] Run coverage — identify uncovered lines
- [ ] [S] Write additional tests for uncovered branches
- [ ] [H] Confirm all green
- [ ] [H] Run code formatting
- [ ] [H] Commit: `test: complete 100% coverage (REFACTOR)`
Phase 0 (RED) is ALWAYS Round 1. Coverage is ALWAYS last round. Implementation phases follow standard mode selection.
Update plan header:
> **Mode:** TDD
> **Coverage Target:** 100%
> **Status:** Approved
git add blueprint/ && git commit -m "plan: tdd-review NNNN-<description>"
STOP. Use AskUserQuestion:
Use $ARGUMENTS as plan file path if provided.
What SKILL.md sets; muted values are Claude Code's defaults
27 skills in this plugin
/address-prFetch PR review comments, categorize feedback, implement fixes, and push. Use this skill whenever the user says "/address-pr", "address review", "fix review comments", "handle PR feedback", or any request to implement fixes based on PR review feedback. Also triggers on "fix the review", "address feedback", "implement review changes", "implement the requested changes", or "handle review comments". Fetches real comments via blueprint pr-review.
/backlogCapture, manage, and promote pre-planning ideas before they become full plans. Use this skill whenever the user says "/backlog", "add to backlog", "backlog idea", "capture this idea", "save this for later", "I had an idea", or any request to manage the idea backlog. Also triggers on "list ideas", "promote idea", "backlog list", "drop idea", "mark done", "what's in the backlog", "show me the ideas", "pending ideas", or any request to add/view/promote/done/drop items in blueprint/backlog/. The backlog is the pre-planning stage — ideas live here until promoted to /plan. Even if the user doesn't explicitly say "backlog", trigger when they describe wanting to capture a feature idea, task, or improvement for later without implementing it now. This skill is the gateway to the SDLC — nothing gets planned or built without first passing through the backlog.
Other plugins' skills for the same job
Generated from the plugin's indexed repository (skaisser/blueprint-plugin) — no native marketplace selected
npx claudepluginhub p/skaisser-blueprint