From ohmypowers-plan
Use when the user explicitly asks to create an implementation plan from a spec or approved requirements. Delivers a plan.md document with structured self-review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ohmypowers-plan:planThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Turn an approved spec document into a concrete, reviewed implementation plan. The plan is written for an engineer who has zero context about the codebase.
Turn an approved spec document into a concrete, reviewed implementation plan. The plan is written for an engineer who has zero context about the codebase.
HARD GATE: Do NOT write any implementation code. Your only output is a plan document.
Announce at start: "I'm using the plan skill to create an implementation plan from the spec."
Save plans to: docs/plans/YYYY-MM-DD-<feature-name>-plan.md
(User preferences for plan location override this default)
docs/specs/ for spec files: ls -t docs/specs/*.md 2>/dev/nullCLAUDE.md, README.md (if they exist) for project conventions.git log --oneline -20 to understand recent activity.For each requirement in the spec, identify:
Output: "Here's what I understand: [spec summary]. The codebase currently [relevant state]. I'll now propose an architecture."
Think about three states:
CURRENT STATE → THIS PLAN → 12-MONTH IDEAL
The plan should move the codebase toward the ideal state, not just solve the immediate problem. But don't over-engineer. The plan should be the smallest step that moves in the right direction.
Think ahead to what the implementer will face:
Resolve these ambiguities NOW, in the plan. Don't leave them for the implementer to discover.
Before defining tasks, map out which files will be created or modified and what each one is responsible for.
Break the work into bite-sized tasks. Each task should:
Present the proposed architecture to the user via AskUserQuestion. Get approval before proceeding to write the full plan.
After writing the plan draft, review it from an engineering perspective. This is a checklist you run yourself.
For each issue found, fix it in the plan. Log what you found and fixed.
Review the plan against the spec. This catches drift between what was agreed and what was planned.
For each significant code path in the plan:
| Code Path | Failure Mode | Handled? | Tested? | User Sees |
|-----------|-------------|----------|---------|-----------|
| [path] | [failure] | Yes/No | Yes/No | [message] |
Every non-obvious decision in the plan gets a row:
| Decision | Rationale | Alternatives Considered |
|----------|-----------|------------------------|
| [what] | [why] | [what else] |
For each issue found, fix it in the plan. Log what you found and fixed.
# [Feature Name] Implementation Plan
> **For agentic workers:** Use this document as the source of truth for implementation.
> Steps use checkbox (`- [ ]`) syntax for tracking.
**Spec:** `docs/specs/<spec-filename>.md`
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---
## File Structure
| Action | Path | Responsibility |
|--------|------|---------------|
| Create | `path/to/new.ts` | [what it does] |
| Modify | `path/to/existing.ts` | [what changes] |
| Test | `tests/path/to/test.ts` | [what it tests] |
## Tasks
### Task 1: [Component Name]
**Files:**
- Create: `exact/path/to/file.ts`
- Modify: `exact/path/to/existing.ts:123-145`
- Test: `tests/exact/path/to/test.ts`
- [ ] **Step 1: [action]**
[code or instructions]
- [ ] **Step 2: [action]**
[code or instructions]
- [ ] **Step 3: Verify**
Run: `[exact command]`
Expected: [exact output]
### Task 2: [Component Name]
...
## Failure Modes Registry
[from Phase 4]
## Decision Audit Trail
[from Phase 4]
## Review Notes
[issues found and fixed during self-review]
Every step must contain the actual content an engineer needs. These are plan failures — never write them:
After saving the plan and completing both self-reviews:
"Plan complete and saved to docs/plans/<filename>.md. I reviewed it twice: once for engineering quality (architecture, errors, security, tests, performance) and once for spec alignment (requirements coverage, acceptance criteria mapping, scope). Please review the plan document before starting implementation."
npx claudepluginhub zhan7653/ohmypowers --plugin ohmypowers-power-planGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.