Communitygithub.com

フロントエンドデザイン方針 (ECC)

ECC固有のフロントエンドデザイン方針を設定し、プロダクションUI作業を支援します。Webサイト、ダッシュボード、アプリケーション、コンポーネント、ランディングページ、ビジュアルツールなど、プロダクト固有のデザイン判断が求められるあらゆるWeb UIの構築や改善に使用します。

フロントエンドデザイン方針 (ECC) とは?

このスキルは、プロダクトドメインに適した、意図的で洗練されたUIデザインを実現するためのものです。単に機能するだけでなく、目的に合った印象を与えるWeb UIの構築や改善に焦点を当てています。ECC (Anthropic社のプロダクト) 向けにカスタマイズされており、コミュニティPR #1659から着想を得ています。適用タイミングやデザイン方針の決め方、実装ガイダンス、アンチパターン、レビューチェックリストを提供します。このスキルは、汎用的な `frontend-design` スキルのECC固有バージョンであり、ユーティリティトーンからエディトリアルトーンまで、幅広いデザインの方向性をカバーします。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/frontend-design-direction

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

フロントエンドデザイン方針

このスキルは、UIを機能的にするだけでなく、プロダクトドメインにふさわしい、目的に合った洗練された印象を与える必要がある場合に使用します。

出典: コミュニティPR #1659 (by linus707) からの救出。

注: ECCは意図的にAnthropic公式の frontend-design スキルを再バンドルしていません。公式のアップストリームスキルが必要な場合は anthropics/skills からインストールしてください。このスキルは、#1659からの有用なローカルガイダンスをECC固有のデザイン方針として救出したものです。

使用タイミング

  • ユーザーがWebページ、アプリ、ダッシュボード、アーティファクト、コンポーネント、UIの構築を依頼した場合。
  • ユーザーがインターフェースをより洗練されたもの、特徴的なもの、美しいもの、あるいは一般的でないものにしたいと依頼した場合。
  • 実装に、視覚的階層、タイポグラフィ、色、動き、レイアウト、インタラクションの選択が必要な場合。
  • 現在のUIは機能するが、フラットで、一般的で、テンプレート的であり、対象ユーザーに合っていないと感じられる場合。

デザイン方針

コードを書く前に、具体的な方針を選択してください:

  1. 目的: インターフェースはどのような役割を果たすか?
  2. 対象ユーザー: 誰がこのワークフローを繰り返し使用するか?彼らが最初にスキャンする必要があるものは何か?
  3. トーン: 実用的、エディトリアル、遊び心、工業的、洗練された、技術的、マキシマル、ミニマル、情報密度が高い、落ち着いた、またはその他の明確な方向性。
  4. 印象的なディテール: 結果を意図的に見せるための1つのデザインアイデア。
  5. 制約: フレームワーク、アクセシビリティ、パフォーマンス、レスポンシブ対応、既存のデザインシステム。

方向性をドメインに合わせてください。SaaS運用ツールは通常、情報密度が高く、控えめで、スキャンしやすいものであるべきです。ポートフォリオ、ローンチページ、ゲーム、エディトリアル作品はより表現的であっても構いません。日常的に繰り返し使用されるツールに、ランディングページのような構成を強制しないでください。

実装ガイダンス

  • ユーザーが明示的にマーケティングコピーを要求しない限り、最初の画面として実際に使用可能なエクスペリエンスを構築してください。
  • 新しいビジュアルシステムを導入する前に、既存のプロジェクトコンポーネント、トークン、アイコンライブラリ、ルーティングパターンを使用してください。
  • インターフェースが画像、製品、場所、人物、ゲームプレイ、チャート、または検査可能なメディアに依存する場合は、実際の、または生成されたビジュアルアセットを使用してください。
  • 一般的な特大のヒーローテキストよりも、コンテキストに応じたタイポグラフィとスペーシングを優先してください。
  • パレットは多次元に保ってください。1つの色相ファミリーで支配されたUIは避けてください。
  • CSS変数または既存のデザイントークンを使用して、状態間で方向性が一貫して保たれるようにしてください。
  • レスポンシブ制約を明示的に設計してください: グリッド、アスペクト比、最小/最大サイズ、安定したツールバー、固定フォーマットのコントロールは、ラベルやホバー状態が表示されても変化しないようにしてください。
  • 動きは控えめに、しかし意図的に使用してください。状態を明確にする高シグナルのトランジションを、装飾的なアニメーションよりも優先してください。
  • モバイルとデスクトップでのテキストの収まりを確認してください。長いラベルはオーバーフローするのではなく、きれいに折り返すかリサイズされる必要があります。

アンチパターン

  • よくある生成パターン(紫のグラデーション、装飾的なブロブ、特大のカード、曖昧なヒーローコピー、ストック風の雰囲気メディア)をデフォルトにしないでください。
  • カードの中にさらにUIカードを追加しないでください。
  • ドメインが抑制を要求している場合に、単一の装飾スタイルをあらゆる場所で使用しないでください。
  • 主要な製品、ツール、オブジェクト、ワークフローを、一般的なマーケティングセクションの背後に隠さないでください。
  • デザインの華やかさのために新しい依存関係を追加しないでください。ただし、それが明確に価値を提供する場合は除きます。
  • コントロールがそれ自体で語れる場合に、UI内でUIの機能を説明しないでください。

レビューチェックリスト

  • 最初のビューポートで、製品、ワークフロー、またはオブジェクトがすぐに伝わるか。
  • 視覚的階層がスキャンと繰り返しの使用をサポートしているか。
  • タイポグラフィがコンテナに収まり、隣接するコンテンツと重なっていないか。
  • 色の選択にコントラストがあり、単調なパレットになっていないか。
  • アイコンは、利用可能な場合、使い慣れたツールアクションに使用されているか。
  • レスポンシブレイアウトは、ボード、グリッド、ツールバー、コントロール、タイル、カウンターに対して安定した寸法を持っているか。
  • アセットがレンダリングされ、単なる埋め草としてではなく主題を伝えているか。
  • 動きは方向性を改善し、動作の遅さを隠していないか。
  • 結果は、明確な理由がない限り、リポジトリの既存のフロントエンド規約に一致しているか。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

関連スキル