agentleFS
AI-Driven-SchoolAI-Driven-School/aiki/.claude/skills/frontend-design/SKILL.md

frontend-design

Skill0 starsChanged 9 months agoMITView on GitHub

Generate distinctive, production-grade frontend UI code that avoids generic AI aesthetics. Follows opinionated design principles for unique visual identity. Use when building web UIs, components, or running /frontend-design.

187 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use instantly-campaign, albert-dm and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • yawningwhaleAISkill

    instantly-campaign

    Create a new Instantly cold-email campaign in the proven 5-email structure of the user's top-performing campaign (~16% reply rate). Use when the user wants to launch a new outbound campaign, write a cold email sequence, create an Instantly campaign, draft outreach for a new service or niche, or set up a sales sequence.

    Also in 6 projects that use this

  • yawningwhaleAISkill

    albert-dm

    Reply to DMs and messages the way Albert would. Use when the user asks "how would Albert reply to this", pastes a conversation and wants an Albert-style response, or asks you to draft/write a DM in Albert's voice. Albert sells AI voice agents / automations to local service businesses (Go High Level, lead follow-up, bookings).

    Also in 5 projects that use this

  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • julianoczkowskiSkill

    brief-to-tasks

    Break a design brief into an ordered checklist of independently buildable tasks using vertical slices. Saves as a markdown checklist. Use when user wants to break down work, create tasks from a brief, plan implementation order, or mentions "tasks" or "breakdown".

    Also in 7 projects that use this

  • SeifBenayedSkill

    file-reading

    Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files block. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Triggers: any mention of /mnt/user-data/uploads/, an uploaded_files section, a file_path tag, or a user asking about an uploaded file you have not yet read. Do NOT use this skill if the file content is already visible in your context inside a documents block — you already have it.

    Also in 6 projects that use this

  • +6 more from naman10parikh

The file

Files
SKILL.md

/frontend-design スキル

独自性のある、AI臭くないフロントエンドUIを生成します。

使用方法

/frontend-design ログインフォーム
/frontend-design ダッシュボード --style minimal
/frontend-design 商品カード --style bold

AI臭いデザインを避ける原則

❌ 避けるべきパターン

  1. グラデーション乱用
    • 紫→青→ピンクの派手なグラデーション
    • 背景全体にグラデーション
  2. 過剰な装飾
    • 無意味なアイコン配置
    • 過剰なシャドウとボーダー
    • ネオン風のグロー効果
  3. テンプレート感
    • Hero + 3カラム + CTA の定型レイアウト
    • 「Welcome to...」「Get Started」などの定型文
    • ストックフォト風のイラスト配置
  4. 一貫性のなさ
    • 余白のバラつき
    • フォントサイズの乱用
    • カラーの統一感なし

✅ 採用すべきアプローチ

  1. 制約のあるカラーパレット
    • 最大3色(プライマリ、アクセント、グレースケール)
    • 彩度を抑えた落ち着いた色使い
  2. 意図的な余白
    • 8px グリッドシステム
    • コンテンツに呼吸を持たせる
  3. タイポグラフィの階層
    • 明確なサイズ階層(3-4段階)
    • ウェイトのコントラスト
  4. 機能的な装飾のみ
    • 意味のあるアイコン
    • 状態を示すシャドウ

デザインスタイル

Minimal(ミニマル)

特徴: 余白重視、モノトーン基調、細いボーダー
用途: SaaS、ダッシュボード、管理画面

Bold(ボールド)

特徴: 大きなタイポグラフィ、コントラスト強め、ダークモード
用途: LP、ポートフォリオ、メディアサイト

Soft(ソフト)

特徴: 丸み、パステル調、アニメーション控えめ
用途: ヘルスケア、教育、子供向け

Corporate(コーポレート)

特徴: 信頼感、整列、控えめなアクセント
用途: 企業サイト、B2B、金融

カラーシステム

