plan
Skill35 starsChanged 53 days 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.
184 other projects use a version of this.
Adopted by
Most recently taken up by
- phuthuycoding/kanban-flowtheir own version, first seen Nov 8, 2026
- PeanutGT/NutsSkillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- joeldevz/skynex-pitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use heartmula, webhook-subscriptions 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.
math-incSkillheartmula
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 9 projects that use this
Tommy-ywSkillwebhook-subscriptions
Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.
Also in 5 projects that use this
math-incSkillminecraft-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 5 projects that use this
john-data-chenSkilltouchdesigner-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
gaebalaiSkillcodex-system
PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".
Also in 3 projects that use this
ibahgatSkillcontext-optimize
Improve context efficiency and cache stability for long or complex sessions.
Also in 3 projects that use this
- +3 more from math-inc
Other versions184 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 184
- Yeachan-Heo/oh-my-codex★ 34ksame name
- crbnos/carbon★ 2.8ksame name
- graphistry/pygraphistry★ 2.6ksame name
- zereight/gitlab-mcp★ 2.1ksame name
- math-inc/OpenGauss★ 1.3ksame name
- kdlbs/kandev★ 1.1ksame name
- suboss87/FDEOps★ 940same name
- codewithmukesh/dotnet-claude-kit★ 808same name
- witnesstodark/mr-mak-workspace★ 718same name
- loongclaw-ai/loongclaw★ 640same name
174 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 167 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 167 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
On a model without the Task tools (Claude Code offers them only on older
models; Opus 4.8, Sonnet 5, Fable 5 and newer need
CLAUDE_CODE_ENABLE_TODO_TOOLS=1), keep the same TASK-NNN ledger in your
batch reports instead: every status change is written there, with its
evidence, and nothing is tracked silently.
## 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.

