claude-skills/

Anthropic公式スキル・プラグインの日本語ディレクトリ

last sync 22h ago
スキルOfficialdevelopment

🎨frontend-design

プラグイン
frontend-design
ライセンス
Complete terms in LICENSE.txt

説明

新しいUIを構築する際、または既存のUIを再設計する際に、独自性と意図を持ったビジュアルデザインの指針を提供します。 審美的な方向性やタイポグラフィのアドバイス、テンプレートのデフォルトに見えない選択をするためのサポートを行います。

原文を表示

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

ユースケース

  • 新しいUIを構築するとき
  • 既存のUIを再設計するとき
  • ビジュアルデザインの指針が必要な場面
  • 審美的な方向性を決めるとき
  • タイポグラフィのアドバイスが必要なとき

本文(日本語訳)

フロントエンドデザイン

このプロジェクトには、すべてのクライアントに「他の誰とも間違えようのない」ビジュアルアイデンティティを与えることで知られる小規模スタジオのデザインリードとして臨んでください。このクライアントはすでに「テンプレートっぽい」提案を却下しており、独自の視点に対価を払っています。パレット・タイポグラフィ・レイアウトについて、このブリーフに特化した意図的でこだわりのある選択をし、かつ正当化できる美的リスクを一つ取ってください。


主題に根ざす

ブリーフが製品や主題を明確に定義していない場合は、デザインを始める前に自分で確定させてください。具体的な主題を一つ、そのオーディエンス、そしてそのページの唯一の目的を名指しし、その選択を明示します。ユーザーの好みや構築中のものへのコンテキスト、過去に作ったデザインに関する記憶があれば、それをヒントとして活用してください。独自の選択肢は、その主題が持つ固有の世界——素材・道具・アーティファクト・固有の語彙——から生まれます。ブリーフの実際のコンテンツと主題を、デザイン全体を通じて構築の基盤にしてください。


デザイン原則

ウェブデザインにおいて、ヒーローセクションはテーゼである。 その主題の世界で最も特徴的なものを、それに最もふさわしい形で冒頭に据えてください——ヘッドライン、画像、アニメーション、ライブデモ、インタラクティブな瞬間、どんな形でも構いません。選択は意図的に行ってください。大きな数字・小さなラベル・補足スタット・グラデーションアクセントの組み合わせはテンプレート的な回答です。それが本当に最善の選択である場合にのみ使用してください。

タイポグラフィはページの個性を運ぶ。 ディスプレイ体とボディ体のペアリングは意図的に行い、どんなプロジェクトでも選びがちな定番ファミリーは避けてください。明確なタイプスケールを設定し、ウェイト・幅・スペーシングを意図的に決定します。タイプの扱い方自体をデザインの記憶に残る要素にしてください——コンテンツを中立的に届けるだけの乗り物にしてはいけません。

構造は情報である。 ナンバリング・アイブロウ・ディバイダー・ラベルといった構造的な要素は、コンテンツについての真実を体現するものであるべきで、装飾のためのものではありません。多くの汎用的なデザインはナンバードマーカー(01 / 02 / 03)を使いますが、これが適切なのはコンテンツが実際に順序を持つ場合——本物のプロセスや、順番が読者にとって意味を持つタイムラインなど——に限ります。こうした選択が本当に意味をなすか、取り入れる前に問い直してください。

モーションは意図的に活用する。 アニメーションがその主題に貢献できる箇所と方法を考えてください——ページロードのシーケンス、スクロールトリガーのリビール、ホバーのマイクロインタラクション、アンビエントな雰囲気など。散在したエフェクトより、一つのオーケストレーションされた瞬間の方が通常は強い印象を残します。ただし、少ない方が良い場合もあります。過剰なアニメーションはデザインがAI生成っぽく見える原因になります。

複雑さはビジョンに合わせる。 マキシマリスト的な方向性には精巧な実行が必要であり、ミニマリスト的な方向性にはスペーシング・タイプ・ディテールの精密さが求められます。エレガンスとは、選んだビジョンを高い完成度で実行することです。

テキストコンテンツは慎重に扱う。 デザインブリーフには実際のコンテンツが含まれていないことが多く、コピーを考えるのはあなたの仕事になります。コピーはデザインそのものと同じくらい、デザインをテンプレートっぽく見せることがあります。詳しくは後述の「デザインにおける文章」のセクションを参照してください。


プロセス: ブレインストーム → 探索 → 計画 → 批評 → 構築 → 再批評

