[デザイン] 3. 静的UI骨格 → Layout/Component を抽出して分離
Scanned 2/10/2026
Install to Claude Code
npx -y skills add mae616/ai-template --skill design-components --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Design Components?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/mae616-design-components)More formats (shields.io, HTML) on the badges page.
---
user-invocable: true
description: "[デザイン] 3. 静的UI骨格 → Layout/Component を抽出して分離"
---
# [デザイン] 3. 静的UI骨格 → Layout/Component を抽出して分離
## コマンド: /design-components
## いつ使う?(位置づけ)
- `/design-ui` で静的UI骨格(見た目のみ)を生成したあと
- 「ページ固有レイアウト」と「再利用コンポーネント」を分離して、後続の `/design-assemble` をやりやすくしたいとき
## 次に何をする?
- variants(size/tone/state等)を型付きprops/属性に落として結合 → `/design-assemble`
## 入力: $ARGUMENTS(任意)
- 対象ディレクトリ(例: `src/` や `app/` など)
---
## 🎯 目的
- `/design-ui` で生成した **静的UI骨格(見た目のみ)** から、
- **Layout**(ページ枠/セクション/グリッド)
- **Component**(ボタン/カード/フォーム等の再利用部品)
を抽出して分離し、保守しやすくする
---
## 共通前提(参照)
- 口調・出力規約は `CLAUDE.md` に従う。
- プロジェクト固有の事実は `doc/input/rdd.md`(先頭のAI用事実ブロック)を参照する。
- 判断軸は `.claude/skills/*` を適用する(例: `ui-designer` / `tailwind` / `creative-coder` / `usability-psychologist`)。
- 詳細運用(差分/サンプル運用等)は `doc/guide/ai_guidelines.md` を参照。
---
## 抽出の判断基準(最小)
- **Layout にする**
- ページ固有の枠組み(ヘッダー+本文+フッターなど)
- セクションの並び(Hero/Features/Pricingなど)
- グリッド/レイアウトの責務が主で、見た目の部品が複数集まっているもの
- **Component にする**
- 同じ構造が3回以上出現する(同一の見た目/役割)
- variants(size/tone/state)に落とせる
- 画面を跨いで再利用したい意図がある
- **まだ抽出しない**
- 1回しか出現しない、ページ固有の塊
- 名前が付けられない(責務が曖昧)
---
## ルール
- **ロジック/状態/データ取得は入れない**(見た目の責務分離のみ)
- 既存のディレクトリ規約・命名規約を尊重する(新規規約を持ち込まない)
- 変更は差分最小で、レビュー可能な単位に分割する
---
## 出力(差分のみ)
- スタック別の標準配置に合わせて、コンポーネント/レイアウトを分割して反映
---
## ゲート
- 見た目が維持されている(主要ページ/主要コンポーネント)
- 重複UIが減っている(同じ構造が3回以上なら抽出を検討)
- ここで停止
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
Drive the full internationalization journey for a project — detect the stack, recommend a library, set up the chosen library, wrap existing strings, and optionally connect a translation platform. Use when the user asks to add or configure i18n, internationalization, localization, multi-language support, or translations — including when they explicitly mention LinguiJS, Lingui, next-intl, "wrap strings", "find hardcoded text", "make my app translatable", or "set up translations". Triggers on g...