Use when design is complete and you need detailed implementation tasks - creates tracked MCP issues with exact file paths, complete code examples, and verification steps. Optional reference plan file for architecture overview.
Creates detailed implementation plans with tracked MCP issues containing exact file paths, complete code examples, and verification steps.
npx claudepluginhub bacchus-labs/wranglerThis skill inherits all available tools. When active, it can use any tool Claude has access to.
templates/plan.mdWrite comprehensive implementation plans assuming the engineer has zero context for our codebase. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
MCP issues are the source of truth - each tracked task contains complete implementation details.
Optionally create:
.wrangler/plans/YYYY-MM-DD-PLAN_<spec>.md) - Architecture overview and design decisions (reference only)Works in main branch OR worktree (no preference)
Headless mode: If run as subagent, do not stop to ask for feedback during execution.
Each step is one action (2-5 minutes):
Plan files are required when architecture/design context needs documentation, an implementation involves multiple interconnected steps/issues that require planning around ordering and potential parallelism.
Create plan file when ANY of these are true:
✅ 10+ issues/tasks - Need architectural overview to understand big picture ✅ Multiple interconnected components - Need system diagram and component relationships ✅ Significant design decisions - Need to document rationale and alternatives considered ✅ Complex patterns/conventions - Need reference material that applies across multiple tasks ✅ Onboarding context needed - Future agents/sessions would struggle understanding issues in isolation
Skip plan file when:
❌ < 5 simple tasks - Straightforward implementation, issues are sufficient ❌ No architectural complexity - Changes are localized and self-explanatory ❌ Obvious approach - No design decisions requiring rationale
Plan file should contain:
# [Feature Name] Implementation Plan
> **For Claude:** REQUIRED SUB-SKILL: Use /wrangler:implementing-issue to implement this plan task-by-task.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
**Implementation tracking:** See MCP issues (project: [specification filename])
---
## Acceptance Criteria Coverage (Auto-generated)
### Spec Acceptance Criteria
- AC-001: [description]
- AC-002: [description]
...
### Task-to-AC Mapping
| Task ID | Satisfies AC | Estimated Compliance Contribution |
| ------- | -------------- | --------------------------------- |
| ISS-001 | AC-001, AC-003 | 15% |
| ISS-002 | AC-002 | 10% |
...
### Coverage Summary
- Total AC: 15
- AC covered by tasks: 14 (93%)
- AC with no implementing tasks: AC-012 ⚠️
- Estimated post-execution compliance: 93%
### Risk Areas
- [List any AC with no tasks or partial coverage]
---
Each issue MUST contain:
NOT in issues:
Read the specification file completely
Review existing codebase to understand:
Think deeply about best implementation approach
Consider architecture, design patterns, maintainability
Extract acceptance criteria from specification
Use LLM to identify all acceptance criteria:
Store as structured list for task mapping in Phase 2.
Note: If spec has no explicit acceptance criteria, note this for later phases.
Think deeply about task ordering:
Review and refine task breakdown
Ensure tasks are right-sized and ordered correctly
Map tasks to acceptance criteria
For each task, determine which acceptance criteria it satisfies:
This mapping will be used to:
satisfiesAcceptanceCriteria metadata to each MCP issueOptionally draft plan file for architecture overview (if needed)
MCP issues contain ALL implementation details. For each task, call issues_create with complete information:
{
title: "Task N: [Short action-oriented title]",
description: `## Description
[What this task implements - refer to specification]
## Context
Reference: [specification filename]
[Relevant architectural context and design decisions]
## Files
- Create: \`path/to/new/file.ts\`
- Modify: \`path/to/existing.ts:45-67\`
- Test: \`path/to/test.ts\`
## Implementation
**Step 1: Write the failing test**
\`\`\`typescript
// Complete test code
describe('feature', () => {
it('should behave correctly', () => {
// Exact test implementation
});
});
\`\`\`
**Step 2: Run test to verify it fails**
Run: \`npm test -- path/to/test.ts\`
Expected: FAIL with "[expected error message]"
**Step 3: Write minimal implementation**
\`\`\`typescript
// Complete implementation code
export function feature() {
// Exact minimal implementation
}
\`\`\`
**Step 4: Run test to verify it passes**
Run: \`npm test -- path/to/test.ts\`
Expected: PASS
**Step 5: Commit**
\`\`\`bash
git add path/to/test.ts path/to/file.ts
git commit -m "feat: add specific feature"
\`\`\`
## Acceptance Criteria
- [ ] Test written and failing (RED)
- [ ] Implementation passes test (GREEN)
- [ ] Code refactored if needed (REFACTOR)
- [ ] All tests passing
- [ ] Committed with clear message
## Dependencies
- Requires completion of: Task [N-1]
`,
type: "issue",
status: "open",
priority: "medium", // or high/low based on criticality
labels: ["plan-step", "implementation"],
project: "[specification filename]",
wranglerContext: {
agentId: "plan-executor",
parentTaskId: "", // if breaking down larger issue
estimatedEffort: "[time estimate if known]",
satisfiesAcceptanceCriteria: ["AC-001", "AC-003"] // Which AC this task implements
}
}
Important:
issues_update if you need to refine an issue after creation (don't create duplicates)issues_list filtered by project: [specification filename] to verify all issues createdissues_updateAfter creating issues, offer execution choice:
"Plan complete:
.wrangler/plans/YYYY-MM-DD-PLAN_<spec>.md (includes AC coverage analysis)Execution options:
Ready to implementing-issue?
Use /wrangler:implementing-issue with one of these scopes:
/wrangler:implementing-issue (auto-infers from plan file in context)/wrangler:implementing-issue issues 1-N (specific issue range)/wrangler:implementing-issue plan-filename.md (explicit plan file)The implementing-issue skill will:
If you discover during planning that a task needs refinement:
// Instead of creating new issue
issues_update({
id: "[issueId]",
priority: "high", // change priority
description: "[updated description]", // add more detail
labels: ["plan-step", "implementation", "complex"], // add label
});
issues_list)When working from a specification created with writing-specifications skill: