Frontend Designのロゴ

Frontend Design

コミュニティ
opensesh
frontend-design

Use when building UI components, making design decisions for frontend work, reviewing UI implementation quality, or planning interaction patterns.

Add to TypingMind

概要

公開者opensesh
リポジトリDESIGN-OPS
スキル名frontend-design
スター
23
フォーク
5
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    openseshがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Frontend Design」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/opensesh/DESIGN-OPS/tree/main/skills/frontend-design
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opensesh/DESIGN-OPS.git /tmp/DESIGN-OPS
mkdir -p .claude/skills
cp -r /tmp/DESIGN-OPS/skills/frontend-design .claude/skills/frontend-design
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFrontend Designを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFrontend Designを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Frontend Designは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Frontend Design

Create distinctive, production-grade frontend interfaces with intentional aesthetics.

Purpose

This skill guides creation of frontend interfaces that feel genuinely designed—not auto-generated. It covers design thinking, interaction patterns, motion, forms, layout, accessibility, and performance.

When to Activate

Use this skill when:

  • Building UI components or pages
  • Making design decisions for frontend work
  • Reviewing UI implementation quality
  • Planning interaction patterns

1. Design Thinking

Before writing any code, establish your design intent:

Purpose & Context

What problem are we solving? Who uses this? Think about the user's emotional state, their goals, and what success looks like.

Aesthetic Direction

Choose a clear visual direction:

DirectionFeelWhen to Use
Warm MinimalClean, inviting, focusedDashboard UIs, tools, productivity
EditorialMagazine-like, typographicContent-heavy pages, portfolios
Soft/OrganicRounded, gentle, approachableConsumer apps, onboarding
Industrial/RawUtilitarian, honest, functionalDeveloper tools, technical docs
Luxury/RefinedSpacious, elegant, deliberateBrand sites, premium products

Key insight: Bold maximalism and refined minimalism both work—the magic is in commitment, not intensity.

The Memorable Detail

Ask yourself: What's the one thing someone will remember about this interface? Maybe it's a delightful hover state, an unexpected color choice, or how perfectly the typography flows.


2. Design System Integration

Color Philosophy

css
/* Use semantic tokens, not arbitrary colors */
--bg-primary      /* Main background */
--bg-secondary    /* Elevated surfaces */
--fg-primary      /* Primary text */
--fg-secondary    /* Secondary text */
--border-primary  /* Interactive borders */
--border-secondary /* Container borders */
--brand-primary   /* Accent/CTA color */

Typography Hierarchy

CategoryUsage
DisplayHeadlines, titles, hero text
BodyParagraphs, inputs, tabs
SmallLabels, captions, hints, metadata
AccentSpecial callouts, tech feel (use sparingly)

Border Philosophy

Borders should support, not dominate:

jsx
// Default: nearly invisible
className="border border-border-secondary"

// Hover: slightly more visible
className="hover:border-border-primary"

// Focus: full visibility
className="focus:border-border-primary"

3. Interaction Patterns

Hit Targets & Touch

ContextMinimum SizeNotes
Desktop24×24pxVisual can be smaller if hit area is expanded
Mobile44×44pxApple HIG standard
Input font≥16pxPrevents iOS Safari auto-zoom
jsx
// Expand hit target beyond visual bounds
<button className="p-2 -m-2">
  <Icon className="w-6 h-6" /> {/* Visual is 24px, hit area is 40px */}
</button>

Focus Management

  • Use :focus-visible over :focus to avoid focus rings on click
  • Use :focus-within for grouped controls (e.g., input with icon)
  • Every focusable element requires a visible focus state
  • Implement focus traps in modals/drawers per WAI-ARIA patterns

Loading States

TimingValuePurpose
Show delay150–300msPrevent flash on fast responses
Minimum visible300–500msAvoid jarring disappearance
jsx
// Don't: Show spinner immediately
{isLoading && <Spinner />}

// Do: Delay spinner appearance
const showSpinner = isLoading && loadingDuration > 200;

Optimistic Updates

Update the UI immediately when success is likely:

  1. Show change instantly
  2. Send request to server
  3. On success: confirm (subtle)
  4. On failure: rollback + show error + offer retry

Destructive Actions

PatternWhen to Use
Confirmation dialogPermanent deletion, irreversible changes
Undo with timeoutSoft deletes, sends, publishes
Type-to-confirmAccount deletion, production deployments

4. Motion & Animation

When to Animate

Animate only when it serves a purpose:

  • Clarify cause/effect: Show where something came from or went
  • Maintain context: Help users track changes during transitions
  • Deliberate delight: Reward interactions meaningfully

