plan-phase
Skill104 starsChanged 8 months agoMITView on GitHub
Generate execution-ready implementation plans from research docs - planning ONLY, no fixing or verifying. North Star is whether a JR developer can execute the plan with zero additional context.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- takleb3rry/claude-global-appbuilding-skillstheir own version, first seen Nov 8, 2026
- buildomator/buildomatortheir own version, first seen Nov 4, 2026
- rosslevinsky/portable-agent-skillstheir own version, first seen Oct 15, 2026
- zajca/pohunektheir own version, first seen Oct 13, 2026
- Pelmenya/slovotheir own version, first seen May 20, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- buildomator/buildomator★ 102same name
- rosslevinsky/portable-agent-skills★ 12same name
- zajca/pohunek★ 8same name
- takleb3rry/claude-global-appbuilding-skills★ 6same name
- Pelmenya/slovo★ 0same name
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 repository7 other files it gives its agents.
- agents-md-mapperSkill
- ast-grep-setupSkill
- differential-session-runnerSkill
- execute-phaseSkill
- harness-mapSkill
- qa-from-executeSkill
- research-phaseSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 184
Always capture and include:
- Distinctive: line 191
If research doc mentions specific commits/branches and they've changed:
- Distinctive: line 197
If planning reveals blockers or prerequisites that need tracking:
- Distinctive: line 198
Check for Gitea/GitHub availability
- Distinctive: line 216
After plan generation, output:
- Distinctive: line 260
Only spawn subagents if:
- Distinctive: line 269
Default: Don't use subagents.
- Very specific: line 273
After writing the plan document to .artifacts/plan/, proceed to execute-phase if the next step is the Execute phase.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Plan Phase
Overview
Generate execution-ready, coding-only implementation plans from research documents. The goal is to produce plans that any JR developer can execute immediately with zero ambiguity.
North Star Rule
If a JR developer picked this up, could they start coding immediately?
If the answer is "no" or "they'd need to ask clarifying questions," the plan is incomplete.
When to Use
- User asks to "create a plan from research"
- User references a research doc in
.artifacts/research/ - User wants "implementation steps" from findings
- User asks to "break down into tasks" a researched topic
What This Skill Does NOT Do
| ❌ DON'T | ✅ DO INSTEAD |
| Fix code issues | Document them as tasks to fix |
| Verify implementations | Plan verification steps |
| Run tests | Plan what tests to write |
| Deploy anything | Plan deployment as a task |
| Make code changes | Document exactly what changes to make |
Planning Workflow
1. Read Research Doc
Read from: .artifacts/research/<topic>.md
Extract: scope, constraints, target files, unresolved questions, proposed solutions2. Verify Git Freshness
# Capture current state
git rev-parse HEAD # Commit SHA
git status --short # Working tree status3. Generate Plan File
Save as: .artifacts/plan/YYYY-MM-DD_HH-MM-SS_<topic>.md
4. Plan Structure
---
title: "<topic> implementation plan"
link: "<topic>-plan"
type: implementation_plan
ontological_relations:
- relates_to: [[<research-link>]]
tags: [plan, <topic>, coding]
uuid: "<uuid>"
created_at: "<ISO-8601 timestamp>"
parent_research: ".artifacts/research/<file>.md"
git_commit_at_plan: "<short_sha>"
---
## Goal
- ONE singular coding-focused outcome
- Explicitly state what is OUT of scope (ops, deploy, excessive testing)
## Scope & Assumptions
- IN scope: (technical items only)
- OUT of scope: (what we're NOT doing)
- Assumptions: (frameworks, environments, libraries)
## Deliverables
- Source code modules, functions, or APIs
- Documentation limited to developer-level notes (not user docs)
## Readiness
- Preconditions: repos, libs, data schemas, sample inputs
- What must exist before starting
## Milestones
- M1: Skeleton & architecture setup
- M2: Core logic & data flow
- M3: Feature completion & refinement
- M4: Basic test(s) & integration hooks
## Work Breakdown (Tasks)
For EACH task, specify:
- **Task ID**: T001, T002, etc.
- **Summary**: What to do (present tense, actionable)
- **Owner**: who does it
- **Estimate**: time/complexity
- **Dependencies**: other task IDs
- **Target milestone**: M1-M4
- **Acceptance test**: Exactly ONE test that proves it works
- **Files/modules touched**: List exact paths
## Risks & Mitigations
Keep technical:
- Library stability issues
- API version drift
- Schema mismatch risks
- Breaking changes in dependencies
## Test Strategy
At most ONE new test per task, only for validating main coding work.
Focus on proving correctness, not coverage.
## References
- Research doc sections
- Key code references (file:line format)
## Final Gate
- **Output summary**: plan path, milestone count, tasks ready
- **Next step**: proceed to execute-phase with the generated plan pathTask Writing Guidelines
✅ Good Task
T003: Add user authentication middleware
- Create src/middleware/auth.ts with verifyToken() function
- Import in src/app.ts and apply to /api/* routes
- Acceptance: curl /api/users returns 401 without header, 200 with valid token
- Files: src/middleware/auth.ts, src/app.ts
- Milestone: M2❌ Bad Task
T003: Fix auth
- Handle the auth stuff properly
- Make sure it worksRules for Tasks
- Present tense, actionable: "Add function X" not "Function X should be added"
- File paths explicit: No "find the right place to put it"
- One acceptance test per task: Single proof of correctness
- No hand-waving: "Implement caching" → "Add Redis caching to src/cache.ts with get/set methods"
- Depend on tasks, not people: "Depends on T001" not "Wait for backend team"
Git Freshness Check
Always capture and include:
COMMIT_SHA=$(git rev-parse --short HEAD)
STATUS=$(git status --short)If research doc mentions specific commits/branches and they've changed:
- Mark affected tasks for re-verification
- Note the discrepancy in plan frontmatter
Issue Opening (When Available)
If planning reveals blockers or prerequisites that need tracking:
- Check for Gitea/GitHub availability
- Open issues ONLY for:
- External dependencies
- Prerequisites that aren't in scope
- Decisions needed before execution
- Link issue IDs to relevant tasks
Validation Questions
Before finalizing, ask:
- Ambiguity check: Could a JR developer understand every task without questions?
- Completeness: Are all prerequisites and dependencies listed?
- Executability: Does each task specify exact files and acceptance criteria?
- Scope creep: Is ops/deploy work leaking into the plan?
Output Format
After plan generation, output:
✓ Plan written to: .artifacts/plan/YYYY-MM-DD_HH-MM-SS_<topic>.md
✓ Milestones: 4
✓ Tasks: 12
✓ Git state: <short_sha>
Next step: Execute phase using the generated plan pathExamples
Example Plan Entry
## Task T004: Add rate limiting to API endpoints
**Summary**: Implement token-bucket rate limiting for public API endpoints
**Files**:
- src/middleware/rateLimit.ts (new)
- src/app.ts (modify)
**Changes**:
1. Create src/middleware/rateLimit.ts with TokenBucket class
- Constructor takes capacity and refillRate
- consume(tokens) method returns true if allowed
2. Add rateLimit instance to src/app.ts
3. Apply to /api/public/* routes only
**Acceptance Test**:
- Send 100 requests in 1 second to /api/public/data
- First 60 succeed (200)
- Next 40 fail (429)
- Headers include X-RateLimit-Remaining
**Dependencies**: T001 (Express app setup)
**Milestone**: M2
**Estimate**: 2 hoursSubagent Usage (Sparingly)
Only spawn subagents if:
- Research doc is large (>500 lines)
- Need to map tasks to existing codebase structure
- Need parallel analysis of multiple subsystems
Typical subagents:
codebase-analyzer: Find where new code fitscontext-synthesis: Extract structured tasks from prose research
Default: Don't use subagents. Trust the research doc.
Handoff
After writing the plan document to .artifacts/plan/, proceed to execute-phase if the next step is the Execute phase.
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.

