From cogitation
Executes TDD implementation plans in batches with review checkpoints. Each task follows @tdd red-green-refactor. Loads EC context before each batch. Use when ready to implement a plan from docs/plans/.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cogitation:executing-plansThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute plans in TDD batches with review checkpoints.
Execute plans in TDD batches with review checkpoints.
Announce: "I'm using the executing-plans skill to implement this plan."
Every task follows @tdd: RED → GREEN → REFACTOR
No production code without a failing test first.
docs/plans/YYYY-MM-DD-<topic>.mdVerify Branch → EC Search → Load Plan → Execute Batches → Finish
git branch --show-current
Must be on a feature branch, not main.
Get project config and relevant context:
ec_search:
query: project config
type: config
ec_search:
query: [feature area]
type: pattern
ec_search:
query: [feature area]
type: learning
Note any gotchas or patterns that apply to this implementation.
Important: Pick one approach and stick with it for the entire execution. Don't mix Tasks and TodoWrite.
If TaskCreate/TaskUpdate/TaskList tools are available:
TaskCreate: "Batch 1: [first 3 tasks summary]"
TaskCreate: "Batch 2: [next 3 tasks summary]" → addBlockedBy: [batch 1 id]
TaskCreate: "Batch 3: [final tasks summary]" → addBlockedBy: [batch 2 id]
Benefits:
CLAUDE_CODE_TASK_LIST_IDIf Tasks aren't available, create a TodoWrite with all batches and update as you go.
Default batch size: 3 tasks
Before each batch, ask:
{
"questions": [{
"question": "How should I execute Batch N (tasks X-Y)?",
"header": "Execution",
"options": [
{ "label": "Main thread", "description": "Execute here with full visibility" },
{ "label": "Subagent", "description": "Fresh context, returns summary" }
],
"multiSelect": false
}]
}
For each task, follow @tdd:
in_progress (TaskUpdate if using Tasks, otherwise TodoWrite)@verifying)completed when batch passes verificationDispatch with this prompt:
Execute tasks X-Y from this plan:
[Paste relevant task sections from plan]
Requirements:
- EVERY task follows @tdd: write failing test FIRST, then minimal code to pass, then refactor
- No production code without a failing test — if you can't test it, stop and report
- Use @verifying before claiming any step complete
- Commit after each task
- Stop and report if any verification fails
EC Context:
- Test command: {test_command}
- [Relevant patterns/learnings from EC]
Return:
- Summary of what was implemented
- Tests written and their status
- Files created/modified
- Any issues or blockers encountered
After subagent returns:
Tip: If using Tasks, subagents can share the same task list by setting CLAUDE_CODE_TASK_LIST_ID - updates broadcast across sessions.
After each batch:
"Completed tasks N-M. [Brief summary]. Ready for feedback."
Wait for feedback before continuing.
After all tasks complete, use @requesting-review to:
code-reviewer agent@receiving-reviewAddress any Critical or Important issues before proceeding.
If the plan noted patterns to store:
ec_add:
type: pattern
area: [component]
content: [Pattern description]
rationale: Established during [feature] implementation
When all tasks complete and review passes:
"Implementation complete. Ready to finish the branch?"
If yes → Use @finishing-branch
Stop and ask when:
Don't guess - ask for clarification.
npx claudepluginhub merewhiplash/engram-cogitator --plugin cogitationExecutes tech plans via dependency-aware task batching, TDD, incremental commits, section code reviews, and PR creation. Use after planning phases.
Creates TDD implementation plans enforcing strict Red-Green-Commit/Rollback cycles per step. Auto-activates for TDD commands, references, or test-critical features.
Executes written implementation plans in batches with review checkpoints between batches. Useful when you have a plan file to follow step-by-step.