Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

diego3g/craft

Developer Tools

A set of skills that guide AI coding agents through designing complete UI screens with consistent design systems.

209
8
JavaScript
NOASSERTION
2 days old

What it does

craft packages design-oriented skills for AI coding agents. Instead of asking an agent for "a pricing page" and getting an ad-hoc result, the skills push the agent through a more deliberate process: write a short design brief, enumerate every state the screen can have, reuse pieces from an existing design system, and critique its own output before showing it. It targets developers who use agents like Claude Code, Codex, OpenCode, Cursor or Gemini CLI and want more consistent UI work from them.

The skills are tool-agnostic: they describe actions such as "create a board" or "render and look", and adapters map those to Paper (MCP), Figma (MCP) or plain HTML, with HTML as the fallback. The README notes the Figma adapter is untested.

Install

For Claude Code, install the plugin from inside a session (L30-L33):

/plugin marketplace add diego3g/craft
/plugin install craft@craft

The plugin adds a session-start hook so requests are routed to the correct skill automatically; skills then carry the plugin prefix (/craft:craft, /craft:craft-setup). Update later with claude plugin update craft@craft. Claude Desktop and claude.ai users add the marketplace diego3g/craft under Customize › Plugins › Add.

For other agents, use the skills CLI (L45-L47):

npx skills add diego3g/craft -a codex

Replace codex with opencode, cursor, gemini-cli, github-copilot or windsurf, or omit -a to be prompted. Add -g to install globally, and update with npx skills update. Because these agents do not run the session-start hook, paste the routing table from the README into AGENTS.md so the agent still selects the right skill.

Workflow

  1. Run craft-setup once per project. It interviews you about product, audience, mood, brand, references and constraints, then writes DESIGN.md and builds base tokens and components.
  2. Ask craft to design a page, screen, flow or element. It confirms scope and states before drawing.
  3. If you need alternatives, craft-explore draws three structurally different directions; craft-critique reviews hierarchy, spacing, contrast, text, consistency and motion; craft-system audits tokens and components; craft-sync moves a code-based design system into your tool and later applies guide changes back to code.

Small edits described exactly are made directly without the full process.

Constraints

  • The project depends on an external agent runtime and the skills CLI; the skills are prompt instructions, not a standalone design tool.
  • DESIGN.md is the shared source of truth and is read by every other skill, so the first run of craft-setup is effectively required for consistent results.
  • The Figma adapter is untested according to the README; Paper via MCP or plain HTML are the more reliable routes.
  • Development uses npm test and npm run check to validate skill format and links; each skill is written test-first with scenarios under tests/scenarios/.
  • The repository is MIT-licensed (L139-L141).

HotRepo's take

craft appeared in HotRepo's new-project snapshot for 17 November 2026 on the JavaScript list, with 104 stars and 3 stars added over the recorded growth window. There is no GitHub daily rank recorded and no Hacker News discussion, so the available data supports only that early traction, not a broader trend. The notable technical point is the design of the skills as process constraints — states, approval stops, tokenized colors, one icon set — rather than style prompts, which is what separates it from a generic "make it pretty" prompt collection.

Written by AI from the project's README, updated . The project's own docs are the source of truth.

You might also like

  1. LemonFace0309/charles-skillsA set of agent skills for auditing and polishing UI design, motion, screenshots and Mac storage.JavaScript105
  2. miqdadbadjuber/anti-slopFilters generic UI, copy, and AI-style code from agent output, for developers using AI coding agents.JavaScript7,844
  3. smokeeaasd/flawless-ui-uxA UI/UX guidance skill plus inspection CLI that helps coding agents design, refine, and audit interfaces.JavaScript112
  4. southleft/figma-console-mcpAn MCP server that lets AI assistants read, create, and debug Figma designs and design systems.TypeScript3,111
  5. addyosmani/agent-skillsA set of Markdown workflow skills that make AI coding agents follow spec, test, review and ship discipline.JavaScript116,771