planning
Plan complex or creative work as a directed acyclic graph (DAG / mind-map) before executing, keeping the human as the decider at every gate. Use when a task…
от realness-online★ 20 звёзд на GitHub
Установить planning в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Planning
If a plan is named, load it before asking questions.
Do not ask what the project can answer; read it first. Ask at most three questions at a time, each with a recommended answer and a one-line reason.
Plan work as a directed acyclic graph before doing it. The agent proposes, you approve, then execution runs. This skill never runs a crew solo.
Roles
Five fixed names, used across this skill, AGENTS.md, and plan files:
- Explorer - figure out what the task really is. Skip once the ask is clear.
- Planner - shape branchy work into a DAG and stop at Gate 1. Trivial or linear work passes straight through.
- Worker - run nodes in topological order.
- Critic - verify each node, cheapest deterministic check first.
- Promoter - decide if verified work is worth showing off; most is not.
No aliases like "research phase" or "promote step."
When to use
Work that branches, rejoins, or has dependencies between pieces. Skip trivial or linear tasks - planning has a cost.
Core rule
Nodes are units of work, edges are dependencies. Build the graph, check in at each gate, and never self-run the whole DAG.
Process
1. Planner - build the DAG
For code work, read soundness before proposing the solution architecture.
Use its rules for module boundaries, data flow, dependencies, platform choices,
and verification. This skill owns work order and gates, not coding standards.
- One node per unit of work: id, one-line goal, effort (cheap/medium/expensive), done when.
- Done when: one check a reader can run or read, and who confirms it - "Scott confirms" or "a spec confirms". "Is it done?" gets answered from it.
- A row names every id it mentions: "the tutor check (q1) passes".
- Node ids lead the label (
a1,b3), are unique in the file, and are never dropped - no range shorthand. - Edges only where one node depends on another. No cycles - a cycle means the plan is muddled.
- Split anything that would become a paragraph to describe.
- One plan, one file, one DAG, whatever its size. Never split a plan.
2. Planner - render the DAG
Use Mermaid, so it renders in Obsidian, GitHub, and editors:
```mermaid
flowchart TD
a["a research angle"] --> b["b pick sources"]
b --> d["d assemble"]
c["c draft section 1"] --> d
d --> G{{"◆ GATE 1<br/>shape approved"}}
classDef gate fill:#7e531c,stroke:#dfad6d,color:#e1be89;
classDef done fill:none,stroke:#525252,stroke-dasharray:3 3,color:#525252;
classDef active fill:#356e6e,stroke:#74b9b9,color:#ecebe4;
classDef blocked fill:#933237,stroke:#ed8b8b,color:#ecebe4;
class G gate;
class a done;
class b active;
```
Node ids lead the label (a1, b3) so the table can refer to them. Gates use
the {{...}} hexagon and the gate classDef. Keep labels to a few words and put
effort in the table, not the graph. Node ids take no hyphens: a hyphen in an id
plus a hyphen in its quoted label makes the chat renderer drop the whole graph.
Name the node, then its id, everywhere you refer to it - in the graph, the
table, Decisions, Notes, and chat: "the code stamp (c1)". An id alone (c1,
x2) says nothing to the person; it is a pointer into the file, and the reader
should not have to look it up.
Inside a mermaid fence, ASCII only: - for dashes, " for quotes, ... for an
ellipsis, --> or -> for an arrow. Prose keeps its wider characters.
Before showing a DAG in chat, run .pi/bin/plans/mermaid-fit.js <file>. Pi's feed shows
the raw fence when a diagram is wider than the pane. Show a short-label copy in
chat until it passes; the plan file keeps its labels.
The classDef lines are fixed: these four, plus focus, next, and place for graphics. .pi/bin/lib/palette.js derives them from the Realness palette. Do not invent fills.
Status is color plus a text symbol, so it reads in any renderer and in plain
text. Four symbols, all plain text: ✓ U+2713, ◐ U+25D0, ✕ U+2715, ◆
U+25C6. They take the text color and dim with finished work.
| Status | Symbol | classDef |
|---|---|---|
| done | ✓ | done (dimmed, dashed) |
| in progress | ◐ | active (teal) |
| blocked | ✕ | blocked (red) |
| not started | none | default |
| gate | ◆ | gate (amber) |
Plain characters only. No color emoji: the plan checker rejects them.
Every plan that marks state carries a legend line, the last line of the plan,
starting **Legend:**. It never lists pruned nodes; git holds them.
**Legend:** ◐ active (teal), ✕ blocked (red), ◆ gate.
**Legend:** ◐ active (teal), ✕ blocked (red), ◆ gate. Done (dimmed): a1, a2.
The default is to prune. A finished node comes out of the graph and its row leaves the table. The graph stays a picture of what is left.
Keep a finished node in place when its edges still show the shape of the work that remains, a
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл planning?
Plan complex or creative work as a directed acyclic graph (DAG / mind-map) before executing, keeping the human as the decider at every gate. Use when a task branches, explodes like a mind map, or is a creative project - anything with parallel or dependent pieces a linear checklist would flatten. Produces an ordered, reviewable plan, checks in at each gate, then executes. Built from the Building an Advanced Agentic Harness article's Planner role, inverted so the harness plans and the human decides.
Как установить скилл planning?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл planning запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
AnthropicKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
automate-this
GitHubAnalyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
from-the-other-side-vega
GitHubPatterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
plantuml-ascii
GitHubGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…