← スキル一覧に戻る

ui-ux-pro-max
by kimny1143
Claude Code template with commands, skills, agents, and hooks
⭐ 0🍴 0📅 2026年1月24日
SKILL.md
name: ui-ux-pro-max description: "UI/UX design intelligence. Plan, build, design, implement, review, improve UI/UX code. Styles: glassmorphism, minimalism, dark mode, responsive. Projects: landing page, dashboard, SaaS, mobile app."
UI/UX Pro Max
UI/UXデザインおよび実装の専門スキル。
対応領域
- ランディングページ設計
- ダッシュボードUI
- SaaSプロダクト
- モバイルアプリ(レスポンシブ)
CRITICAL: アクセシビリティ優先
このセクションは最優先事項。デザインの美しさよりもアクセシビリティを優先する。
WCAG 2.1 コントラスト要件
| テキストサイズ | 最小コントラスト比 |
|---|---|
| 通常テキスト (< 18px) | 4.5:1 |
| 大きいテキスト (≥ 18px bold / ≥ 24px) | 3:1 |
| UI コンポーネント・アイコン | 3:1 |
必須: プロジェクトの globals.css を使用
Tailwind のデフォルト色を直接使わない。 プロジェクトの globals.css で定義されたトークンを優先する。
// NG: Tailwind デフォルトをそのまま使用
<p className="text-slate-400">...</p>
<p className="text-slate-500">...</p>
// OK: プロジェクトトークンを使用
<p className="text-muted">...</p>
<p className="text-subtle">...</p>
実装前に必ず app/globals.css を確認し、定義済みトークンを把握すること。
Glassmorphism とアクセシビリティの両立
警告: 半透明背景はコントラスト計算を複雑にする
| 背景タイプ | 問題 | 対策 |
|---|---|---|
bg-white/5 | 実効背景色が不確定 | テキストは text-white or 十分明るい色を使用 |
bg-black/45 オーバーレイ | 下層と混ざる | 重要テキストは text-white を使用 |
| 半透明セクション | 背景画像と混ざる | muted text は避け、白系を使用 |
安全な組み合わせ:
// Glass card 内のテキスト
<div className="bg-white/5 backdrop-blur-xl ...">
<h3 className="text-white">タイトル</h3> {/* OK: 白は常に安全 */}
<p className="text-white/80">説明文</p> {/* OK: 80%白は十分 */}
</div>
// 危険な組み合わせ(避ける)
<div className="bg-white/5 ...">
<p className="text-slate-400">説明文</p> {/* NG: コントラスト不足の可能性 */}
</div>
バッジ・タグのコントラスト
同系色の組み合わせは危険:
// NG: 同系色でコントラスト不足
<span className="bg-indigo-600/20 text-indigo-400">Badge</span>
<span className="bg-amber-500/20 text-amber-400">開発中</span>
// OK: 十分なコントラストを確保
<span className="bg-indigo-600/30 text-indigo-300">Badge</span>
<span className="bg-amber-600/30 text-amber-200">開発中</span>
無効状態のテキスト
// NG: 薄すぎてコントラスト不足
<button className="text-white/50" disabled>...</button>
// OK: 無効でも読める濃さ
<button className="text-white/70" disabled>...</button>
デザインスタイル
グラスモーフィズム
/* Glass card - a11y compliant */
.glass-card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
}
注意: Glass card 内のテキストは text-white または text-white/80 以上を使用。
ダークモード優先
/* Dark mode base - WCAG compliant */
:root {
--bg-primary: #0F0F1A;
--bg-secondary: #1A1A2E;
--text-primary: #FFFFFF;
--text-muted: #CBD5E1; /* slate-300: 4.5:1+ on dark */
--text-subtle: #9CA3AF; /* gray-400: 使用注意 */
--accent: #4F46E5;
}
ミニマリズム
- 余白を恐れない
- 1画面1アクション
- 視覚的ノイズを減らす
コンポーネント規約
ボタン
// Primary CTA
<button className="bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-3 rounded-lg transition-colors cursor-pointer">
CTA
</button>
// Secondary
<button className="bg-white/10 hover:bg-white/20 text-white px-6 py-3 rounded-lg transition-colors cursor-pointer">
Secondary
</button>
// Disabled - コントラスト維持
<button className="bg-white/5 text-white/70 cursor-not-allowed" disabled>
Disabled
</button>
カード
// Glass card with accessible text
<div className="bg-white/5 backdrop-blur-xl border border-white/10 rounded-2xl p-6">
<h3 className="text-white font-semibold">Title</h3>
<p className="text-white/80">Description with sufficient contrast</p>
</div>
テキスト階層
// ソリッド背景(#0F0F1A 等)での使用
<h1 className="text-4xl font-bold text-white">見出し</h1>
<h2 className="text-2xl font-semibold text-white">サブ見出し</h2>
<p className="text-lg text-muted">本文(プロジェクトトークン使用)</p>
<span className="text-sm text-subtle">補足</span>
// Glass card 内での使用
<h3 className="text-white">タイトル</h3>
<p className="text-white/80">説明文</p>
アイコン
- 使用ライブラリ: Lucide Icons
- 禁止: 絵文字をアイコンとして使用しない
import { Music, Brain, Sparkles, Check, X } from 'lucide-react';
レスポンシブブレークポイント
/* Mobile first */
/* sm: 640px */
/* md: 768px */
/* lg: 1024px */
/* xl: 1280px */
/* 2xl: 1536px */
検証すべき画面幅:
- 320px (最小モバイル)
- 768px (タブレット)
- 1024px (デスクトップ)
- 1440px (大画面)
Pre-Delivery Checklist
- Lighthouse アクセシビリティ 100%(最重要)
- プロジェクトの globals.css トークンを使用
- Glass card 内テキストは text-white/80 以上
- バッジのコントラスト確認
- 絵文字アイコン不使用(Lucide使用)
- ダークモード対応
- グラスモーフィズム適用
- cursor-pointer on clickables
- レスポンシブ対応
- パフォーマンス最適化(画像、アニメーション)
コントラスト確認方法
実装後は必ず Lighthouse でアクセシビリティを確認:
# ローカル確認
npm run dev
lighthouse http://localhost:3000 --only-categories=accessibility --view
# 詳細な失敗項目の確認
lighthouse http://localhost:3000 --only-categories=accessibility --output=json | jq '.audits["color-contrast"]'
目標: Lighthouse Accessibility Score 100%
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です