Agent skill
planning
Create implementation plans with phase management.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/planning-yuvasee-samocode
SKILL.md
Planning
Creates detailed implementation plans with phases, stored within the session folder.
Requirements
- Active session must exist (session path in working memory)
- If no active session: STOP and ask user for session path
Execution
Session path: [SESSION_PATH from working memory] Context: $ARGUMENTS
Steps
-
Gather context:
- Read recent dive/task documents from session
- Review project documentation if available
- Understand current codebase state
-
Create plan file:
- Location:
[SESSION_PATH]/[TIMESTAMP_FILE]-plan-[plan-slug].md
Phase design principles:
- Each phase is executed as a single samocode iteration — keep phases bite-sized and independently completable
- 1–3 focused steps per phase (not counting lint/typecheck)
- Split by logical boundary: one file/module/concern per phase when possible
- Prefer more small phases over fewer large ones
Structure:
markdown# Plan: [Title] Created: [TIMESTAMP_LOG] ## Task Definition [Concise summary] ## Requirements - [ ] [Requirement 1] - [ ] [Requirement 2] ## Context [Key files, current state, constraints] ## Implementation Phases ### Phase 1: [Name] - [ ] [Step] - [ ] [Step] - [ ] Run pyright/ruff or tsc - fix errors ### Phase 2: [Name] - [ ] [Step] - [ ] [Step] - [ ] Run pyright/ruff or tsc - fix errors ### Phase 3: Testing - [ ] [Test case] - [ ] Final checks ## Notes [Important context from task definition] - Location:
-
Update session:
- Edit
[SESSION_PATH]/_overview.md:- Add to Flow Log:
- [TIMESTAMP_ITERATION] Plan created -> [filename].md - Add to Plans:
- [filename].md - [brief description] - Add to Files:
- [filename].md - Plan: [brief description]
- Add to Flow Log:
- Commit (if git repo):
cd [SESSION_DIR] && git add . && git commit -m "Plan: [title]"
- Edit
-
Report back: Plan summary and file location
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?