MCPInstall
davidlee avatar

design

Use when a slice needs architectural shaping before implementation — decision triage, critical analysis of tradeoffs and solutions, and section-by-section validation of design.md until the decisions lock. Routed to from /route once a slice exists.

Installs
143
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/davidlee/doctrine --skill design
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads design automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Design

You are translating scoped intent into implementable design.

This skill is an adapter, not the workflow. The stages, their order, and the obligations on each live in the design run — a deterministic machine in Doctrine. Every doctrine design command prints the guidance for the turn you are on, and that output is your instruction: read it and do what it says. Do not decide the order here, and do not reconstruct it from this file.

Activation

  1. Establish or resume the run. doctrine design start <slice> when none exists, doctrine design resume when one does.
  2. Surface the envelope and do what it says. It carries the stage and forward: what the next advance still needs, in order.

Recovery

No run exists — start one. There is nothing to recover.

A stale one exists — doctrine design resume --run <id> --known-revision <rev> --known-fragment <frag>, the compact re-entry projection.

There is no per-state recovery logic, deliberately: the run reports where it stands and its outstanding obligations return with it. Recover through doctrine design resume, never by replaying the conversation. If evidence is absent, it is absent, and saying so is the correct answer.

Degradation

Detect and surface. Do not self-heal, and do not improvise a design workflow of your own. A skill and its binary can desync in both directions. If doctrine design is missing or refuses, report what it said — a refusal names what it objected to — and stop.

Residue

One obligation the machine does not carry:

itemwhy it is not delivered at a moment
The Locked exit. Record the lifecycle move — doctrine slice status <id> plan, bare number — then invoke /plan.Deferred, not ambient. Stage::Locked has no outbound forward edge to key a runbook to, so neither asset kind can hold it. Awaiting a second case to shape the handoff against.

Pointers

  • /consult — meaningful tradeoffs or uncertainty left unresolved. Do not improvise past them.
  • /knowledge — an open question → QUE, a locked choice → DEC, an assumption the design carries → ASM.
  • lib:reference/using-doctrine.md — relations move via doctrine link and lifecycle via doctrine slice status, never by hand-edit.

FAQ

What does the design skill do?

Use when a slice needs architectural shaping before implementation — decision triage, critical analysis of tradeoffs and solutions, and section-by-section validation of design.md until the decisions lock. Routed to from /route once a slice exists.

How do I install design?

Run npx skills add https://github.com/davidlee/doctrine --skill design in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/design/ (personal) or .claude/skills/design/ (project).

Which AI agents can use design?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is design safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains design?

It is published by davidlee in davidlee/doctrine. It has 143 recorded installs.

More from davidlee/doctrine

View all →
davidlee avatar

code-review

davidlee/doctrine

Use whenever reviewing code for quality and correctness — a diff, PR, module, or subsystem — producing verified, severity-ranked findings on the RV ledger. Not for comprehension tours (walkthrough) or doctrine-conformance hunts (inquisition, user-invoked only).

davidlee avatar

pair

davidlee/doctrine

Agentic pair programming — drive a change together with a human partner in the loop, narrating intent and pausing at decision points. Use when the user wants to work side-by-side rather than hand off a whole task. Calibrated by three dials (role, detail, autonomy) and an always-on challenge mandate.

AI & Agents148 installs
davidlee avatar

consult

davidlee/doctrine

Use the moment you hit an unanticipated obstacle, a decision with competing tradeoffs, or emergent complexity mid-task — before adapting planned scope, adding a dependency, taking a shortcut, or making any impactful concession on your own.

davidlee avatar

handover

davidlee/doctrine

Use when handing work to a fresh context — first bring the durable harvest current, then emit a continuation at one of two weights — a printed continuation prompt (light) or a handover.md context packet (full). Use whenever a fresh agent would more efficiently continue.

AI & Agents146 installs
davidlee avatar

canon

davidlee/doctrine

Use before making architectural or workflow choices, when correctness depends on project governance, or when entering an unfamiliar subsystem — to load the project's authoritative rules before you act on assumptions.

davidlee avatar

retrieve-memory

davidlee/doctrine

Use before making non-trivial assumptions — before touching a subsystem you have not this session, before running or changing a command pipeline, when code and docs conflict, when asked "what is the right way here?", when debugging a recurring failure, or when about to answer with "probably/usually/likely".

Popular other skills

View category →
heygen-com avatar

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.7M installs
mattpocock avatar

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1.1M installs
mattpocock avatar

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

874.4K installs
mattpocock avatar

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

602.5K installs
mattpocock avatar

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

554K installs
mattpocock avatar

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

516.8K installs