/craft:using-craftfrom craft
Routes UI design tasks to the appropriate craft skill (craft, craft-setup, craft-explore) based on project context and request type. Invokes design skills before responding to any UI-related request.
Ships in craft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A design skill that applies is not optional. Small edits are the only exception (see below).
DESIGN.md exists at the project root; it decides between craft-setup and craft. Don't guess it.When your agent has a tool that asks the person a question with choices, craft's questions go through it: interview questions, stops and picks between options. Choices in a dialog are quicker to answer than options read in chat.
DESIGN.md draft, a states list) is shown in your message first. The tool only asks for the yes.Without such a tool, or when the call fails (as in a headless session), ask in plain text and end your turn.
| The situation | Skill |
|---|---|
| Any request to design, create, mock up or redesign a page, screen, flow or element | craft |
A design task in a project with no DESIGN.md at its root | craft-setup first (it offers to import a design system already in code), then craft |
| "Set up the design", "define our style / brand / guidelines" | craft-setup |
| "Options", "alternatives", "other directions", "I don't like it", "rethink this" | craft-explore |
| "Review", "refine", "polish", "make it better", "feels off", or you are about to show your own design | craft-critique |
| Tokens, the style guide, a new or changed component, "make consistent", "audit" | craft-system |
| "Import / bring our design system, tokens or components into "; "apply / push / sync the guide's changes to the code" | craft-sync |
| "What states are missing?", "is this ready for dev?" | craft-states |
A reusable piece for the system ("we need a date picker component") goes to craft-system; something on a specific page goes to craft. These are craft's skills (prefixed craft: in the Claude Code plugin); prefer them over same-named skills from elsewhere.
craft-setup before craft when there is no DESIGN.md. Reviews, options for an existing screen, audits and state questions don't need a brief: they work from what's already there.craft before its sub-skills: it calls craft-states, craft-explore, craft-system, craft-sync and craft-critique at the right moment, so don't start them yourself in the middle of a craft run.craft-critique is the last step before you show anything you made.A change the person described exactly (one value, one label, one element's size, one colour, a typo) is made directly. No skill, no states list, no options.
| Thought | Reality |
|---|---|
| "It's just a quick mockup, I'll skip the process" | A quick mockup is still a design. The states list takes a minute. Use craft. |
"There's no DESIGN.md, but the request is clear enough" | Without a brief, every screen invents its own style. craft-setup first; the person can say "skip". |
| "I'll draw it now and review it later" | Showing unreviewed work trains the person to do your review. craft-critique runs before you show. |
| "I know which states it needs" | You know the happy path. craft-states lists the rest. |
| "Let me read the files first, then decide on a skill" | Skills tell you what to read. Decide first. |
| "This is a small change" (to a new page) | A new page is never a small change. |
| "The session can't wait for answers, so I'll decide and list my calls" | Ask the question: with your agent's question tool, or by ending your turn with it. Deciding for them is the one thing the stops exist to prevent. |
Where this skill isn't loaded automatically, put the routing table above in your AGENTS.md (or the equivalent) so the agent sees it at the start of every session.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub diego3g/craft --plugin craft8 skills in this plugin
/craftUse when asked to design, create, mock up or redesign one or more pages, screens, flows or UI elements, or when the person runs /craft (/craft:craft in the Claude Code plugin)./craft-critiqueUse when asked to review, critique, refine or polish a design or screen, when something "feels off", "looks busy" or "isn't good yet", after finishing a screen and before showing it, or before handing a design to code./craft-exploreUse when asked for options, alternatives, variations, directions or "a few ideas" for a screen, flow or element, when the person rejects a design or says they don't like it, or says "rethink this", "try something else" or "design both so I can pick"./craft-setupUse when a request to design or create a page, screen or element starts in a project with no DESIGN.md at its root, when the person asks to set up, define or start the design, style, brand or guidelines of a product, or runs /craft-setup (/craft:craft-setup in the Claude Code plugin)./craft-statesUse when designing or redesigning a screen, flow or component, when asked to cover all states or find missing ones, or before handing a screen to code. Also use when a design only shows the happy path, uses short tidy sample data, or assumes a single user./craft-syncUse when a design task is about to start in a project whose design system already lives in code (a UI package, design tokens, a component library) but isn't in the design tool, when asked to import or bring the design system, tokens or components into the design tool, or to apply, push or sync changes from the design tool's guide back to the code.Other plugins' skills for the same job