Minimal パレット

--bg: #fafafa;
--surface: #ffffff;
--text-primary: #18181b;
--text-secondary: #71717a;
--border: #e4e4e7;
--accent: #18181b;

Bold パレット

--bg: #09090b;
--surface: #18181b;
--text-primary: #fafafa;
--text-secondary: #a1a1aa;
--border: #27272a;
--accent: #fafafa;

Soft パレット

--bg: #fef7f0;
--surface: #ffffff;
--text-primary: #44403c;
--text-secondary: #78716c;
--border: #f5f5f4;
--accent: #ea580c;

コンポーネントライブラリ

ボタン

<!-- Primary -->
<button class="px-4 py-2.5 bg-zinc-900 text-white text-sm font-medium rounded-lg hover:bg-zinc-800 transition-colors">
    続ける
</button>

<!-- Secondary -->
<button class="px-4 py-2.5 bg-white text-zinc-900 text-sm font-medium rounded-lg border border-zinc-200 hover:bg-zinc-50 transition-colors">
    キャンセル
</button>

<!-- Ghost -->
<button class="px-4 py-2.5 text-zinc-600 text-sm font-medium rounded-lg hover:bg-zinc-100 transition-colors">
    詳細を見る
</button>

入力フィールド

<div class="space-y-1.5">
    <label class="block text-sm font-medium text-zinc-700">メールアドレス</label>
    <input type="email"
        class="w-full px-3.5 py-2.5 text-sm bg-white border border-zinc-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-zinc-900 focus:ring-offset-1 placeholder:text-zinc-400"
        placeholder="you@example.com">
</div>

カード

<div class="bg-white rounded-xl border border-zinc-200 p-5">
    <div class="flex items-start justify-between">
        <div>
            <h3 class="text-sm font-semibold text-zinc-900">プロジェクト名</h3>
            <p class="text-sm text-zinc-500 mt-0.5">最終更新: 2時間前</p>
        </div>
        <span class="px-2 py-1 text-xs font-medium text-emerald-700 bg-emerald-50 rounded-md">
            アクティブ
        </span>
    </div>
</div>

ナビゲーション

<nav class="flex items-center justify-between px-6 py-4 border-b border-zinc-100">
    <div class="flex items-center gap-8">
        <span class="text-lg font-semibold text-zinc-900">ロゴ</span>
        <div class="flex items-center gap-6">
            <a href="#" class="text-sm font-medium text-zinc-900">ホーム</a>
            <a href="#" class="text-sm text-zinc-500 hover:text-zinc-900">機能</a>
            <a href="#" class="text-sm text-zinc-500 hover:text-zinc-900">料金</a>
        </div>
    </div>
    <button class="px-4 py-2 text-sm font-medium text-white bg-zinc-900 rounded-lg">
        始める
    </button>
</nav>

モックアップ連携

/frontend-design で生成したコードは /mockup でPNG化できます。

> /frontend-design ログイン画面 --style minimal

[HTMLコード生成]

> /mockup ログイン画面

✅ mockups/login.png を作成しました

実装ガイドライン

1. 構造から始める

まずレイアウトとスペーシングを決定。装飾は最後。

2. 本物のコンテンツを使う

「Lorem ipsum」ではなく、実際のコピーライティングを意識。

3. 状態を考慮する

  • Empty state
  • Loading state
  • Error state
  • Success state

4. アクセシビリティ

  • 十分なコントラスト比
  • フォーカス状態の可視化
  • セマンティックHTML

出力例

> /frontend-design ユーザープロフィールカード --style minimal

生成中...

✅ コンポーネント生成完了

📁 出力ファイル:
  - components/ProfileCard.tsx
  - components/ProfileCard.stories.tsx (Storybook)

🎨 スタイル: Minimal
📐 レスポンシブ: sm, md, lg
♿ アクセシビリティ: WCAG 2.1 AA

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.