jpskill.com
🎨 デザイン コミュニティ

frontend-enhancer

Next.jsのウェブアプリケーションにおいて、UIコンポーネントやデザインパターン、配色、アニメーションなどを活用し、見た目の美しさや操作性を向上させる、現代的なフロントエンドを構築するSkill。

📜 元の英語説明(参考)

This skill should be used when enhancing the visual design and aesthetics of Next.js web applications. It provides modern UI components, design patterns, color palettes, animations, and layout templates. Use this skill for tasks like improving styling, creating responsive designs, implementing modern UI patterns, adding animations, selecting color schemes, or building aesthetically pleasing frontend interfaces.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Next.jsのウェブアプリケーションにおいて、UIコンポーネントやデザインパターン、配色、アニメーションなどを活用し、見た目の美しさや操作性を向上させる、現代的なフロントエンドを構築するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o frontend-enhancer.zip https://jpskill.com/download/16540.zip && unzip -o frontend-enhancer.zip && rm frontend-enhancer.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/16540.zip -OutFile "$d\frontend-enhancer.zip"; Expand-Archive "$d\frontend-enhancer.zip" -DestinationPath $d -Force; ri "$d\frontend-enhancer.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して frontend-enhancer.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → frontend-enhancer フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
10

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Frontend Enhancer

概要

Frontend Enhancer スキルは、Next.js アプリケーションを視覚的に魅力的な、現代的な Web エクスペリエンスへと変貌させます。本スキルは、すぐに本番環境で使用できるコンポーネント、包括的なデザインガイドライン、厳選されたカラーパレット、滑らかなアニメーション、そしてレスポンシブとアクセシビリティのために最適化された柔軟なレイアウトテンプレートを提供します。

このスキルを使用するタイミング

このスキルは、以下の場合に呼び出してください。

  • 既存のアプリケーションの視覚的な外観を改善する
  • 最新のスタイリングで新しい UI コンポーネントを作成する
  • カラースキームとデザインテーマを選択する
  • アニメーションとトランジションを追加する
  • さまざまな画面サイズに対応するレスポンシブなレイアウトを構築する
  • ヒーローセクション、フィーチャーグリッド、またはランディングページを実装する
  • より優れた視覚的階層でユーザーエクスペリエンスを向上させる
  • アプリケーション全体で一貫したデザインパターンを適用する

主要な機能

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

複数のバリアントと状態を持つ、すぐに本番環境で使用できる React コンポーネントを使用します。

Button Component (assets/button-variants.tsx):

  • バリアント: primary, secondary, outline, ghost, danger
  • サイズ: sm, md, lg
  • アニメーション付きスピナーによるローディング状態
  • 完全な TypeScript サポート
  • アクセシビリティ機能が組み込み済み

Card Component (assets/card-variants.tsx):

  • バリアント: default, bordered, elevated, interactive
  • サブコンポーネント: CardHeader, CardTitle, CardDescription, CardContent, CardFooter
  • ホバーエフェクトとトランジション
  • 柔軟なパディングオプション

Input Components (assets/input-variants.tsx):

  • バリデーション状態を持つテキスト入力
  • Textarea コンポーネント
  • 左/右アイコンのサポート
  • エラーとヘルパーテキストの表示
  • ラベルの統合
  • 完全なアクセシビリティサポート

実装ワークフロー:

  1. 目的のコンポーネントファイルを assets/ からプロジェクトのコンポーネントディレクトリにコピーします
  2. cn ユーティリティ関数が存在することを確認します ( assets/utils-cn.ts を参照)
  3. ブランドに合わせて色、間隔、またはバリアントをカスタマイズします
  4. コンポーネントをインポートしてページで使用します

2. レイアウトテンプレート

一般的なページセクション用に事前に設計された、レスポンシブなレイアウトパターンを使用します。

Hero Section (assets/layout-hero-section.tsx):

  • 3つのバリアント: centered, split, minimal
  • CTA (primary および secondary) のサポート
  • オプションの背景グラデーション
  • 画像/イラストのサポート
  • アニメーションが組み込み済み

Feature Grid (assets/layout-feature-grid.tsx):

  • 設定可能な列数 (2, 3, または 4)
  • アイコンの統合
  • 段階的なアニメーション
  • ホバーエフェクト
  • 完全にレスポンシブ

実装ワークフロー:

  1. レイアウトコンポーネントを assets/ からコンポーネントディレクトリにコピーします
  2. ニーズに合わせてプロパティとコンテンツをカスタマイズします
  3. 既存のページと統合します
  4. 必要に応じてブランドに合わせてスタイルを調整します

3. デザインシステムガイドライン

一貫性のあるプロフェッショナルなインターフェースのための包括的なデザイン原則を参照します。

