Agent skill
plan
(ePost) Use when user says "plan", "design this", "architect", "spec out", "how should we build", or "create a roadmap" — produces a phased implementation plan scaled to task complexity
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/plan-klara-copilot-epost-agent-kit
Metadata
Additional technical details for this skill
- keywords
-
plan planning requirements tasks estimation roadmap design spec architecture blueprint
- triggers
-
[ "/plan", "create plan", "implementation plan" ] - platforms
-
[ "all" ] - connections
-
{ "enhances": [] } - argument hint
- [feature or task description]
- agent affinity
-
[ "epost-planner", "epost-project-manager" ]
SKILL.md
Plan — Unified Planning Command
Delegation — REQUIRED
This skill MUST run via the epost-planner agent, not inline.
When /plan or planning intent is detected:
- Use the Agent tool to spawn
epost-planner - Pass the full user request + active context (branch, plan dir, CWD)
- Do NOT execute planning steps inline in the main conversation
Create implementation plans with automatic complexity detection.
Step 0 — Flag Override
If $ARGUMENTS starts with --fast: skip auto-detection, load references/fast-mode.md and execute. Remaining args are the task description.
If $ARGUMENTS starts with --deep: skip auto-detection, load references/deep-mode.md and execute.
If $ARGUMENTS starts with --parallel: skip auto-detection, load references/parallel-mode.md and execute.
If $ARGUMENTS starts with --validate: skip auto-detection, load references/validate-mode.md and execute.
Otherwise: continue to Complexity Auto-Detection.
Aspect Files
| File | Purpose |
|---|---|
references/fast-mode.md |
Quick plan from codebase analysis only, no research |
references/deep-mode.md |
Deep plan with sequential research and comprehensive analysis |
references/parallel-mode.md |
Dependency-aware plan with file ownership matrix for parallel execution |
references/validate-mode.md |
Validate plan with critical questions interview |
references/state-machine-guide.md |
State machine notation, patterns, and validation checklist |
references/planning-flow.dot |
Planning flow diagram |
Plan Output Contract
Every plan is a directory with a plan.md overview and one phase file per phase:
plans/{YYMMDD-HHMM-slug}/
plan.md — overview, phases table with file links, success criteria
phase-{N}-{slug}.md — tasks, files to change, validation per phase
plan.md frontmatter (required fields):
---
title: "Short description"
status: draft | active | completed | archived
created: YYYY-MM-DD
updated: YYYY-MM-DD
effort: Xh
phases: N
platforms: [all | ios | android | web | backend]
breaking: true | false
---
phase file frontmatter (required fields):
---
phase: N
title: "Phase title"
effort: Xh
depends: [] # phase numbers this phase depends on
---
Phases table in plan.md must link to phase files:
| # | Phase | Effort | Status | File |
|---|-------|--------|--------|------|
| 1 | Name | 2h | pending | [phase-1](./phase-1-slug.md) |
Plan Lifecycle
draft → active → completed → archived
| Action | Command |
|---|---|
| Activate | node .claude/scripts/set-active-plan.cjs plans/{slug} |
| Complete | node .claude/scripts/complete-plan.cjs plans/{slug} |
| Archive | node .claude/scripts/archive-plan.cjs plans/{slug} |
| Board | plans/README.md — updated by scripts automatically |
MANDATORY final step — after writing all plan files, run:
node .claude/scripts/set-active-plan.cjs plans/{slug}
This stamps status: active in plan.md and registers the plan in session state so /cook picks it up automatically. Do NOT skip this step.
Complexity Auto-Detection
- Simple (1 module, clear scope, < 5 files) → load
references/fast-mode.md - Moderate (multiple files, some research needed) → load
references/deep-mode.md - Complex (multi-module, cross-platform, needs dependency mapping) → load
references/parallel-mode.md
Platform Detection
Detect platform per skill-discovery protocol. Pass detected platform as context to the selected variant.
Heuristics
- Single sentence request →
:fast - Request mentions "research" or "investigate" →
:deep - Request mentions multiple platforms or modules →
:parallel - Request mentions "dependencies" or "phases" →
:parallel - If unsure → default to
:fast, escalate if needed
Planning Expertise
| Area | Key Activities |
|---|---|
| Requirements | Clarify ambiguity, extract functional + non-functional, identify edge cases |
| Task Breakdown | Decompose, order by dependency, estimate complexity |
| Dependencies | External packages, internal code, blockers, parallel opportunities |
| Risk Assessment | Technical/timeline/resource risks, mitigation strategies |
| Resource Estimation | Time per task, complexity levels, testing overhead |
| Timeline | Critical path, milestones, buffer allocation |
Planning Framework
- Understand — Clarify requirements
- Decompose — Break into smaller tasks
- Sequence — Order by dependency
- Estimate — Time/complexity per task
- Identify — Potential blockers
- Document — Create structured plan
State Machine Modeling
When feature involves stateful behavior (UI flows, protocols, async state, workflows), generate ASCII state diagram BEFORE coding:
- List all states (including error, timeout, edge states)
- Map every transition (trigger + guard conditions)
- Identify terminal states and dead ends
- Mark states where data is mutated
[INITIAL] ──(event)──▸ [STATE_A]
│ │
│ (condition)
│ ▼
│ [STATE_B] ──(error)──▸ [ERROR]
│ │
│ (success)
│ ▼
└──────────────▸ ◉ [DONE]
Use when: auth flows, checkout/payment, form wizards, real-time sync, connection management, retry logic.
Skip for: simple CRUD, stateless utilities, pure transforms.
See references/state-machine-guide.md for notation, patterns, and validation checklist.
Mental Models
| Model | Application |
|---|---|
| Decomposition | Start with user value, work backward. Tree structure, estimate leaves, sum parents. |
| 80/20 | 20% of work → 80% of value. Sequence high-value tasks first. |
| Risk Management | High-risk tasks early, external dependencies first, unknowns before knowns. |
Best Practices
- Be specific about files to create/modify
- Include database migrations if needed
- Note breaking changes
- Consider testing strategy
- Estimate conservatively, track actuals
- Mark file ownership for parallel execution safety (parallel mode)
- Use
knowledge-retrievalbefore planning,knowledge-captureafter
Mode Reference
| Flag | Reference | When |
|---|---|---|
--fast |
references/fast-mode.md |
Quick lightweight plan |
--deep |
references/deep-mode.md |
Thorough multi-phase with research |
--parallel |
references/parallel-mode.md |
Parallelizable phases with ownership matrix |
--validate |
references/validate-mode.md |
Validate existing plan |
$ARGUMENTS {{detected_platform or "none"}}
IMPORTANT: Analyze the skills catalog and activate needed skills.
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?