planning
Guides collaborative brainstorming, design, and planning — from idea to implementation plan with review gates
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guides collaborative brainstorming, design, and planning — from idea to implementation plan with review gates
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | planning |
| description | Guides collaborative brainstorming, design, and planning — from idea to implementation plan with review gates |
Guide the user through a complete planning flow: brainstorm → design → spec → review → plan. Loaded by /supi:plan.
You MUST NOT write code or scaffold until the user approves the design.
| Aspect | Detail |
|---|---|
| Scope | Single feature or decomposed sub-project |
| Input | User's initial request + repo state (files, docs, commits) |
| Output | Design doc at .omp/supipowers/specs/YYYY-MM-DD-<topic>-design.md, implementation plan |
| Phases | Explore → Clarify → Brainstorm → Design & Save → Review Loop → User Gate → Plan |
| Task size | 2–5 minutes each, checkbox syntax |
| Specs | Local only — never commit to git |
Follow phases in order. Do not skip or combine them.
Before asking questions, understand the current state:
Determine the planning mode: problem exploration, solution ideation, assumption testing, or strategy exploration.
Example — good vs. bad clarifying question:
BAD (open-ended, unbounded):
"What kind of authentication do you want?"
GOOD (multiple choice, scoped):
"For auth, which fits best?
a) Session-based (server-rendered, simple)
b) JWT (stateless, API-first)
c) OAuth provider only (GitHub/Google, no local accounts)
d) Something else — describe briefly"
Example — brainstorm output format:
### Approaches
**A) Event-sourced (recommended)**
- How: Append-only event log, projections for read models
- Pro: Full audit trail, temporal queries
- Con: Higher upfront complexity, eventual consistency
- Biggest unknown: Event schema evolution strategy
- Cheapest validation: Spike a single aggregate with 3 events
**B) Traditional CRUD + audit table
- How: Mutable rows, trigger-based audit log
- Pro: Familiar, immediate consistency
- Con: Audit coverage depends on discipline, no temporal queries
**C) Hybrid — CRUD with event log for critical paths
- How: Standard CRUD; event-source only billing and permissions
- Pro: Complexity only where value is highest
- Con: Two persistence patterns to maintain
Once aligned on approach:
Once approved, save to .omp/supipowers/specs/YYYY-MM-DD-<topic>-design.md. Keep local — do not commit to git.
"Spec written to
<path>. Please review it and let me know if you want changes before we write the implementation plan."
Wait for approval. Only proceed once approved.
Break into tasks of 2–5 minutes each. Each task must have:
small | medium | largeSteps use checkbox syntax (- [ ]). Describe what each step changes in prose. Include function signatures or brief pseudocode only when they clarify a non-obvious interface or algorithm. Do NOT include full function bodies, full test bodies, or file-content dumps — the plan describes the work, the execution session writes the code.
Plan template:
---
name: <feature-name>
created: <YYYY-MM-DD>
tags: [<relevant>, <tags>]
---
# <Feature Name>
## Context
<What this plan accomplishes and why>
## Tasks
### 1. <Task name>
- **files**: src/path/to/file.ts, src/path/to/file.test.ts
- **criteria**: <what success looks like>
- **complexity**: small
- [ ] Step 1: Write the failing test
- [ ] Step 2: Run test to verify it fails
- [ ] Step 3: Write minimal implementation
- [ ] Step 4: Run test to verify it passes
| MUST DO | MUST NOT DO |
|---|---|
| One question at a time in Phase 2 | Write code before design approval |
| Present 2–3 approaches with trade-offs | Skip brainstorming for "obvious" solutions |
| Wait for user approval at each gate | Combine or skip phases |
| Include test files in task file lists | Include git commit/push steps for specs |
| Name research gaps instead of guessing | Present every explored branch (show finalists only) |
| Describe steps in prose with optional signatures | Include full function bodies, test bodies, or file contents in plans |
.omp/supipowers/specs/ (not committed)Handle cross-platform compatibility including file paths, environment detection, platform-specific dependencies, and testing across Windows, macOS, and Linux. Use when dealing with platform-specific code or OS compatibility.
Use when creating, modifying, debugging, or scaffolding OMP extensions, slash commands, custom tools, event hooks, TUI primitives, ExtensionAPI integrations, .omp/extensions, .omp/commands, .omp/tools, package.json omp.extensions, or OMP lifecycle handlers.
Design Director state machine for `/supi:ui-design`. Drives 9 model-owned phases from scope selection through user review, producing a validated HTML mockup artifact.
Guides the harness-engineering pipeline — turn a codebase into one that resists agentic slop with agent-neutral docs, mechanically enforced architecture, and three runtime guardrails
Gray-area extraction stage — surfaces decisions the user must make before the plan can be authored, without expanding scope
Structured extraction of the user's seed prompt into a typed intake artifact — first stage of the UltraPlan authoring pipeline