Implement a story using red-green-refactor TDD. Task-by-task with test verification.
From bmad-coworknpx claudepluginhub bspann/bmad-cowork --plugin bmad-coworkThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Use when implementing a prepared story. Follows red-green-refactor TDD methodology, completing tasks one at a time with test verification.
Trigger with: "implement story", "dev story", "develop [STORY-ID]", "start coding"
Agent: Developer (Devon)
Input: _bmad-output/implementation-artifacts/stories/[STORY-ID].md
Output: Implemented code + tests
Read the story file. If not specified, read _bmad/sprint-status.yaml to find the next "todo" story. Load the story file from _bmad-output/implementation-artifacts/stories/.
Verify all dependencies are complete (status "complete" in sprint-status.yaml). If not, HALT.
Update sprint-status.yaml: set story status to "in_progress".
For each task in the story file:
RED — Write a failing test that describes the expected behavior.
Run the test. Verify it fails for the right reason.
GREEN — Write the minimum code to make the test pass.
Run the test. Verify it passes.
Run the full test suite. Verify nothing else broke.
REFACTOR — Improve the code without changing behavior.
Run the full test suite. Verify everything still passes.
Commit after each task with a descriptive message: feat(STORY-ID): task N - [description]
After all tasks are complete, verify every acceptance criterion from the story file:
For each criterion:
If at any point you cannot proceed:
HALT: [What is blocking you]
Context: [What you need to continue]
Recommendation: [Suggested resolution]
Update sprint-status.yaml: set story status to "blocked" with blocker description.
"review"REVIEW/bmad-cowork:review for [STORY-ID]"