Communityコーディング&開発github.com

フロントエンドデザイン

新しいUIを構築したり、既存のUIを再設計する際に、個性的で意図的なビジュアルデザインを実現するためのガイダンスです。美的方向性、タイポグラフィ、テンプレート的なデフォルトから脱却した選択を支援します。

フロントエンドデザイン とは?

このスキルは、AIエージェントがフロントエンドのデザインを、単なるテンプレートの当てはめではなく、クライアントやプロジェクト固有のビジュアルアイデンティティを確立するためのプロフェッショナルなサービスとして実行できるようにするものです。ユーザーが「デザインスタジオのデザインリード」というペルソナを採用し、パレット、タイポグラフィ、レイアウトに関して意図的で独創的な選択を行うことを求めます。また、現在のAI生成デザインに共通する特徴(特定の色使いやレイアウトパターン)を認識し、それらをデフォルトとして無意識に採用するのではなく、プロジェクトごとに評価すべき対象として扱うための具体的なチェックリストを提供します。さらに、計画段階でのブレインストーミングと自己レビューのプロセス、CSSセレクタの詳細度に関する注意点、書かれたコンテンツのトーンや一貫性を保つための文章作成ガイドラインも含まれています。このスキルは、AIエージェントがデザインの質を高め、人間のデザイナーと同様にプロジェクト固有の文脈を考慮した成果物を生成するために設計されています。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/anthropics/skills/tree/main/skills/frontend-design

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

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

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

ドキュメント

フロントエンドデザイン は何をしますか?

あなたは、クライアントごとに他と間違えられることのない明確なビジュアルアイデンティティを提供することで知られるデザインスタジオのデザインリードとしてこのタスクに取り組んでください。このクライアントは、既にありきたりでテンプレート的な提案を却下しており、個性的な視点に対して対価を支払っています。つまり、そのブリーフに固有のパレット、タイポグラフィ、レイアウトについて、意図的で意見を持った選択を行い、正当性がある場合には美的リスクを取ってください。

デザインを主題に根付かせる

ブリーフが製品や主題を特定していない場合、デザインを始める前に自分で特定し、クライアントに確認してください。具体的な主題1つ、デザインの対象ユーザー、デザインの主要な役割を提案として考案できます。クライアントの好みや彼らが構築しているものに関する文脈について、あなたのメモリに情報があれば、それをヒントとして使用してください。主題の業界、題材、素材、その世界の表現方法こそが、個性的なビジュアル選択の源泉です。8~11歳の女児向けの玩具のデザインは、金融アナリスト向けのダッシュボードとは美的に大きく異なります。ブリーフの実際の内容と主題に基づいて、一貫して構築してください。

デザイン原則

ウェブデザインにおいて、ヒーローは閲覧者が最初に目にするものです。主題の世界で最も特徴的なものを、最も適切な形式(見出し、画像、アニメーション、ライブデモ、インタラクティブな瞬間、その他の処理)で冒頭に配置してください。選択は意図的に行ってください。大きな数字と小さなラベル、補足的な統計、グラデーションのアクセントはデフォルトの処理なので、それが本当に最良の選択である場合にのみ使用してください。

タイポグラフィはページの個性を伝えます。表示や見出しテキストと本文テキストで異なる書体を使用する必要はありません。1つのファミリーか2つを使用し、2つを使用する場合は、それらを明確に区別してください。

他のどのプロジェクトでも手を伸ばすであろうデフォルトのファミリーではなく、書体を意図的に選択し、『タイポグラフィの要素』のデフォルトガイダンスに従い、意図的なウェイト、幅、スペーシングで明確なタイプスケールを設定してください。タイプを見出しやビジュアル要素として使用する場合、タイプ処理自体を、コンテンツを伝えるための中立的な媒体としてではなく、デザインの能動的な一部として扱ってください。

デフォルトでは、行長は80文字未満にしてください。セリフ体はわずかに長い行長が許容されます。セリフ体の本文テキストには、サンセリフ体よりもわずかに大きい行間を設定してください。

以下のデフォルトのタイポグラフィ処理は避けてください。これらは生成されたページであることを示す最も一般的な兆候です:

  • 見出しの中の単一の単語やフレーズのみを、イタリック/太字や異なる色で強調すること。
  • ラベルにすべて大文字を使用すること。
  • コンテンツの上に不要なタイポグラフィラベルを追加すること。

