🛠️ UIパターン
StyleSeed Tossの基本機能を使って、カード型表示やグリッド、リスト、フォーム、グラフなど、再利用可能なUIデザインのひな形を簡単に作り出すSkill。
📺 まず動画で見る(YouTube)
▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
Generate reusable UI patterns such as card sections, grids, lists, forms, and chart wrappers using StyleSeed Toss primitives.
🇯🇵 日本人クリエイター向け解説
StyleSeed Tossの基本機能を使って、カード型表示やグリッド、リスト、フォーム、グラフなど、再利用可能なUIデザインのひな形を簡単に作り出すSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o ui-pattern.zip https://jpskill.com/download/3637.zip && unzip -o ui-pattern.zip && rm ui-pattern.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/3637.zip -OutFile "$d\ui-pattern.zip"; Expand-Archive "$d\ui-pattern.zip" -DestinationPath $d -Force; ri "$d\ui-pattern.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
ui-pattern.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
ui-patternフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
💬 こう話しかけるだけ — サンプルプロンプト
- › UI Pattern を使って、最小構成のサンプルコードを示して
- › UI Pattern の主な使い方と注意点を教えて
- › UI Pattern を既存プロジェクトに組み込む方法を教えて
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
UIパターン
概要
StyleSeedの一部であるこのスキルは、シードのプリミティブから再利用可能な構成パターンを構築します。これは、カードリスト、グリッド、フォームブロック、ランキングリスト、チャートラッパーなど、複数のページにわたって表示され、アドホックではなく意図的に見える必要があるセクションを対象としています。
使用する場面
- 一回限りのページセクションではなく、再利用可能なレイアウトパターンが必要な場合に使用します。
- ページがカード、行、フィルター、またはデータブロックの同じ配置を繰り返す場合に使用します。
- マークアップをコピーする代わりに、既存のStyleSeedプリミティブから構築したい場合に使用します。
- 動的なコンテンツのためのpropsを持つパターンコンポーネントを構築したい場合に使用します。
仕組み
ステップ1:パターンタイプを特定する
一般的なパターンファミリーには以下が含まれます。
- カードセクション
- 2カラムグリッド
- 水平スクローラー
- リストセクション
- フォームセクション
- 統計グリッド
- データテーブル
- 詳細カード
- チャートカード
- フィルターバー
- アクションシート
ステップ2:利用可能なビルディングブロックを読む
以下を両方検査します。
- プリミティブについては
components/ui/ - 拡張可能な隣接パターンについては
components/patterns/
目標は重複ではなく構成です。
ステップ3:StyleSeedレイアウトルールを適用する
Tossシードのデフォルトをそのまま保持します。
- セマンティックトークン上のカードサーフェス
- システムスケールからの角丸
- 即席のシャドウ値ではなくシャドウトークン
- 一貫した内部パディング
- ページマージンシステムに合わせたセクションラッパー
ステップ4:パターンを動的にする
コンテンツをハードコーディングする代わりに、propsを通じてデータを公開します。パターンに複数のバリアントがある場合は、APIを明示的かつ小さく保ちます。
ステップ5:パターンをページ間で再利用可能に保つ
ユーザーが明示的に一回限りのセクションを望まない限り、ページ固有の仮定は避けてください。マークアップが1つのルートでのみ機能する場合、それは共有パターンではなく、ページコンポーネントに属する可能性が高いです。
出力
以下を提供します。
- 生成されたパターンコンポーネント
- ターゲットの場所
- 期待されるpropsと使用例
- 再利用された既存のプリミティブに関するメモ
ベストプラクティス
- 問題を解決する最小の既存のビルディングブロックから始めます。
- コンテナ、セクション、アイテムの責任を分離します。
- トークンとスペーシングルールを一貫して使用します。
- ほぼ重複する兄弟を追加するよりも、パターンを拡張することを優先します。
追加リソース
制限事項
- このスキルは、タスクが上記の範囲と明確に一致する場合にのみ使用してください。
- 出力を環境固有の検証、テスト、または専門家によるレビューの代わりとして扱わないでください。
- 必要な入力、権限、安全境界、または成功基準が不足している場合は、停止して説明を求めてください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
UI Pattern
Overview
Part of StyleSeed, this skill builds reusable composed patterns from the seed's primitives. It is intended for sections like card lists, grids, form blocks, ranking lists, and chart wrappers that appear across multiple pages and need to look deliberate rather than ad hoc.
When to Use
- Use when you need a reusable layout pattern rather than a one-off page section
- Use when a page repeats the same arrangement of cards, rows, filters, or data blocks
- Use when you want to build from existing StyleSeed primitives instead of copying markup
- Use when you want a pattern component with props for dynamic content
How It Works
Step 1: Identify the Pattern Type
Common pattern families include:
- card section
- two-column grid
- horizontal scroller
- list section
- form section
- stat grid
- data table
- detail card
- chart card
- filter bar
- action sheet
Step 2: Read the Available Building Blocks
Inspect both:
components/ui/for primitivescomponents/patterns/for neighboring patterns that can be extended
The goal is composition, not duplication.
Step 3: Apply StyleSeed Layout Rules
Keep the Toss seed defaults intact:
- card surfaces on semantic tokens
- rounded corners from the system scale
- shadow tokens instead of improvised shadow values
- consistent internal padding
- section wrappers that align with the page margin system
Step 4: Make the Pattern Dynamic
Expose data through props instead of hardcoding content. If a pattern has multiple variants, keep the API explicit and small.
Step 5: Keep the Pattern Reusable Across Pages
Avoid page-specific assumptions unless the user explicitly wants a one-off section. If the markup only works on one route, it probably belongs in a page component, not a shared pattern.
Output
Provide:
- The generated pattern component
- The target location
- Expected props and usage example
- Notes on which existing primitives were reused
Best Practices
- Start from the smallest existing building block that solves the problem
- Keep container, section, and item responsibilities separate
- Use tokens and spacing rules consistently
- Prefer extending a pattern over adding a near-duplicate sibling
Additional Resources
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.