diego3g/craft

Design skills for AI agents: /craft-setup writes your design brief, /craft designs screens with every state from your design system and reviews them. Works with Paper, pen.dev, Figma or HTML.

What it solves

AI coding agents can quickly generate UI, but the result often looks inconsistent or misses important states. craft solves that by giving agents a structured design process: write a short brief, list every state a screen can be in, build with your existing design system, and review the work before showing it. It also records design decisions in a DESIGN.md file so they stay consistent across sessions.

How it works

craft is a set of skills installed into your agent (or as a plugin for Claude Code). The main skill, craft, is triggered when you ask for a design. It confirms the scope, enumerates all states, draws using your design tokens and components, and critiques its own output. Companion skills handle different parts: craft-setup interviews you to build DESIGN.md and token foundations; craft-states lists edge states; craft-explore offers three genuinely different directions; craft-system audits the design system; craft-sync connects to design tools; and craft-critique reviews hierarchy, spacing, contrast, and more. The skills work through adapters for Paper, pen.dev, Figma, or plain HTML.

Who it's for

Developers and teams using AI agents like Claude Code, Codex, OpenCode, Cursor, Gemini CLI, GitHub Copilot, or Windsurf who want those agents to produce polished, consistent interfaces without re-explaining design rules. It suits projects that already have a design system in code or in tools like Figma, or teams starting fresh with a small setup interview. The skills work in any agent that supports slash commands or plain instructions, and install via the skills CLI or a plugin marketplace.

Highlights

  • Covers every screen state (empty, loading, error, long content, permissions, offline) using realistic messy data.
  • Uses your design system's tokens, components, and rules; your rules always override built-in defaults.
  • Tool-agnostic: adapters for Paper (MCP), pen.dev (MCP), Figma (MCP), or plain HTML as fallback.
  • Includes a critique step that ranks findings by impact and runs on its own work before showing it.
  • Logs decisions in DESIGN.md with a dated log and open questions, so Monday's choices survive to Thursday.
  • Small edits like "make the button 2px taller" skip the full process and just make the change.

Related

  • Project
  • Project
  • Project
  • Project