Arguments. [library|module|data|integration|system] [status|thread <name>|discuss|terminology|handoff].
e.g., /planning:design library, /planning:design module, /planning:design status, /planning:design discuss,
/planning:design handoff
Variables
Arguments: $ARGUMENTS
Purpose
Design answers what before /planning:plan answers how: types, boundaries and package topology the
user has validated through discussion. Exploration maps existing code, research gathers external
facts, this skill turns both into a design. When the problem is still rough and no approach is
chosen, diverge first via /planning:brainstorm (cheapest→most-ambitious candidates, user
reacts), then design the direction that resonated.
Level this skill decides: interfaces and contracts, the types, boundaries and module shapes
other code depends on; behavior is the interview's Brief, and files and symbols are
/planning:plan's.
Depth scales to the work:
- Single-file fix → early-exit: write
design-resolution.mdwithoutcome: early-exit, tierC,
and reason. Then invoke /planning:design-handoff via the Skill tool, which writes PLAN.md's
one-line ## Design record and hands off to /planning:plan
- New module → light-form (1-2 discussion rounds, basic type sketch)
- Large library or system → full-form (multiple sessions, all phases, all artifact types)
The stage always runs; early-exit is a valid outcome. Gate artifact: Tier C and light Tier B
early-exits MUST produce design-resolution.md in the topic's design slice
(<memory_dir>/<topic-slug>/design/, default .work/) so /planning:plan's prerequisite check
can verify the gate without conversation memory.
design-resolution.md (early-exit artifact)
---
outcome: early-exit
tier: C
reason: <one line, e.g. single-file bugfix, docs-only>
---
Tier B (required): the type sketch, inline or as a link to type-inventory.md.
/planning:design-handoff quotes it into PLAN.md's `### Contracts`.
Gates
These hold after a compaction re-attach. Later sections say how to carry them out.
- Collaborative always. Never autonomously decide design. Ask in frontier rounds (Key
behaviors).
- Abstract is never the agent's pick. A variation-point verdict of abstract comes only from the
user: interactively ask, recommending contain; unattended, apply contain and record the question
as a human decision. Full rule: