Design skills for AI agents
open sourceMITself-hostablefree
craft is a set of design skills that make a coding agent work like a careful product designer. craft-setup interviews you one question at a time and writes a DESIGN.md brief (product, audience and voice, mood, brand, references, constraints, a decisions log) plus the design system's tokens and base components; craft then designs a page, screen or flow by confirming the scope, listing every state the screen can be in, drawing it with the system's pieces and reviewing the result before showing it. Further skills draw three genuinely different directions, list missing states, audit and maintain the design system, sync a system that lives in code into the design tool and back, and critique a rendered design without changing it. Adapters map its actions to Paper, pen.dev or Figma over MCP, or to plain HTML. It installs as a Claude Code plugin with a session-start routing hook, or into Codex, OpenCode, Cursor and other agents with the skills CLI.
Problems it solves
- my AI agent designs screens that look generic and ignore my design system
- the agent only draws the happy path and forgets empty, loading and error states
- design decisions I made on Monday are forgotten by Thursday's agent session
- ask for design options and get three versions that only differ in colour
- have my agent review its own UI for hierarchy, spacing and contrast before showing me
- write a design brief for a new product without staring at a blank page
- bring the components and tokens already in my code into Figma or Paper
- every colour in the agent's mockups is hard-coded instead of a token
- find out which screens a change to a shared component will affect
- design screens with Claude Code straight into a design tool over MCP
Features
- craft-setup interview that writes DESIGN.md and base tokens
- craft: screens and flows with every state
- craft-states: lists empty, loading, error, long-content, permission and offline states
- craft-explore: three structurally different directions
- craft-system: role-named tokens, component states matrix and audits
- craft-sync: design system from code into the design tool and back as a reviewed diff
- craft-critique: renders and reviews a design, findings ranked by impact
- adapters for Paper, pen.dev and Figma (MCP) and plain HTML
- session-start hook that routes each request to the right skill
- install via Claude Code plugin marketplace or npx skills add
Alternatives
The same job
These do what craft does.
- unslop A Claude skill that turns vibecoded, AI-looking UI into a designed interface
- antialgorithm Agent skill that steers the model away from its first, most average pick in creative work: names, ideas, logo, posters, UI