Design Principles (references/design_principles.md):

  • 視覚的階層のベストプラクティス
  • 間隔とリズムのガイドライン
  • タイポグラフィの推奨事項
  • 色の理論と使用法
  • 一貫性の基準
  • レスポンシブ戦略
  • アクセシビリティガイドライン (WCAG AA/AAA)
  • 一般的なレイアウトパターン

参照するタイミング:

  • 新しいデザインを開始するとき
  • 視覚的階層について決定を下すとき
  • アクセシビリティのコンプライアンスを確保するとき
  • アプリ全体で一貫性を確立するとき
  • デザインの品質をレビューするとき

使用方法: references/design_principles.md を読んでベストプラクティスを理解し、それらを特定のデザイン上の課題に適用します。このドキュメントでは、理論と実践的な実装の両方について説明します。

4. カラーパレット

最新の Web アプリケーション向けに最適化された、専門的にキュレーションされたカラースキームにアクセスします。

Available Palettes (references/color_palettes.md):

  1. Corporate Blue - プロフェッショナル、信頼できる (ビジネスアプリ、SaaS)
  2. Vibrant Purple - クリエイティブ、モダン (クリエイティブツール、ポートフォリオ)
  3. Minimalist Gray - クリーン、洗練されている (ミニマリストデザイン)
  4. Warm Sunset - エネルギッシュ、フレンドリー (コンシューマーアプリ、eコマース)
  5. Ocean Fresh - 穏やか、プロフェッショナル (ヘルス、金融アプリ)
  6. Dark Mode - モダン、目に優しい (開発者ツール、ダッシュボード)

各パレットには以下が含まれます。

  • プライマリカラーとセカンダリカラー
  • アクセントカラー
  • 背景色と表面色
  • テキストカラー (プライマリとセカンダリ)
  • セマンティックカラー (成功、警告、エラー)
  • 境界線の色

実装オプション:

  1. Tailwind CSS: 色を tailwind.config.js に追加します (例が提供されています)
  2. CSS Variables: グローバル CSS でカスタムプロパティを使用します (例が提供されています)
  3. Inline styles: コンポーネントで16進数コードを直接参照します

選択ワークフロー:

  1. references/color_palettes.md を確認して、利用可能なすべてのパレットを確認します
  2. アプリケーションの目的とブランドアイデンティティを考慮します
  3. 目標に合ったパレットを選択します
  4. Tailwind config または CSS 変数を使用して実装します
  5. 必要に応じて、ブランドに合わせて特定の色を調整します

5. アニメーションとトランジション

事前に構築された CSS クラスとキーフレームを使用して、スムーズでプロフェッショナルなアニメーションを追加します。

Animation Library (assets/animations.css):

  • フェードアニメーション (fadeIn, fadeOut, fadeInUp, fadeInDown)
  • スライドアニメーション (slideInLeft, slideInRight)
  • スケールアニメーション (scaleIn, scaleOut)
  • ユーティリティアニメーション (bounce, pulse, spin)
  • スケルトンローディング (shimmer effect)
  • ホバーエフェクト (lift, glow, scale)
  • リストアニメーションの段階的な遅延

アクセシビリティ: すべてのアニメーションは、アクセシビリティコンプライアンスのために prefers-reduced-motion を尊重します。

実装ワークフロー:

  1. assets/animations.css をグローバル CSS ファイルにコピーします (または、別のアニメーションファイルを作成します)
  2. animate-fade-in-uphover-lift などのユーティリティクラスを適用します
  3. リスト内のシーケンシャルアニメーションには、段階的なクラスを使用します
  4. 必要に応じて、期間とイージングをカスタマイズします

ベストプラクティス:

  • アニメーションを控えめにします (マイクロインタラクションの場合は 200〜300 ミリ秒)
  • アニメーションを使用してユーザーの注意を引きます
  • 気を散らす過度の動きは避けてください
  • 常に prefers-reduced-motion を有効にしてテストします

強化ワークフロー

フロントエンドアプリケーションを強化する場合は、次の体系的なアプローチに従ってください。

ステップ 1: 現在の状態を評価する

(原文がここで切り詰められています)

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Frontend Enhancer

Overview

The Frontend Enhancer skill transforms Next.js applications into visually stunning, modern web experiences. It provides production-ready components, comprehensive design guidelines, curated color palettes, smooth animations, and flexible layout templates optimized for responsiveness and accessibility.

When to Use This Skill

Invoke this skill when:

  • Improving the visual appearance of an existing application
  • Creating new UI components with modern styling
  • Selecting color schemes and design themes
  • Adding animations and transitions
  • Building responsive layouts for different screen sizes
  • Implementing hero sections, feature grids, or landing pages
  • Enhancing user experience with better visual hierarchy
  • Applying consistent design patterns across an application

Core Capabilities

1. Component Library

Use pre-built, production-ready React components with multiple variants and states:

Button Component (assets/button-variants.tsx):

  • Variants: primary, secondary, outline, ghost, danger
  • Sizes: sm, md, lg
  • Loading states with animated spinner
  • Full TypeScript support
  • Accessibility features built-in

Card Component (assets/card-variants.tsx):

  • Variants: default, bordered, elevated, interactive
  • Subcomponents: CardHeader, CardTitle, CardDescription, CardContent, CardFooter
  • Hover effects and transitions
  • Flexible padding options

Input Components (assets/input-variants.tsx):

  • Text inputs with validation states
  • Textarea component
  • Left/right icon support
  • Error and helper text display
  • Label integration
  • Full accessibility support

Implementation workflow:

  1. Copy the desired component file from assets/ to your project's components directory
  2. Ensure the cn utility function exists (see assets/utils-cn.ts)
  3. Customize colors, spacing, or variants to match your brand
  4. Import and use the component in your pages

2. Layout Templates

Use pre-designed, responsive layout patterns for common page sections:

Hero Section (assets/layout-hero-section.tsx):

  • Three variants: centered, split, minimal
  • Support for CTAs (primary and secondary)
  • Optional background gradients
  • Image/illustration support
  • Built-in animations

Feature Grid (assets/layout-feature-grid.tsx):

  • Configurable columns (2, 3, or 4)
  • Icon integration
  • Staggered animations
  • Hover effects
  • Fully responsive

Implementation workflow:

  1. Copy the layout component from assets/ to your components directory
  2. Customize the props and content to match your needs
  3. Integrate with your existing pages
  4. Adjust styling as needed for your brand

3. Design System Guidelines

Reference comprehensive design principles for consistent, professional interfaces:

Design Principles (references/design_principles.md):

  • Visual hierarchy best practices
  • Spacing and rhythm guidelines
  • Typography recommendations
  • Color theory and usage
  • Consistency standards
  • Responsiveness strategies
  • Accessibility guidelines (WCAG AA/AAA)
  • Common layout patterns

When to reference:

  • Starting a new design
  • Making decisions about visual hierarchy
  • Ensuring accessibility compliance
  • Establishing consistency across the app
  • Reviewing design quality

How to use: Read references/design_principles.md to understand best practices, then apply them to your specific design challenges. The document covers both theory and practical implementation.

4. Color Palettes

Access professionally curated color schemes optimized for modern web applications:

Available Palettes (references/color_palettes.md):

  1. Corporate Blue - Professional, trustworthy (business apps, SaaS)
  2. Vibrant Purple - Creative, modern (creative tools, portfolios)
  3. Minimalist Gray - Clean, sophisticated (minimalist designs)
  4. Warm Sunset - Energetic, friendly (consumer apps, e-commerce)
  5. Ocean Fresh - Calm, professional (health, finance apps)
  6. Dark Mode - Modern, eye-friendly (developer tools, dashboards)

Each palette includes:

  • Primary and secondary colors
  • Accent colors
  • Background and surface colors
  • Text colors (primary and secondary)
  • Semantic colors (success, warning, error)
  • Border colors

Implementation options:

  1. Tailwind CSS: Add colors to tailwind.config.js (examples provided)
  2. CSS Variables: Use custom properties in global CSS (examples provided)
  3. Inline styles: Reference hex codes directly in components

Selection workflow:

  1. Review references/color_palettes.md to see all available palettes
  2. Consider your application's purpose and brand identity
  3. Choose a palette that matches your goals
  4. Implement using Tailwind config or CSS variables
  5. Adjust specific colors if needed to match your brand

5. Animations and Transitions

Add smooth, professional animations using pre-built CSS classes and keyframes:

Animation Library (assets/animations.css):

  • Fade animations (fadeIn, fadeOut, fadeInUp, fadeInDown)
  • Slide animations (slideInLeft, slideInRight)
  • Scale animations (scaleIn, scaleOut)
  • Utility animations (bounce, pulse, spin)
  • Skeleton loading (shimmer effect)
  • Hover effects (lift, glow, scale)
  • Stagger delays for list animations

Accessibility: All animations respect prefers-reduced-motion for accessibility compliance.

Implementation workflow:

  1. Copy assets/animations.css to your global CSS file (or create a separate animations file)
  2. Apply utility classes like animate-fade-in-up, hover-lift, etc.
  3. Use stagger classes for sequential animations in lists
  4. Customize duration and easing if needed

Best practices:

  • Keep animations subtle (200-300ms for micro-interactions)
  • Use animations to guide user attention
  • Avoid excessive motion that distracts
  • Always test with prefers-reduced-motion enabled

Enhancement Workflow

Follow this systematic approach when enhancing a frontend application:

Step 1: Assess Current State

  • Identify areas lacking visual polish
  • Note inconsistent styling patterns
  • Check responsive behavior
  • Review accessibility issues
  • Evaluate color scheme and typography