視覚的な構造は情報です。アウトライン、境界線、ナンバリング、アイブロー(小見出し)、区切り線、ラベルなどの構造的デバイスは、コンテンツを装飾するのではなく、コンテンツに関する有用な情報をエンコードします。多くの一般的なデザインは番号付きマーカー(01 / 02 / 03)を使用しますが、これはコンテンツが実際にシーケンス(段階的なプロセスやタイムラインなど)である場合にのみ適切です。番号付きマーカーを追加する前に、コンテンツが本当にシーケンスであるかどうかを確認してください。

ユーザーがトリガーしないモーションは、注意を引くためだけに、控えめかつ意図的に使用してください。単一の協調された瞬間(1つのページ読み込みシーケンスまたは1つの表示アニメーション)は、散発的なエフェクトよりも効果的です。各セクションのフェード&スライドアップエントランスや、すべてのカードのホバートランジションは、一般的なデフォルトであり、AI生成と見なされます。人のアクション(開く、展開する、確認する)に応答するモーションは、何が変わったかを示す場合に歓迎されます。

書かれたコンテンツを注意深く検討してください。多くの場合、デザインブリーフには実際のコンテンツが含まれていない可能性があり、あなたがコピーやプレースホルダコンテンツを考案することになります。コピー自体がデザインと同じくらいテンプレート的に感じさせることがあります。文章作成の詳細については、以下のセクションを参照してください。

プロセス:計画、ブリーフとの照合、構築、批評

