From cogitation
Creates detailed TDD-first implementation plans from design documents. Every task follows red-green-refactor. Searches EC for relevant patterns. Use after brainstorming to write an implementation plan.
npx claudepluginhub merewhiplash/engram-cogitator --plugin cogitationThis skill uses the workspace's default tool permissions.
Create implementation plans that an engineer with zero context can follow.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Create implementation plans that an engineer with zero context can follow.
Announce: "I'm using the writing-plans skill to create the implementation plan."
docs/designs/YYYY-MM-DD-<topic>.mdGet project config and relevant patterns:
ec_search:
query: project config
type: config
ec_search:
query: [feature area] pattern
type: pattern
ec_search:
query: [feature area] implementation
type: learning
Note the configured test_command for TDD steps.
Plans go in docs/plans/YYYY-MM-DD-<topic>.md and cross-reference the design.
# [Feature Name] Implementation Plan
**Design:** [docs/designs/YYYY-MM-DD-<topic>.md](../designs/YYYY-MM-DD-<topic>.md)
**Goal:** [One sentence]
**Architecture:** [2-3 sentences about approach]
**EC Context:** [List any relevant memories consulted]
---
Each task is bite-sized (2-5 minutes) and follows @tdd:
### Task N: [Component Name] @tdd
**Files:**
- Create: `exact/path/to/file.ts`
- Modify: `exact/path/to/existing.ts`
- Test: `tests/path/to/test.ts`
**Step 1: Write failing test** (RED)
\`\`\`typescript
test('specific behavior', () => {
// exact test code
});
\`\`\`
**Step 2: Run test, verify it fails**
\`\`\`bash
{test_command} path/to/test
\`\`\`
Expected: FAIL - "function not defined"
**Step 3: Implement minimal code** (GREEN)
\`\`\`typescript
// exact implementation code
\`\`\`
**Step 4: Run test, verify it passes** @verifying
\`\`\`bash
{test_command} path/to/test
\`\`\`
Expected: PASS
**Step 5: Commit**
\`\`\`bash
git add . && git commit -m "feat: add specific feature"
\`\`\`
Reference patterns found during search:
**EC Context:**
- Pattern: [area] - [brief description of relevant pattern]
- Learning: [area] - [gotcha to be aware of]
If the plan establishes a new pattern, note it for storage after implementation:
**Patterns to Store:**
- [Description of new pattern established]
After saving the plan:
"Plan saved to
docs/plans/YYYY-MM-DD-<topic>.md. Ready to execute?"
If yes → Use @executing-plans