Step 2: Select Design Direction

  • Choose a color palette from references/color_palettes.md
  • Review design principles in references/design_principles.md
  • Decide on component variants and styles
  • Plan layout improvements

Step 3: Implement Foundation

  • Set up the cn utility function (assets/utils-cn.ts)
  • Configure chosen color palette (Tailwind or CSS variables)
  • Add animation CSS (assets/animations.css) to global styles
  • Ensure consistent spacing scale

Step 4: Apply Components

  • Replace basic elements with enhanced components from assets/
  • Implement layout templates for key pages
  • Apply consistent styling across the application
  • Add animations and transitions

Step 5: Refine and Polish

  • Test responsiveness across device sizes
  • Verify accessibility (keyboard navigation, contrast, screen readers)
  • Ensure consistent hover/focus states
  • Optimize performance (check animation performance)
  • Test with prefers-reduced-motion

Step 6: Final Review

  • Check visual hierarchy on all pages
  • Verify color consistency
  • Test all interactive states
  • Validate responsive breakpoints
  • Review accessibility compliance

Utility Function Setup

Most components require the cn utility function for class name merging. To set it up:

  1. Copy assets/utils-cn.ts to your project's lib/utils.ts
  2. Install dependencies:
    npm install clsx tailwind-merge
  3. Import in components:
    import { cn } from '@/lib/utils';

Responsive Design Strategy

All components and layouts follow a mobile-first approach:

  1. Base styles - Optimized for mobile (320px+)
  2. sm breakpoint - Small tablets (640px+)
  3. md breakpoint - Tablets (768px+)
  4. lg breakpoint - Desktops (1024px+)
  5. xl breakpoint - Large desktops (1280px+)

Test each breakpoint to ensure proper layout and readability.

Accessibility Checklist

Ensure all enhanced interfaces meet these standards:

  • [ ] Color contrast meets WCAG AA (4.5:1 for text)
  • [ ] All interactive elements are keyboard accessible
  • [ ] Focus indicators are visible and clear
  • [ ] Semantic HTML is used (nav, main, article, etc.)
  • [ ] Images have alt text
  • [ ] Forms have proper labels
  • [ ] Animations respect prefers-reduced-motion
  • [ ] Touch targets are at least 44x44px

Customization Guide

To adapt components and templates to your brand:

  1. Colors: Update color values in palette config or component files
  2. Typography: Adjust font sizes, weights, and families
  3. Spacing: Modify padding and margin values
  4. Border Radius: Change rounded corners (e.g., rounded-lg to rounded-xl)
  5. Shadows: Adjust shadow intensity (e.g., shadow-md to shadow-lg)
  6. Animations: Modify duration and easing functions

Resources Summary

This skill includes:

references/

  • color_palettes.md - Six professionally designed color schemes with implementation examples
  • design_principles.md - Comprehensive design guidelines covering visual hierarchy, typography, accessibility, and common patterns

assets/

  • button-variants.tsx - Modern button component with 5 variants and 3 sizes
  • card-variants.tsx - Flexible card component with subcomponents
  • input-variants.tsx - Input and textarea components with validation states
  • layout-hero-section.tsx - Hero section with 3 layout variants
  • layout-feature-grid.tsx - Responsive feature grid with configurable columns
  • animations.css - Complete animation library with accessibility support
  • utils-cn.ts - Utility function for class name merging

Tips for Success

  1. Start with a plan: Review design principles before making changes
  2. Choose one palette: Stick to a single color scheme for consistency
  3. Test on real devices: Emulators don't always show true responsive behavior
  4. Keep it simple: Modern design favors simplicity over complexity
  5. Prioritize accessibility: Design for all users from the start
  6. Iterate based on feedback: Show designs to users and refine
  7. Maintain consistency: Use the same patterns throughout your application
  8. Performance matters: Keep animations smooth (60fps) and optimize images

Common Use Cases

Enhancing an Existing App

  1. Select a color palette and implement it
  2. Replace basic buttons/inputs with enhanced components
  3. Add subtle animations to improve feedback
  4. Review and improve spacing consistency
  5. Ensure responsive behavior across devices

Building a Landing Page

  1. Use hero section layout as the focal point
  2. Add feature grid to showcase key features
  3. Implement consistent button styles for CTAs
  4. Add staggered animations for visual interest
  5. Test responsiveness thoroughly

Creating a Dashboard

  1. Use card components for data sections
  2. Implement consistent spacing and hierarchy
  3. Choose a professional color palette
  4. Add skeleton loaders for data fetching
  5. Ensure touch-friendly controls on mobile

Redesigning Forms

  1. Replace inputs with enhanced input components
  2. Add clear error and validation states
  3. Ensure proper label associations
  4. Implement loading states for submission
  5. Test keyboard navigation flow

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。