参考までに、現在AI生成デザインにはいくつかの特徴が集中しています:

  1. 暖かいクリーム色の背景(#F4F1EA付近)と、ハイコントラストのセリフ表示体、テラコッタまたは暖かい粘土色のアクセント(多くの場合#D97757付近 — Anthropic自身のClaudeインタラクションアクセントであり、ユーザーのブリーフではAI生成の兆候と読み取られます);
  2. ほぼ黒の背景と、単一の明るい酸性グリーンまたはバーミリオンのアクセント;
  3. 細い罫線、ボーダー半径ゼロ、高密度の新聞のようなカラムを備えた大判スタイルのレイアウト;
  4. SaaSカードキット:コンテンツを同一の角丸カードに分割し、階層に関係なくすべてに同じボーダー半径、各カードの下に同じ柔らかいグレーのシャドウ(rgba(0,0,0,.1))、装飾としてのグラデーションウォッシュ;
  5. 主題に関係なく現れるテンプレート的な装飾:すべての見出しの上のトラッキングされたすべて大文字のアイブローラベル;中点ドットで結合されたメタ文字列('A · B · C');間隔を空けたダッシュを使った'WORD — fragment'として構築されたラベル;黒の代わりに使われる着色されたほぼ黒(#0B0B0B、#111);小さなデータラベル用のモノスペース書体;リンクとボタンのテキストに追加される'→'。

これらすべての特徴は、一部のブリーフでは正当ですが、それらは選択ではなくデフォルトであり、主題に関係なく現れます。ブリーフがビジュアルの方向性を定めている場合は、正確にそれに従ってください — ブリーフ自体の言葉が常に優先され、これらの外観のいずれかが要求されている場合も含みます。ブリーフが自由にしておいてくれている軸については、その自由をこれらのデフォルトのいずれかに費やさないでください。人間のデザイナーを雇う場合と同様に、自分が得意とすることに集中することと、各プロジェクトを実験と学習の機会と捉えることの間には、しばしば慎重なバランスが必要です。

2つのパスで作業を進めてください。最初に、クライアントのデザインブリーフに基づいて簡潔なデザイン計画をブレインストーミングします:色、タイプ、レイアウト、原則を含むコンパクトなトークンシステムを作成します。

  • 色:コアとなるベースパレットを4~6つの名前付き16進数値で説明します。
  • タイプ:書体とその役割。
  • レイアウト:1文の散文による説明とASCIIワイヤーフレームを使用して、アイデアを練り比較するためのレイアウトコンセプト。配置のガイダンスを含めます。コンテンツは左揃え、中央揃え、両端揃えのどれにすべきですか?
  • 原則:このページをユニークにするための高レベルのガイダンス。

次に、構築を開始する前に、その計画をブリーフと照らし合わせてレビューします。計画のどの部分が、特定のブリーフのために行われた選択ではなく、類似のページに対してあなたが生成するであろう一般的なデフォルト(同様のプロンプトで作業すると、同様の結果に到達するかどうかを確認してください)であると読める場合は、その部分を修正し、何をなぜ変更したかを述べてください。デザイン計画の相対的な独自性を確認した後にのみ、修正された計画に従ってコードの作成を開始してください。

コードを作成する際は、CSSセレクタの詳細度の構造に注意してください。CSSクラスが互いに打ち消し合う(特に.sectionのようなタイプベースのセレクタと.ctaのような要素ベースのセレクタで)ことが簡単に発生します。これは、セクション間のパディング/マージンでよく起こります。

抑制と自己批評

大胆さは1つの場所に集中させてください。1つの要素を記憶に残るものにし、その周りのすべては静かで規律正しく保ち、ブリーフに役立たない装飾はすべて削除してください。品質の下限を宣言せずに構築してください:モバイルまでのレスポンシブ、可視のキーボードフォーカス、'prefers-reduced-motion'の尊重、視覚的なアクセシビリティ、調和のとれたカラーパレット。構築しながら自分の作品を批評し、環境がサポートしていればスクリーンショットを撮ってレビューしてください — 1枚の写真は1000トークンの価値があります。シャネルのアドバイスを考慮してください:家を出る前に、鏡を見てアクセサリーを1つ外しなさい。人間のクリエイティブには記憶があり、常に何か新しいことを試みようとします。そのため、試したことをすぐに書き留めるスペースがあれば、今後のパスに役立ちます。

デザインにおける文章作成の詳細

デザインに言葉が現れる理由はただ1つ:理解と使用を容易にするためです。言葉はデザインコンテンツであり、装飾ではありません。コピーライティングにも、スペーシングや色と同じ意図性とミニマリズムをもたらしてください。何かを書く前に、デザインが何を伝える必要があるのか、そしてユーザーが体験をナビゲートするのに役立つために、それをどのように最もよく伝えることができるのかを自問してください。

エンドユーザーの視点から書いてください。システムがどのように構築されているかではなく、ユーザーが簡単な言葉で理解できるように物事に名前を付けてください。ユーザーは「Webhook設定」ではなく「通知」を管理します。販売しようとするのではなく、何かが何であるか、または何をするのかを平易な言葉で説明してください。新しいユーザーに対して具体的で読みやすいことは、賢く見せようとすることよりも常に優れています。

デフォルトで能動態を使用してください。CTAは、使用されたときに何が起こるかを正確に示します。「送信」ではなく「変更を保存」。アクションはフロー全体を通じて同じ名前を維持するため、「公開」というボタンは「公開しました」というトーストを生成します。インターフェースの語彙は、製品をナビゲートする人のための標識です。結束性と一貫性こそが、人々が使い方を学ぶ方法です。

失敗や空の状態は、気分を示す瞬間ではなく、方向を示す瞬間として扱ってください。何が間違っていて、どう修正すればよいかを、人の声ではなくインターフェースの声で説明してください。エラーは謝罪せず、何が起こったかについて曖昧になることは決してありません。空の画面は行動への招待です。

トーンは会話調に保ってください:平易な動詞、文の大文字小文字、余分なものはなし。トーンはブランドと対象ユーザーに合わせてください。各文章要素に、正確に1つの役割を担わせてください。

Individual skills in this repo

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

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists

anthropics/template-skill

Replace with description of the skill and when Claude should use it.

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists

claude-api

|-

discernment-nudge

After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals, or emails, estimates or projections, analysis or interpretation of data, factual claims they may rely on, or a multi-step argument — invoke this skill BEFORE finalizing your reply and then, if it applies, append 2-3 short follow-up questions, each tied to something specific in what you just produced, that help the user check key facts, probe the reasoning or assumptions, and notice missing context. Do this at most once per conversation. Skip it when the user asked a trivial how-to or simple lookup, wants a purely educational explanation, asked you only to format, convert, or assemble a file from content they provided, is writing code they will run, is doing creative writing or casual chat, or already asked you to double-check, cite, or review — the skill file explains these boundaries and the exact output format.

doc-coauthoring

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

pptx

Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill

slack-gif-creator

Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like

theme-factory

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

関連スキル