Command Palette

Search for a command to run...

Назад к скиллам
скилл № 00433

Design

Resolve design decisions (types, contracts, package topology, module boundaries) in rounds before /planning:plan as design artifacts. Use: 'design this'…

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Design

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.md with outcome: early-exit, tier C, 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: ${CLAUDE_PLUGIN_ROOT}/reference/variation-points.md "Autonomy".
  • Every recommendation carries a Basis: line: verified with the file:line, tool output, or URL it rests on, or judgment (non-consequential only). A consequential one (cross-repo, shared infrastructure, irreversible, or security) is grounded before it is presented; one research cannot settle is withheld, recorded as a deferred thread whose research tag names the evidence that would settle it.

Action Router

Parse $ARGUMENTS for scope and action:

Argument Action
(empty) Auto-detect. Read the PLAN.md Brief + conversation to determine scope and phase. Resume if design artifacts exist. Ask if ambiguous
library Library/API design. Packages, types, contracts, dependency graph
module Module design. Domain model, boundaries, contracts. Suggest a domain-event workshop (e.g. EventStorming) when the environment provides one
data Data model design. Entities, relationships, schema decisions
integration Integration design. Cross-system contracts, sequence flows, error handling
system System design. Components, communication patterns, deployment topology
status Status report. Resolution state per thread and question
thread <name> Deep-dive. One design thread
discuss Discussion round. Systematic gap-finding across all artifacts
terminology Naming review. Cross-cutting naming pass over the full type inventory (see "Terminology pass")
handoff Handoff gate. Delegates to /planning:design-handoff (see "Handoff gate")

Phases

Phases may interleave. Track which have produced artifacts and which have open questions.

All artifacts live in <memory_dir>/<topic-slug>/design/ (default .work/), never committed; /planning:plan's gate reads the gate files (design-threads.md, design-resolution.md) from there. Placement: ${CLAUDE_PLUGIN_ROOT}/reference/artifact-protocol.md. /planning:design-handoff writes the durable content (module layout, contracts, variation verdicts, conventions followed) into PLAN.md's ## Design, the copy that reaches the plan, the implementer's brief, and the pull request body or linked issue where PLAN.md is published. Derive <topic-slug> from the task or branch name (git branch --show-current; the task alone when that fails), kebab-cas

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • evals/evals.json
  • reference/design-defaults.md
  • reference/reversibility.md
  • reference/system-scope.md
  • reference/type-discipline.md
  • reference/typed-artifacts.md
  • templates/design-view.html

FAQ

Что делает скилл Design?

Resolve design decisions (types, contracts, package topology, module boundaries) in rounds before /planning:plan as design artifacts. Use: 'design this', 'type modeling', 'figure out the abstractions', 'model this domain', 'what should the types look like', 'how should I structure this', 'where do the module boundaries go', design space. Not for friction: /architecture:improve; gate: /planning:design-handoff.

Как установить скилл Design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Design с