plan
Skill35 starsChanged 2 months agoApache-2.0View on GitHub
Structured planning for multi-step tasks. Use when starting features requiring 3+ steps, migrating or refactoring large codebases, or when task complexity clearly exceeds a single change.
179 other projects use a version of this.
Adopted by
Most recently taken up by
- Phongdnh-uit/swe-skillstheir own version, first seen Oct 5, 2026
- timmo001/skillstheir own version, first seen Oct 5, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- witnesstodark/mr-mak-workspacetheir own version, first seen Oct 2, 2026
Used with
Projects with it also use heartmula, minecraft-modpack-server and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
braxtonROSE4Skillheartmula
Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.
Also in 8 projects that use this
braxtonROSE4Skillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 4 projects that use this
kevinnftSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 6 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 7 projects that use this
kevinnftSkilldebugging-hermes-tui-commands
Debug Hermes TUI slash commands: Python, gateway, Ink UI.
Also in 3 projects that use this
sahinSkillexecute
Also in 18 projects that use this
- +5 more from braxtonROSE4
- +1 more from kevinnft
Other versions179 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 179
- crbnos/carbon★ 2.7ksame name
- suboss87/FDEOps★ 950same name
- kdlbs/kandev★ 899same name
- codewithmukesh/dotnet-claude-kit★ 750same name
- boshu2/agentops★ 447same name
- owainlewis/blueprint★ 410same name
- witnesstodark/mr-mak-workspace★ 300same name
- ffroliva/gflow-cli★ 256same name
- graniet/kheish★ 221same name
- Joonghyun-Lee-Frieren/oh-my-antigravity★ 212same name
169 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 158 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Before ANY file-level analysis, evaluate whether git operations solve the task more cleanly:
- Distinctive: line 54
Rule: Only fall back to file-by-file surgery when git operations cannot cleanly isolate the scope.
- Distinctive: line 58
Ask these questions BEFORE planning:
- Distinctive: line 69
WAIT for answers: Do not assume.
- Distinctive: line 161
When user says "execute" or confirms the plan:
- Distinctive: line 168
Use consistent naming: "TASK-001: [description]"
“Common” is measured: kept by at least 6 in 10 of the 158 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/craftsman:plan - Structured Planning & Execution
Outcome Contract
- Outcome: an executable plan of atomic tasks with dependencies and verifiable done criteria.
- Done when: each task is under five minutes, independently committable, and states how it is verified; risks are documented with mitigations.
- Evidence: the task list with dependencies, and the git-first assessment that ruled out a simpler git operation.
You are a Senior Architect. You PLAN before you CODE. You EXECUTE with checkpoints.
Philosophy
"Weeks of coding can save hours of planning" - said no senior ever.
Modes
| Command | Description |
/craftsman:plan | Create a structured plan (default) |
/craftsman:plan execute | Execute plan with checkpoints |
/craftsman:plan agents | Execute with parallel subagents |
Mode 1: Create Plan
Phase 0: Git-First Assessment (MANDATORY)
Before ANY file-level analysis, evaluate whether git operations solve the task more cleanly:
## Git-First Assessment
**Task type:** [add | remove | modify | migrate]
If **remove/revert/undo**:
1. Run `git log --oneline -20` to identify relevant commits
2. Are the changes isolated in identifiable, consecutive commits?
3. If YES → propose `git revert` as Option A (safer, traceable, reversible)
4. If NO (interleaved with unrelated changes) → proceed to manual planning
If **modify/migrate**:
1. Can `git cherry-pick` or branch strategy simplify the approach?
2. Would a feature branch + squash be cleaner than in-place edits?Rule: Only fall back to file-by-file surgery when git operations cannot cleanly isolate the scope. A git revert of 5 commits beats a 8-task plan touching 11 files.
Phase 1: Clarify (MANDATORY)
Ask these questions BEFORE planning:
## Clarification Needed
1. **Problem:** What exactly are we solving?
2. **Use cases:** What are the main scenarios?
3. **Constraints:** Performance? Security? Compatibility?
4. **Out of scope:** What should we explicitly NOT do?WAIT for answers. Do not assume.
Phase 2: High-Level Design
## Architecture
### Component Diagram┌─────────────┐ ┌─────────────┐ │ Component A │────▶│ Component B │ └─────────────┘ └─────────────┘ │ ▼ ┌─────────────┐ │ Component C │ └─────────────┘
### Key Interfaces
```php
interface XRepositoryInterface {
public function save(X $entity): void;
public function findById(XId $id): ?X;
}
### Phase 3: Task Breakdown
**Rules:**
- Each task = **2-5 minutes** execution
- Each task = **atomic** (can be committed alone)
- Each task = **clear "done" criterion**
- Order respects dependencies
**Task Format:**
```markdown
## Tasks
### Phase 1: Domain Layer
- [ ] **TASK-001:** Create `UserId` Value Object
- Files: `src/Domain/ValueObject/UserId.php`
- Done when: Tests pass, PHPStan clean
- [ ] **TASK-002:** Create `User` Entity
- Files: `src/Domain/Entity/User.php`
- Depends: TASK-001
- Done when: Tests pass, uses UserId VO
### Phase 2: Application Layer
- [ ] **TASK-003:** Create `CreateUserUseCase`
- Files: `src/Application/UseCase/CreateUser/`
- Depends: TASK-002
- Done when: Unit tests pass
### Phase 3: Infrastructure
- [ ] **TASK-004:** Implement `DoctrineUserRepository`
- Depends: TASK-002
- Done when: Integration tests passPhase 4: Risk Identification
## Risks
| Risk | Probability | Impact | Mitigation |
|------|-------------|--------|------------|
| Database migration breaks prod | Low | Critical | Test on staging first |
| Performance regression | Medium | High | Add benchmarks |Phase 5: Validation
## Plan Checklist
- [ ] All tasks are < 5 min
- [ ] Dependencies clearly identified
- [ ] "Done" criteria are verifiable
- [ ] Tests included in plan
- [ ] Risks documented
**Ready to execute?** [Wait for confirmation]Mode 2: Execute Plan
When user says "execute" or confirms the plan:
Execution Process
- Create tasks using TaskCreate for each plan item:
- Set status to "pending" initially
- Include dependencies in the task description
- Use consistent naming: "TASK-001: [description]"
- Update tasks using TaskUpdate as you progress:
- Set to "in_progress" when starting
- Set to "completed" when done with evidence
- Set to "blocked" if encountering issues
- Check progress using TaskList between batches
## Executing Batch 1
### TASK-001: Create UserId Value Object
**Status:** In Progress
[Execute task]
**Status:** ✅ Complete
- Files created: `src/Domain/ValueObject/UserId.php`
- Tests: 3/3 passing
---
### TASK-002: Create User Entity
**Status:** In Progress
[Execute task]
**Status:** ✅ Complete
---
## Batch 1 Checkpoint
| Task | Status | Notes |
|------|--------|-------|
| TASK-001 | ✅ | - |
| TASK-002 | ✅ | - |
| TASK-003 | ⚠️ | Minor issue, see below |
**Issues found:**
- TASK-003: [Description]
**Options:**
1. Fix and continue
2. Skip for now
3. Stop and reassess
**Your decision?**Mode 3: Execute with Agents
For independent tasks, use parallel subagents:
## Parallel Execution
Tasks identified as parallelizable:
- TASK-004: Repository (no dependencies after TASK-002)
- TASK-005: API Controller (no dependencies after TASK-003)
**Dispatching 2 agents in parallel...**Phase 4: Agent Dispatch
Use the Agent tool to dispatch real subagents:
For each parallelizable task group, use the Agent tool with:
description: Task summaryprompt: Full task specification with scope, constraints, and done criteriaisolation: "worktree"for file-modifying tasks- Launch ALL independent agents in a SINGLE message for true parallel execution
Output Format
# Plan: [Feature Name]
## 1. Context
[Problem summary in 2-3 sentences]
## 2. Scope
### In Scope
- Feature A
- Feature B
### Out of Scope
- Feature C (future iteration)
## 3. Architecture
[Diagram and key interfaces]
## 4. Tasks
[Numbered, with dependencies and done criteria]
## 5. Risks
[Table with mitigations]
## 6. Estimate
- Tasks: X
- Complexity: Low/Medium/High
## 7. Ready?
- [ ] Plan reviewed and approvedBias Protection
Acceleration: "Skip planning, just start" → You'll rework 3x. Plan takes 10 min, saves hours.
Scope creep: "Let's also add..." → Is it in the original scope? Add to "Future" section, not current plan.
Dispersion: "What about this other thing..." → One plan at a time. Note it, return to current plan.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

