nyldn/claude-octopus/skill-writing-plans
Claude Code and agent skill by nyldn/claude-octopus
- community
Checking that the SKILL.md file is still in the repository.
Create zero-context implementation plans with bite-sized tasks — use for multi-step feature planning
Install
npx vskill@latest install nyldn/claude-octopus/skill-writing-plansSKILL.md
The same SKILL.md was published earlier as nyldn/claude-octopus/skill-writing-plans.
Writing Plans
Load skills/blocks/engineering-method-selection.md from the installed plugin and apply only the methods relevant to this task. Preserve this entry point's execution contract and output format. Read referenced skills as instructions; do not invoke the current command recursively or add provider calls from a seat.
MANDATORY COMPLIANCE — DO NOT SKIP
When this skill is invoked, you MUST produce a full implementation plan following the structure below. You are PROHIBITED from:
- Skipping the plan and jumping straight to implementation
- Producing a vague outline instead of the zero-context plan format
- Deciding the task is "simple enough" to not need a plan
- Omitting file paths, complete code, test instructions, or verification steps
The user asked for a plan, not an implementation. Write the plan first.
Your first output line MUST be: 🐙 **CLAUDE OCTOPUS ACTIVATED** - Implementation Planning
Overview
Write comprehensive implementation plans assuming the engineer has zero context for the codebase and questionable taste.
Document everything: which files to touch, complete code, how to test, how to verify.
Principles: DRY. YAGNI. TDD. Frequent commits.
Decisions before tasks
Build a dependency graph for unresolved decisions before writing implementation tasks. A decision record contains its question, evidence required, dependencies, owner, resolution, and the implementation it unblocks. Use the repository's configured tracker. Beads is not an end-user requirement.
Decision states are open, claimed, resolved, superseded, and blocked, mapped to native tracker states or labels. Resolve only from evidence or a recorded human decision. If new evidence invalidates a decision, reopen its dependent work and explain why. A cycle means the work is not ready; recut the decisions rather than marking tasks ready.
Claim through the tracker's atomic operation and read ownership back before writing. If atomic claiming is unavailable, appoint one integrator. Never overwrite another claim. When the tracker fails, save an explicitly unfiled proposal in existing plan storage, stop tracker writes, and never fabricate IDs or migrate a database.
Plan Document Structure
Header (Required)
Task Granularity
Each task is ONE action (2-5 minutes):
| Good (Single Action) | Bad (Multiple Actions) | |
|---|---|---|
| "Write the failing test" | "Write tests and implement" | |
| "Run test to verify it fails" | "Make it work" | |
| "Implement minimal code to pass" | "Add the feature" | |
| "Commit with message" | "Finish the feature" |
Task Template
// tests/exact/path/to/test.spec.ts describe('ComponentName', () => { it('should do specific thing', () => { const result = functionName(input); expect(result).toBe(expected); }); });
npm test tests/exact/path/to/test.spec.ts
FAIL: expected 'expected' but got undefined
// exact/path/to/new-file.ts export function functionName(input: InputType): OutputType { // Minimal implementation return expected; }
npm test tests/exact/path/to/test.spec.ts
PASS: 1/1 tests passed
git add tests/exact/path/to/test.spec.ts exact/path/to/new-file.ts git commit -m "feat(component): add specific functionality"
Example: Complete Task
// tests/validators/email.spec.ts import { validateEmail } from '../src/validators/email';
describe('validateEmail', () => { it('returns error for empty email', () => { const result = validateEmail(''); expect(result).toEqual({ valid: false, error: 'Email required' }); });
it('returns error for invalid format', () => { const result = validateEmail('not-an-email'); expect(result).toEqual({ valid: false, error: 'Invalid email format' }); });
it('returns valid for correct email', () => { const result = validateEmail('user@example.com'); expect(result).toEqual({ valid: true }); }); });
npm test tests/validators/email.spec.ts
// src/validators/email.ts interface ValidationResult { valid: boolean; error?: string; }
export function validateEmail(email: string): ValidationResult { if (!email || !email.trim()) { return { valid: false, error: 'Email required' }; }
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; if (!emailRegex.test(email)) { return { valid: false, error: 'Invalid email format' }; }
return { valid: true }; }
npm test tests/validators/email.spec.ts
git add src/validators/email.ts tests/validators/email.spec.ts git commit -m "feat(validators): add email validation with tests"
Integration with Claude Octopus
Using Octopus for Plan Execution
After creating a plan, offer execution options:
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/orchestrate.sh" tangle "Execute implementation plan for [feature]"
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/orchestrate.sh" embrace "Implement [feature] per plan"
Plan Storage (Claude Code v2.1.10)
Claude Octopus uses session-aware plan storage. Plans are automatically saved to:
This integrates with Claude Code's plansDirectory setting. To customize:
For project-local plans, save to docs/plans/:
Checklist for Good Plans
- [ ] Each task is 2-5 minutes (single action)
- [ ] Exact file paths (not "in the utils folder")
- [ ] Complete code (not "add validation logic")
- [ ] Exact commands with expected output
- [ ] TDD: test before implementation
- [ ] Commit after each task
Common Mistakes
| Mistake | Fix | |
|---|---|---|
| "Add the validation" | Show exact code | |
| "Update the tests" | Show exact test code | |
| "In the config file" | config/app.config.ts line 23 | |
| "Run the tests" | npm test path/to/specific.spec.ts | |
| Large tasks (30+ min) | Break into 2-5 min steps | |
| No verification | Add "Run X, expect Y" |
When to Create Plans
| Scenario | Use Plan? | |
|---|---|---|
| Multi-step feature (3+ tasks) | Yes | |
| Simple bug fix (1 task) | No, just do it | |
| Uncertain scope | Yes (clarifies thinking) | |
| Delegation to subagent | Yes (zero-context execution) | |
| Complex refactoring | Yes | |
| Config change | No |
Related Skills
- test-driven-development - Each task follows TDD cycle
- verification-before-completion - Verify each step
- finishing-branch - After all tasks complete
The Bottom Line
Exact paths. Complete code. Verification steps. No assumptions.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/skill-writing-plans/SKILL.md
Popularity
- Repository stars
- 4,099
- Repository forks
- 385
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nyldn/claude-octopus/skill-writing-plans)