claude/skills/ui-mockup-builder/SKILL.md
Web/アプリの「画面モックアップ(UI Mockup / high-fidelity mockup)」を作成するためのSkill。 依頼に「モックアップ」「UIデザイン」「見た目を最終に寄せたい」「開発に渡せる画面デザイン」「Figmaに起こす前の叩き」「画面ごとの状態(空/エラー/ローディング等)込みで作りたい」 などが含まれるときに発動する。 目的に応じて wireframe / mockup / prototype のどれが必要かをまず判定し、モックアップが適切なら 画面ごとの静的な高フィデリティ設計(色/タイポ/余白/コンポーネント/状態)と、開発引き渡し用の注釈・仕様をまとめた「Mockup Pack」をリポジトリ内に生成する。
npx skillsauth add lilpacy/dotfiles ui-mockup-builderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
画面モックアップは、最終プロダクトに近い「見た目」を具体化する静的な設計図(高フィデリティ)です。
リポジトリに「Mockup Pack(モックアップ一式)」を作成します。Figma自体の操作はせず、Figmaに起こせる粒度の仕様と、必要ならHTML/Tailwindで再現できる静的モックを生成します。
推奨の出力先:
docs/mockups/<feature-or-epic>/
README.md(目的・前提・対象画面・参照・決定事項)style-guide.md(色/タイポ/余白/角丸/影/アイコン方針)tokens.json(色・スペーシング・タイポなどのトークン)screens/
<screen-id>__spec.md(画面仕様)components/
<component-id>__spec.md(コンポーネント仕様)copy/
strings.md(文言案、i18n注意、可変長対策)state-matrix.md(主要状態一覧)html/(任意:静的HTMLモック)exports/(任意:スクリーンショット、PNG出力物など)design/, docs/design-system/, tokens/, tailwind.config.*, shadcn/ui, MUI, Chakra, Ant 等resources/intake_questions.md を参照し、足りない情報だけを質問するresources/style_guide_template.md と tokens.json を作る(既存があれば拡張・補完のみ)screens/<screen>__spec.md を作成resources/screen_spec_template.md をベースに仕様を埋めるcomponents/<component>__spec.md を作るresources/component_spec_template.md をベースに作成state-matrix.md に「画面×状態」を表でまとめるREADME.md に以下をまとめる
resources/quality_checklist.md で自己レビューし、問題があれば修正development
Use when searching the web or reading online documentation. Prefer DuckDuckGo for search and read documents through npx curl.md instead of raw HTML.
testing
Use when writing or editing tests. Tests should be ordered by near-normal, normal, then abnormal cases where applicable, and test names must be Japanese behavior descriptions from a reviewer/user perspective.
development
GoF/オブジェクト指向デザインパターンを関数型プログラミング(pure functions, higher-order functions, ADT, composition, immutability, effect boundaries)でシンプルに整理・設計・リファクタリングする。Strategy/Factory/Adapter/ObserverなどGoF全23パターンのFP置き換え、適用判断、具体事例を提示する必要があるときに使う。
tools
Use when committing, pushing, or preparing PRs. Defines the user's commit workflow, message style discovery, review handoff, and branch/worktree push requirements.