Implementation execution following breakdown checklist with TDD
Executes feature implementation from breakdown using TDD workflow with test-first development and knowledge base integration.
/plugin marketplace add barnabasJ/claude/plugin install essentials@essentials-marketplacefeature-nameImplements the detailed breakdown checklist task by task, following TDD workflow. You are the implementation lead: write code, create tests, make commits, and track progress. Consult agents for guidance when needed.
Final phase of: research → plan → breakdown → execute
./notes/breakdowns/[feature-name].mdSearch ./notes/knowledge/ BEFORE starting:
./notes/knowledge/hard-won-knowledge/ - Previous solutions./notes/knowledge/technical-patterns/ - Implementation patterns./notes/knowledge/project/ - Project-specific approaches🚨 Check knowledge base before debugging ANY problem.
Read ./notes/breakdowns/[feature-name].md and use TodoWrite to create tasks:
For each task in the breakdown:
3a. Start task
3b. Follow TDD cycle
3c. Commit
3d. Track progress
[x] in breakdown documentAfter each task:
After 3-4 related tasks:
After all tasks:
Document learnings in ./notes/knowledge/:
🚨 Tasks are NOT complete with failing tests.
When tests fail:
Never:
🚨 Check knowledge base BEFORE debugging any problem.
When you encounter an error:
./notes/knowledge/hard-won-knowledge/ for similar errors./notes/knowledge/technical-patterns/ for tech-specific solutions./notes/knowledge/project/ for project approachesAfter solving a problem:
./notes/knowledge/hard-won-knowledge/| Agent | When to Use |
|---|---|
| qa-reviewer | Test coverage validation |
| code-quality-reviewer | Pattern consistency, naming |
| architecture-agent | Integration validation |
| research-agent | Retrieve technical details |
Consult agents when:
Ask specific questions:
"I'm implementing OAuth callback. The breakdown says to use
lib/app_web/controllers/auth_controller.ex. Looking at existing
controllers, should I use Phoenix actions or Ash actions?"
In breakdown document:
### 1. [x] Add User Resource ✅ 2025-12-10
- [x] 1.1 Create user resource
- [x] 1.2 Write tests
- [x] 1.3 Add attributes Commit: abc123f
In TodoWrite:
🚨 Do:
🚨 Don't:
Input: /execute user-authentication
Process:
1. Read breakdown: ./notes/breakdowns/user-authentication.md
- Task 1: Add User Resource
- Task 2: Configure OAuth
- Task 3: Add Tests
2. Create TodoWrite tasks from breakdown
3. Execute Task 1:
- Mark in_progress
- 1.1 Create user.ex (follow pattern from organization.ex)
- 1.2 Write user_test.exs
- 1.3 Add email, password attributes
- 1.4 Run tests → pass
- Commit: "feat(accounts): add user resource"
- Mark completed
4. Execute Task 2:
- Mark in_progress
- 2.1 Add ueberauth to mix.exs
- 2.2 Write auth_controller_test.exs
- 2.3 Create auth_controller.ex
- 2.4 Run tests → FAIL
- Check knowledge base → found OAuth callback solution
- Apply fix
- Run tests → pass
- Commit: "feat(auth): configure OAuth"
- Store solution in knowledge base
- Mark completed
5. Run review agents
6. Update knowledge base with learnings