stitch-skills について
stitch-skills は、Stitch MCP による UI 設計と React コンポーネント化のための Agent Skills 集です。プロンプトの改善、複数ページ生成、設計ドキュメント、紹介動画に対応します。
主な機能
- 01Stitch 向けプロンプトの改善
- 02UI 画面の生成と反復
- 03複数ページのウェブサイト作成
- 04DESIGN.md ドキュメントの生成
- 05画面から React コンポーネントへの変換
- 06プロジェクト紹介動画の作成
活用シーン
- 01大まかな UI 案を Stitch 用プロンプトに整理
- 02相互にリンクした複数ページサイトの生成
- 03画面生成向けのデザインシステム文書化
- 04Stitch の画面を基にした React コンポーネント構築
MCP 対応
各スキルは Stitch MCP の画面生成ツールなどを使い、UI 画面の作成と修正を行います。画面出力を React コンポーネントなどの成果物に変換するワークフローも扱います。
インストール
コマンドをコピーしてターミナルで実行します。
npx skills add https:/ / github.com/ akillness/ jeo-skills --skill stitch-skillsインストール後、Claude Code で/stitch-skillsを入力して読み込まれたか確認します。
同梱ファイルSKILL.toon
詳細
stitch-skills — Stitch MCP 向けエージェントスキル
AI を活用した UI デザイン生成、プロンプトの改善、画面からコードへのワークフロー。
stitch-skills は、Claude Code、Cursor、Gemini CLI との互換性を考慮し、Agent Skills オープンスタンダードに準拠した Stitch MCP サーバー向けのエージェントスキルライブラリです。
注記: Google が公式にサポートする製品ではありません。
インストール
プラグイン(Claude Code)
claude plugin marketplace add google-labs-code/stitch-skills
スキル(すべてのプラットフォーム)
# List available skills
npx skills add google-labs-code/stitch-skills --list
# Install a specific skill globally
npx skills add google-labs-code/stitch-skills --skill stitch-design --global
npx skills add google-labs-code/stitch-skills --skill stitch-loop --global
npx skills add google-labs-code/stitch-skills --skill enhance-prompt --global
npx skills add google-labs-code/stitch-skills --skill react-components --global
npx skills add google-labs-code/stitch-skills --skill remotion --global
npx skills add google-labs-code/stitch-skills --skill shadcn-ui --global
npx skills add google-labs-code/stitch-skills --skill design-md --global
# Install from jeo-skills
npx skills add https://github.com/akillness/jeo-skills --skill stitch-skills
使用する場面
- Stitch を通じて、自然言語のプロンプトから高忠実度の UI 画面を生成する
- 自動ファイル整理機能を使い、単一のプロンプトから複数ページのウェブサイトを作成する
- AI エージェント向けにデザインシステムを翻訳したDESIGN.md ドキュメントを作成する
- 曖昧な UI のアイデアを、具体性のある洗練された Stitch 向けプロンプトに改善する
- 整合性チェックを行いながら、Stitch のデザインをReact コンポーネントのアーキテクチャに変換する
- Remotion を使って、Stitch プロジェクトからウォークスルー動画を生成する
- React アプリケーションにshadcn/ui コンポーネントを統合する
使用しない場面
- トークンレベルのデザインシステムのリント、差分確認、エクスポートが必要な場合 →
google-designに振り分けてください - WCAG のコントラスト監査のみが必要な場合 →
web-accessibilityに振り分けてください - バックエンド API の全体設計が必要な場合 →
backend-apiに振り分けてください - 一般的な React の状態管理が必要な場合 →
react-patternsに振り分けてください
利用可能なスキル
stitch-design
Stitch MCP システムを通じてプロンプトを改善し、画面を生成するための主要なスキルです。
Workflow:
1. Enhance the user's prompt for Stitch
2. Call stitch_generate_screen MCP tool
3. Validate and iterate on the output
stitch-loop
単一のプロンプトから複数ページのウェブサイトを作成する作業を自動化します。
Workflow:
1. Parse top-level pages from the prompt
2. Generate each screen via stitch_generate_screen
3. Organize files and validate output
4. Produce a complete, linked website
enhance-prompt
曖昧な UI のアイデアを、洗練された Stitch 向けプロンプトに変換します。
# Example: add design keywords, specificity, and system context
Input: "a login page"
Output: "A clean, minimal login page with email/password fields,
a primary CTA button using brand colors, subtle card elevation,
and a 'Forgot password?' link below the form."
design-md
Stitch の画面生成に適した、デザインシステムを自然で意味のある言葉に置き換えた DESIGN.md ドキュメントを生成します。
# Output: repo-root DESIGN.md with brand tokens in Stitch-friendly language
react-components
Stitch の画面を、整合性検証を行いながら React コンポーネントのアーキテクチャに変換します。
Workflow:
1. Parse Stitch screen JSON/HTML output
2. Map elements to React component tree
3. Validate component naming and prop consistency
4. Output component files with TypeScript types
remotion
Remotion を使って、滑らかなトランジション、ズーム、テキストオーバーレイを備えた Stitch プロジェクトのウォークスルー動画を作成します。
# Requires: npx remotion studio
# Output: MP4 walkthrough video of Stitch screens
shadcn-ui
Stitch のデザインをもとに構築された React アプリケーションに shadcn/ui コンポーネントを実装するためのガイダンスを提供します。
npx shadcn-ui@latest init
npx shadcn-ui@latest add button card input form
リポジトリ構成
各スキルは Agent Skills オープンスタンダードに準拠しています。
stitch-skills/
├── stitch-design/
│ ├── SKILL.md — agent mission documentation
│ ├── scripts/ — validation and networking executables
│ ├── resources/ — knowledge base (checklists, style guides)
│ └── examples/ — reference implementations
├── stitch-loop/
├── enhance-prompt/
├── react-components/
├── remotion/
├── shadcn-ui/
└── design-md/
運用ルール
- より良い結果を得るため、
stitch-designで生成する前にenhance-promptを実行してください stitch-loopで複数ページの作業を始める前に、design-mdを使って DESIGN.md を作成してくださいreact-componentsの出力後、React コンポーネントの命名に一貫性があるか確認してくださいremotionで使用できるように、Stitch の画面出力は専用のscreens/ディレクトリに保存してくださいshadcn-uiの統合は、react-componentsによるコンポーネントツリーの確立後にのみ行ってください- 反復:改善 → 生成 → レビュー → 改善が推奨されるサイクルです
使用例
# Full UI generation workflow
# 1. Enhance your prompt
stitch enhance-prompt "a dashboard for monitoring server health"
# 2. Generate screens via Stitch MCP
stitch generate "..." --pages overview,alerts,settings
# 3. Convert to React
stitch react-components ./screens/
# 4. Add shadcn/ui
npx shadcn-ui@latest add card badge table
# 5. Generate walkthrough video
stitch remotion ./screens/ --output walkthrough.mp4
出典:google-labs-code/stitch-skills — Apache-2.0 ライセンス