design_skill

June 8, 2026 · View on GitHub

A structured UI design judgment skill for AI coding agents. Teaches agents how to evaluate, critique, and improve user interfaces across iOS, Android, and Web — not by adding more design knowledge, but by transferring the evaluation criteria that expert designers use.

What this is

A small Markdown skill family that gives AI coding agents a design review loop: define what success looks like before generating UI, verify with real artifacts (screenshots, builds, accessibility scans) after implementation, and capture reusable design lessons over time. The root skill routes to focused sub-skills for critique, design-system audit, and frontend aesthetic direction.

What this is not

  • A design tool or Figma replacement
  • A universal "make it prettier" prompt
  • A design system or component library
  • An Anthropic plugin (this is tool-agnostic, filesystem-native)

Inspiration

Inspired by Anthropic's open-source Design Plugin (design critique, handoff, accessibility, UX copy, design system audit, research synthesis) and Frontend Design Plugin (aesthetic direction). For a detailed analysis of the design philosophy behind these plugins, see Claude Design Reverse Engineering.

Key ideas absorbed:

  • Evaluation-first: give the agent a framework for judging "what counts as good" before asking it to generate
  • Criteria transfer: the model already knows design principles — what it needs is the operational structure of critique (first impression → usability → visual hierarchy → consistency → accessibility)
  • Progressive disclosure: keep the root skill short; load platform-specific rules and references only when needed
  • Deterministic tools supply facts, model supplies judgment: use CLI tools for contrast ratio, touch targets, view hierarchy, accessibility scans; reserve LLM judgment for task coherence, visual emphasis, copy quality

Key differences from Anthropic's approach:

Claude Designdesign_skill
Figma/Web-centriciOS, Android, Web
Requires plugin runtime (~~connector placeholders)Filesystem-native (paths, not placeholders)
Designed for team design workflowDesigned for solo builder + AI agent
Six separate SKILL.md filesRoot router skill; focused sub-skills loaded on demand
Anthropic-exclusive tool ecosystemTool-agnostic; references existing platform CLI/XCTest/Playwright

Installation

This is a loose Markdown-based skill family. Install the repository or copy the whole skills/ directory so the root skill can resolve its sub-skills.

For OpenCode / Claude Code / Codex / Cursor

Tell your AI agent:

Install the design_skill from https://github.com/grapeot/design_skill — add the repo or its complete skills/ directory to my workspace's skill discovery chain, expose skills/design_skill.md as the root entry, and update the skills INDEX if one exists.

The agent should:

  1. Clone or vendor the repo in a stable location
  2. Add only the root skill (skills/design_skill.md) to the workspace discovery chain (INDEX.md, AGENTS.md, or CLAUDE.md)
  3. Keep the sub-skills beside the root skill so relative references like frontend_design.md resolve
  4. Avoid symlinking only skills/design_skill.md; that breaks the multi-file skill family
  5. Avoid exposing every sub-skill globally; the root skill is the router

Project Structure

  • skills/design_skill.md — root skill (the primary artifact)
  • skills/design_critique.md — sub-skill: structured design critique reference
  • skills/design_system.md — sub-skill: design system audit reference
  • skills/frontend_design.md — sub-skill: distinctive Web/frontend aesthetic direction
  • docs/prd.md — product requirements and design rationale
  • docs/rfc.md — architecture, design decisions, trade-offs
  • docs/working.md — changelog and lessons learned
  • docs/test.md — test strategy and acceptance criteria

Privacy

This repository is designed to be publishable with only fake examples. No real credentials, internal paths, or private data are included.

License

MIT