Don't animate for decoration or to fill silence.

Easing Selection

Property ChangingRecommended Easing
Opacity onlylinear or gentle ease
Size/ScaleeaseOut (fast start, slow end)
PositioneaseOut or spring
EntereaseOut
ExiteaseIn (slow start, fast end)

Performance Rules

GPU-accelerated (prefer these):

css
transform: translate(), scale(), rotate();
opacity;
filter;

Layout-triggering (avoid animating):

css
width, height, padding, margin;
top, left, right, bottom;
font-size, line-height;

Anti-patterns:

css
/* Never: Animates everything including layout */
transition: all 0.3s;

/* Do: Explicit properties only */
transition: transform 0.3s, opacity 0.3s;

Accessibility (prefers-reduced-motion)

Always honor the user's motion preference:

jsx
const prefersReducedMotion = window.matchMedia(
  '(prefers-reduced-motion: reduce)'
).matches;

5. Form Design

Submission Behavior

Input TypeEnter Key Behavior
Single text inputSubmits form
Multiple inputsSubmits on last field
<textarea>Creates new line
<textarea> + Cmd/Ctrl+EnterSubmits form

Validation Patterns

TimingWhat to Validate
On blurFormat, required fields
On submitAll validation, server errors
Real-timeOnly for character limits or live search

Rules:

  • Show errors adjacent to the field, not in a summary
  • On submit error, focus the first invalid field
  • Don't pre-disable submit—let users discover issues

Mobile Considerations

  • Input font ≥16px prevents iOS auto-zoom
  • Use correct type and inputmode for better keyboards:
Datatypeinputmode
Emailemail—
Phonetel—
Numbertextnumeric
Credit cardtextnumeric

6. Layout Principles

Optical Alignment

Geometry lies. Adjust ±1–2px when perception beats math:

  • Circles and triangles appear smaller than squares at same dimensions
  • Text with descenders needs more bottom padding
  • Icons may need nudging to appear centered

Nested Border Radius

Child radius must be ≤ parent radius, and curves should be concentric:

Outer radius: 16px
Gap (padding): 8px
Inner radius: 16px - 8px = 8px

Layered Shadows

Use ≥2 shadow layers to mimic real light (ambient + direct):

css
box-shadow:
  0 1px 2px rgba(0,0,0,0.06),    /* Tight, direct light */
  0 4px 12px rgba(0,0,0,0.08);   /* Soft, ambient light */

7. Accessibility

Contrast Standards

  • Prefer APCA over WCAG 2 for more accurate perceptual contrast
  • Interactive states must have more contrast than rest state

Color Independence

Never rely on color alone for meaning:

  • Error states: color + icon + text
  • Status indicators: color + label
  • Charts: color + pattern or label

Screen Reader Support

  • Icon-only buttons require aria-label
  • Decorative elements get aria-hidden="true"
  • Use native elements (button, a, label) before ARIA
  • Maintain logical heading hierarchy (h1 → h2 → h3)

8. Performance

Response Time Targets

OperationTarget
UI response to input<100ms
API mutations<500ms
Page load (LCP)<2.5s

Rendering Optimization

  • Virtualize lists >100 items
  • Use content-visibility: auto for off-screen content
  • Minimize React re-renders

Asset Loading

AssetStrategy
Above-fold imagesPreload
Below-fold imagesLazy load
FontsPreload critical, subset via unicode-range
Third-party scriptsdefer or async

9. What to Avoid

Generic AI aesthetics:

  • Overused fonts (Inter, Roboto, Arial as primary)
  • Purple gradients on white backgrounds
  • Predictable layouts without character
  • Cookie-cutter component patterns

Interaction anti-patterns:

  • transition: all (performance killer)
  • Autoplay animations
  • Disabled submit buttons before user tries
  • Blocking paste on any input
  • Color-only status indicators

Instead:

  • Make unexpected choices that feel genuinely designed
  • Match implementation complexity to aesthetic vision
  • Commit fully to your visual direction

Related Skills

  • design-system-quality
  • brand-guidelines
  • brand-voice

Version: 1.0.0 | Interaction patterns adapted from Vercel Web Interface Guidelines

よくある質問

AIスキル「Frontend Design」では何ができますか?

Use when building UI components, making design decisions for frontend work, reviewing UI implementation quality, or planning interaction patterns.

TypingMindでFrontend Designを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Frontend Designはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFrontend Designをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/opensesh/DESIGN-OPS/tree/main/skills/frontend-designを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Frontend Designを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Frontend Designで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFrontend Designを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Frontend Design」は無料ですか?

はい。openseshがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