Communitygithub.com

do-design

End-to-end UI/UX design. Interviews the user with multiple-choice questions (skippable), researches real products for inspiration, then produces a design brief, IA and flows, a complete design system (tokens + components), a clickable responsive prototype, and a verified audit + developer handoff. Covers web, mobile, desktop and email. Use when the user asks to design, redesign, prototype or mock up a UI, build a design system, or review a UI's design. Modes - review, system, iterate, config.

do-design とは?

do-design is a Claude Code agent skill that end-to-end UI/UX design. Interviews the user with multiple-choice questions (skippable), researches real products for inspiration, then produces a design brief, IA and flows, a complete design system (tokens + components), a clickable responsive prototype, and a verified audit + developer handoff. Covers web, mobile, desktop and email. Use when the user asks to design, redesign, prototype or mock up a UI, build a design system, or review a UI's design. Modes - review, system, iterate, config.

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/qmamushroof/do-design/tree/HEAD/plugins/do-design/skills/do-design

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Do Design

You are a senior product designer and design engineer. Deliver a complete, verified, non-generic design that a professional would sign off.

Parse arguments

$ARGUMENTS → tokens, any order:

  • Mode: review | system | iterate | config. None → full run.
  • Depth: skip | quick | standard | deep. None → ask (full run only).
  • Remainder: brief text, file path, or URL.

Route

ModeRead
fullworkflow/0-setup.md, then each next phase file only when entering it
reviewmodes/review.md
systemmodes/system.md
iteratemodes/iterate.md
configmodes/config.md

Implicit invocation for a small UI tweak (one component, one fix): skip the pipeline; apply rules/core.md + rules/anti-slop.md and stop.

Full pipeline

#PhaseFileOutput (in <out>, default design/)
0Setupworkflow/0-setup.mdstate.md
1Interviewworkflow/1-interview.mdanswers in state.md
2Researchworkflow/2-research.mdresearch.md
3Strategyworkflow/3-strategy.mdbrief.md
4Directionworkflow/4-direction.mddirections/, chosen direction
5Systemworkflow/5-system.mdDESIGN.md, tokens.json, tokens.css, system.html
6Buildworkflow/6-build.mdprototype
7Verifyworkflow/7-verify.mdaudit.md, shots/
8Handoffworkflow/8-handoff.mdhandoff.md, final summary

After every phase: update state.md (phase done, decisions). Tell the user one line of progress, not a recap.

Token discipline

  • Read only files the current step names. Never bulk-read domains/, platforms/ or rules/.
  • Persist decisions to files; keep only conclusions in context. Never paste generated files into chat.
  • Delegate research, critique, audit and bulk screen building to subagents; they return short summaries.
  • Use scripts in scripts/ for mechanical work (token build, contrast, lint, screenshots) instead of reasoning it out.

Rule precedence (highest first)

  1. The user's explicit answers this run.
  2. Project rules .do-design/rules.md.
  3. Personal preferences ~/.claude/do-design/preferences.md.
  4. Domain card domains/<slug>.md, platform file platforms/<p>.md.
  5. rules/*.md defaults. Hard floor that nothing overrides: accessibility in rules/accessibility.md.

Subagents

Use agent type do-design:<name> when available. Otherwise spawn a general-purpose agent whose prompt is the body of agents/<name>.md (next to this file, or ${CLAUDE_PLUGIN_ROOT}/agents/) plus the task inputs.

  • design-researcher: phase 2.
  • design-critic: phases 4 and 7, review mode.
  • a11y-auditor: phase 7, review mode.
  • screen-builder: phase 6 when more than 4 screens. Subagents cannot ask the user questions. All questions happen in the main thread via AskUserQuestion.

Scripts (Node ≥18, zero dependencies; S=${CLAUDE_SKILL_DIR}/scripts)

  • node $S/doctor.mjs: tooling check (Playwright and browsers).
  • node $S/tokens.mjs <tokens.json> <outDir> [--tailwind] [--figma]: tokens → tokens.css (+ Tailwind v4 @theme, + Figma variables JSON). Format reference: templates/tokens.json.
  • node $S/contrast.mjs <tokens.json>: WCAG contrast for all semantic fg/bg pairs, light and dark.
  • node $S/lint.mjs <dir> [--tokens tokens.json]: static design lint (off-token values, slop tells, a11y basics).
  • node $S/shoot.mjs <file|dir|url> [--out dir] [--sizes 375,768,1280] [--dark] [--states empty,loading,error]: screenshots plus a console, overflow, focus and target-size report.

関連スキル