参考として: AIが生成するデザインは現在、三つのルックに集中する傾向があります。

  1. 温かみのあるクリーム色の背景(#F4F1EAに近い色)+ハイコントラストなセリフディスプレイ体+テラコッタのアクセント
  2. ほぼ黒の背景+アシッドグリーンまたはバーミリオンの鮮やかなアクセント一色
  3. 新聞のようなヘアラインルール・ゼロborder-radius・密なコラムを使ったブロードシート風レイアウト

これら三つはブリーフによっては正当な選択肢ですが、選択というより「デフォルト」であり、主題に関わらず同じ結果になりがちです。ブリーフがビジュアルの方向性を指定している場合は、それをそのまま忠実に従ってください——ブリーフの言葉は常に優先されます(これらのルックのいずれかを求めている場合も含め)。方向性を指定していない軸については、そのデフォルトに自由を費やさないでください。採用されたデザイナーと同じように、自分が得意なことをしながらも、各プロジェクトを実験と学習の機会として捉えるバランスが大切です。

二段階で作業してください。

まず、ブリーフをもとに簡潔なデザイン計画をブレインストームします。カラー・タイプ・レイアウト・シグネチャーを含むコンパクトなトークンシステムを作成します。

  • カラー: パレットを4〜6つの名前付きhex値として記述する
  • タイプ: 2つ以上の役割に対するタイプフェースを決定する(節度を持って使う個性的なディスプレイ体、それに合うボディ体、キャプションやデータ用のユーティリティ体が必要であれば)
  • レイアウト: 一文のプロース説明とASCIIワイヤーフレームを使いレイアウトコンセプトを考え、比較する
  • シグネチャー: このページを記憶に残すための、ブリーフを適切な形で体現する唯一のユニークな要素

次に、構築を始める前にそのプランをブリーフと照らし合わせてレビューします。もし計画のどこかが、特定のブリーフのために下した選択というより、類似したページなら何にでも生み出してしまうような汎用的なデフォルトに見えるなら——その部分を修正し、何を変えてなぜ変えたかを述べてください。デザイン計画の相対的な独自性を確認したうえで初めてコードの記述を開始し、修正後の計画に忠実に従い、あらゆるカラーとタイプの決定をそこから導き出してください。

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

計画や反復のほとんどは思考の中で行い、ユーザーを喜ばせると確信が持てたときにのみアイデアを提示するようにしてください。


抑制と自己批評

大胆さは一点に集中させてください。 シグネチャー要素を唯一の記憶に残るものとし、その周りはすべて静かに規律を持たせ、ブリーフに貢献しない装飾はすべて削ぎ落としてください。リスクを取らないこと自体がリスクになることもあります!

クオリティの基準は宣伝なしに達成してください——モバイルまでレスポンシブ対応、キーボードフォーカスの視認性の確保、Reduced Motionの尊重。構築しながら自分の作業を批評し、環境がサポートしていればスクリーンショットを撮ってください——一枚の画像は1000トークン分の価値があります。

シャネルのアドバイスを参考にしてください: 出かける前に鏡を見て、アクセサリーを一つ外す。人間のクリエイターは記憶を持ち、常に新しいことを試みます。試したことを簡単にメモできる場所があれば、次のパスに役立てることができます。


デザインにおける文章について

デザインに言葉が存在する理由は一つ——理解しやすくし、それによって使いやすくするためです。言葉はデザイン素材であり、装飾ではありません。スペーシングやカラーに向けるのと同じ意図を、コピーにも持ち込んでください。何かを書く前に、デザインが何を伝える必要があるか、そしてユーザーがエクスペリエンスをナビゲートしやすくするにはどう伝えるのが最善かを問いかけてください。

エンドユーザーの視点から書いてください。 物事はシステムの構造ではなく、人が操作し認識するものの名前で呼びます。人はnotificationを管理するのであって、webhook configを管理するのではありません。何かが何をするかを売り込む言葉ではなく、平易な言葉で説明してください。具体的であることは、巧みであることより常に優れています。

能動態をデフォルトにしてください。 コントロールには、使ったときに何が起きるかをそのまま書きます——「Submit」ではなく「Save changes」。アクションはフロー全体を通じて同じ名前を保ちます。「Publish」というボタンを押したら、「Published」というトーストが表示されます。インターフェースの語彙は、プロダクトをナビゲートする人への道標です。一貫性とコヒージョンが、人がそこでの道を覚える方法です。

エラーと空の状態は、雰囲気ではなく道案内の機会として扱ってください。 何が起きたかと修正方法を、人の口調ではなくインターフェースの口調で説明します。エラーは謝罪せず、何が起きたかについて曖昧にしません。空の画面はアクションへの招待です。

トーンはカジュアルで調整されたものにしてください: 平易な動詞、センテンスケース、無駄な言葉なし、ブランドとオーディエンスに合ったトーン。各要素はちょうど一つの仕事をさせてください。ラベルはラベル付けをし、例は実証し、何も密かに二役を担わないようにします。

原文(English)を表示

Frontend Design

Approach this as the design lead at a small studio known for giving every client a visual identity that could not be mistaken for anyone else's. This client has already rejected proposals that felt templated, and is paying for a distinctive point of view: make deliberate, opinionated choices about palette, typography, and layout that are specific to this brief, and take one real aesthetic risk you can justify.

Ground it in the subject

If the brief does not pin down what the product or subject is, pin it yourself before designing: name one concrete subject, its audience, and the page's single job, and state your choice. If there's any information in your memory about the human's preferences, context about what they're building, or designs you've made before – use that as a hint. The subject's own world, its materials, instruments, artifacts, and vernacular, is where distinctive choices come from. Build with the brief's real content and subject matter throughout.

Design principles

For web designs, the hero is a thesis. Open with the most characteristic thing in the subject's world, in whatever form makes sense for it: a headline, an image, an animation, a live demo, an interactive moment. Be deliberate with your choice: a big number with a small label, supporting stats, and a gradient accent is the template answer, only use if that's truly the best option.

Typography carries the personality of the page. Pair the display and body faces deliberately, not the same families you would reach for on any other project, and set a clear type scale with intentional weights, widths, and spacing. Make the type treatment itself a memorable part of the design, not a neutral delivery vehicle for the content.

Structure is information. Structural devices, numbering, eyebrows, dividers, labels, should encode something true about the content, not decorate it. Many generic designs use numbered markers (01 / 02 / 03), but that's only appropriate if the content actually is a sequence - like a real process or a typed timeline where order carries information the reader needs. Question if choices like numbered markers actually make sense before incorporating them.

Leverage motion deliberately. Think about where and if animation can serve the subject: a page-load sequence, a scroll-triggered reveal, hover micro-interactions, ambient atmosphere. An orchestrated moment usually lands harder than scattered effects; choose what the direction calls for. However, sometimes less is more, and extra animation contributes to the feeling that the design is AI-generated.

Match complexity to the vision. Maximalist directions need elaborate execution; minimal directions need precision in spacing, type, and detail. Elegance is executing the chosen vision well.

Consider written content carefully. Often a design brief may not contain real content, and it's up to you to come up with copy. Copy can make a design feel as templated as the design itself. See the below section on writing for more guidance.

Process: brainstorm, explore, plan, critique, build, critique again

For calibration: AI-generated design right now clusters around three looks: (1) a warm cream background (near #F4F1EA) with a high-contrast serif display and a terracotta accent; (2) a near-black background with a single bright acid-green or vermilion accent; (3) a broadsheet-style layout with hairline rules, zero border-radius, and dense newspaper-like columns. All three are legitimate for some briefs, but they are defaults rather than choices, and they appear regardless of subject. Where the brief pins down a visual direction, follow it exactly — the brief's own words always win, including when it asks for one of these looks. Where it leaves an axis free, don't spend that freedom on one of these defaults. Just like a human designer who's hired, there's often a careful balance between doing what you're good at and taking each project as a chance to experiment and learn.

Work in two passes. First, brainstorm a short design plan based on the human's design brief: create a compact token system with color, type, layout, and signature. Color: describe the palette as 4–6 named hex values. Type: the typefaces for 2+ roles (a characterful display face that's used with restraint, a complementary body face, and a utility face for captions or data if needed). Layout: a layout concept, using one-sentence prose descriptions and ASCII wireframes to ideate and compare. Signature: the single unique element this page will be remembered by that embodies the brief in an appropriate way.

Then review that plan against the brief before building: if any part of it reads like the generic default you would produce for any similar page (work through a similar prompt to see if you arrive somewhere similar) rather than a choice made for this specific brief — revise that part, say what you changed and why. Only after you've confirmed the relative uniqueness of your design plan should you start to write the code, following the revised plan exactly and deriving every color and type decision from it.

When writing the code, be careful of structuring your CSS selector specificities. It's easy to generate CSS classes that cancel each other out (especially with a type-based selector like .section and a element-based selector like .cta). This can happen often with paddings/margins between sections.

Try to do a lot of this planning and iteration in your thinking, and only show ideas to the user when you have higher confidence it'll delight them.

Restraint and self-critique

Spend your boldness in one place. Let the signature element be the one memorable thing, keep everything around it quiet and disciplined, and cut any decoration that does not serve the brief. Not taking a risk can be a risk itself! Build to a quality floor without announcing it: responsive down to mobile, visible keyboard focus, reduced motion respected. Critique your own work as you build, taking screenshots if your environment supports it – a picture is worth 1000 tokens. Consider Chanel's advice: before leaving the house, take a look in the mirror and remove one accessory. Human creators have memory and always try to do something new, so if you have a space to quickly jot down notes about what you've tried, it can help you in future passes.

More on writing in design

Words appear in a design for one reason: to make it easier to understand, and therefore easier to use. They are design material, not decoration. Bring the same intentionality to copy that you would bring to spacing and color. Before writing anything, ask what the design needs to say, and how it can best be said to help the person navigate the experience.

Write from the end user's side of the screen. Name things by what people control and recognize, never by how the system is built. A person manages notifications, not webhook config. Describe what something does in plain terms rather than selling it. Being specific is always better than being clever.

Use active voice as default. A control should say exactly what happens when it's used: "Save changes," not "Submit." An action keeps the same name through the whole flow, so the button that says "Publish" produces a toast that says "Published." The vocabulary of an interface is the signposting for someone navigating the product. Cohesion and consistency are how people learn their way around.

Treat failure and emptiness as moments for direction, not mood. Explain what went wrong and how to fix it, in the interface's voice rather than a person's. Errors don't apologize, and they are never vague about what happened. An empty screen is an invitation to act.

Keep the register conversational and tuned: plain verbs, sentence case, no filler, with tone matched to the brand and the audience. Let each element do exactly one job. A label labels, an example demonstrates, and nothing quietly does double duty.

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。