omk-planning
БесплатноБез исполняемых скриптовНе проверенFull plan lifecycle: deep understanding → write plan with TDD checklist → parallel review → Ralph Loop execution. Trigger when user says 'plan', 'design'…
от KaimingWan★ 106 звёзд на GitHubОб этом скилле
Trigger Examples
- "@plan 重构 hook 系统"
- "I want to add OAuth support, help me plan it"
- "设计一个新的 knowledge 同步方案"
- "@execute 继续执行计划"
- "break this feature into tasks"
Planning — Write, Review, Execute
Overview
One skill for the full plan lifecycle: write → review → execute.
Phase 0: Deep Understanding
Before writing any plan, build deep understanding of the goal. Skip this phase only if the user provides a fully specified design doc.
Step 1: Form Initial Understanding
Start with generate_codebase_overview to get the project's high-level structure, then read relevant code, docs, and recent commits to understand the context. Do NOT ask questions yet — first build your own mental model of:
- What the user wants to achieve
- What exists today (current state)
- What would need to change (gap analysis)
Step 2: Ask Clarifying Questions
Based on your understanding, ask questions one at a time. Each question must:
- Eliminate a whole branch of ambiguity (not trivial details)
- Build on previous answers (incremental deepening)
- Offer multiple-choice options with your recommendation when possible
Dynamic termination: Stop asking when remaining uncertainty won't materially affect the plan. Don't ask for the sake of asking.
Soft cap: Maximum 5 questions. If you still have uncertainty after 5, state your assumptions and proceed.
Step 3: Research (optional)
After questions are answered, judge whether research is needed:
- Codebase research: When the task touches existing code you haven't fully explored (e.g., modifying a hook system — read existing hooks first)
- Web research: When the task involves external tools, APIs, or best practices you're unsure about (e.g., integrating a new library, adopting an unfamiliar pattern)
- Both: When the task combines internal changes with external dependencies (e.g., adding OAuth to an existing auth module)
- Skip: When you have sufficient understanding (e.g., renaming a variable, fixing a typo, simple refactors with clear scope)
Research dimension principle: When research IS needed, cover both theoretical foundations (papers, docs, design rationale) AND engineering practice (real implementations, battle-tested patterns, known pitfalls). One without the other leads to either ivory-tower designs or cargo-culted solutions.
This is your judgment call — not every plan needs research.
Step 4: Supplementary Questions (if any)
After research, absorb what you learned. Only ask the user about findings you cannot resolve from research alone — things requiring user decisions or preferences.
If no supplementary questions needed, proceed directly to Phase 1.
Step 5: Design presentation (optional)
When the task involves creative/architectural work (new features, new components, significant behavior changes), present the design before writing the plan:
- Break the design into sections of 200-300 words
- Ask after each section whether it looks right so far
- Cover: architecture, components, data flow, error handling, testing
- Write the validated design to
docs/designs/YYYY-MM-DD-<topic>-design.md
Skip this step for simple refactors, bug fixes, or tasks with a fully specified design doc.
Step 6: Readiness Check
Before proceeding to Phase 1, verify the task is well-defined across 4 dimensions:
| Dimension | ✅ Criterion | Greenfield | Brownfield |
|---|---|---|---|
| Goal | 能用一句话无歧义地说清楚要做什么 | Required | Required |
| Constraints | 边界、非目标、限制条件已明确 | Required | Required |
| Success Criteria | 至少有 2 个可测试的验收标准 | Required | Required |
| Context | 理解被修改的现有代码/系统 | Skip | Required |
Rules:
- All applicable dimensions must be ✅ to proceed to Phase 1
- If any dimension is ❌, ask ONE question targeting the weakest dimension
- This step adds at most 3 questions (on top of Step 2's questions)
- User says "skip" → state assumptions and continue
Challenge Modes (activate on 2nd+ question in this step):
- Contrarian (2nd question): "如果 [核心假设] 是错的呢?"
- Simplifier (3rd question): "最简版本是什么样的?"
Transition to Phase 1
Goal-Backward Derivation
After the Readiness Check, reverse-engineer from Success Criteria before writing the plan:
For each Success Criterion:
- What must be TRUE for this criterion to pass?
- Which of these truths already exist in the codebase?
- Which must be newly created? → These become Tasks
- What are the dependencies between new truths? → These determine Task order
This ensures the plan covers everything needed for the goal, not just what seems obvious forward-thinking.
Socratic Self-Check
Then validate each major design decision:
- Essence — What is the core problem this decision solves?
- Framework — Does the current codebase already solve this? What known patterns apply?
- Application — Is this feasible on all target platforms? Does benefit > maintenance cost?
Drop any decision that
Установить omk-planning в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл omk-planning?
Full plan lifecycle: deep understanding → write plan with TDD checklist → parallel review → Ralph Loop execution. Trigger when user says 'plan', 'design', 'implement', 'build', 'architect', '@plan', '@execute', or describes a multi-step task that needs structured breakdown. Also trigger for feature requests, system redesigns, or migration projects.
Как установить скилл omk-planning?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл omk-planning запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic