frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Best use case
frontend-design is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Teams using frontend-design should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/frontend-design/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How frontend-design Compares
| Feature / Agent | frontend-design | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices. ## Context Gathering Protocol Design skills produce generic output without project context. You MUST have confirmed design context before doing any design work. **Required context** — every design skill needs at minimum: - **Target audience**: Who uses this product and in what context? - **Use cases**: What jobs are they trying to get done? - **Brand personality/tone**: How should the interface feel? Individual skills may require additional context — check the skill's preparation section for specifics. **CRITICAL**: You cannot infer this context by reading the codebase. Code tells you what was built, not who it's for or what it should feel like. Only the creator can provide this context. **Gathering order:** 1. **Check current instructions (instant)**: If your loaded instructions already contain a **Design Context** section, proceed immediately. 2. **Check .impeccable.md (fast)**: If not in instructions, read `.impeccable.md` from the project root. If it exists and contains the required context, proceed. 3. **Run teach-impeccable (REQUIRED)**: If neither source has context, you MUST run the teach-impeccable skill NOW before doing anything else. Do NOT skip this step. Do NOT attempt to infer context from the codebase instead. --- ## Design Direction Commit to a BOLD aesthetic direction: - **Purpose**: What problem does this interface solve? Who uses it? - **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction. - **Constraints**: Technical requirements (framework, performance, accessibility). - **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember? **CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work—the key is intentionality, not intensity. Then implement working code that is: - Production-grade and functional - Visually striking and memorable - Cohesive with a clear aesthetic point-of-view - Meticulously refined in every detail ## Frontend Aesthetics Guidelines ### Typography → _Consult [typography reference](reference/typography.md) for scales, pairing, and loading strategies._ Choose fonts that are beautiful, unique, and interesting. Pair a distinctive display font with a refined body font. **DO**: Use a modular type scale with fluid sizing (clamp) **DO**: Vary font weights and sizes to create clear visual hierarchy **DON'T**: Use overused fonts—Inter, Roboto, Arial, Open Sans, system defaults **DON'T**: Use monospace typography as lazy shorthand for "technical/developer" vibes **DON'T**: Put large icons with rounded corners above every heading—they rarely add value and make sites look templated ### Color & Theme → _Consult [color reference](reference/color-and-contrast.md) for OKLCH, palettes, and dark mode._ Commit to a cohesive palette. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. **DO**: Use modern CSS color functions (oklch, color-mix, light-dark) for perceptually uniform, maintainable palettes **DO**: Tint your neutrals toward your brand hue—even a subtle hint creates subconscious cohesion **DON'T**: Use gray text on colored backgrounds—it looks washed out; use a shade of the background color instead **DON'T**: Use pure black (#000) or pure white (#fff)—always tint; pure black/white never appears in nature **DON'T**: Use the AI color palette: cyan-on-dark, purple-to-blue gradients, neon accents on dark backgrounds **DON'T**: Use gradient text for "impact"—especially on metrics or headings; it's decorative rather than meaningful **DON'T**: Default to dark mode with glowing accents—it looks "cool" without requiring actual design decisions ### Layout & Space → _Consult [spatial reference](reference/spatial-design.md) for grids, rhythm, and container queries._ Create visual rhythm through varied spacing—not the same padding everywhere. Embrace asymmetry and unexpected compositions. Break the grid intentionally for emphasis. **DO**: Create visual rhythm through varied spacing—tight groupings, generous separations **DO**: Use fluid spacing with clamp() that breathes on larger screens **DO**: Use asymmetry and unexpected compositions; break the grid intentionally for emphasis **DON'T**: Wrap everything in cards—not everything needs a container **DON'T**: Nest cards inside cards—visual noise, flatten the hierarchy **DON'T**: Use identical card grids—same-sized cards with icon + heading + text, repeated endlessly **DON'T**: Use the hero metric layout template—big number, small label, supporting stats, gradient accent **DON'T**: Center everything—left-aligned text with asymmetric layouts feels more designed **DON'T**: Use the same spacing everywhere—without rhythm, layouts feel monotonous ### Visual Details **DO**: Use intentional, purposeful decorative elements that reinforce brand **DON'T**: Use glassmorphism everywhere—blur effects, glass cards, glow borders used decoratively rather than purposefully **DON'T**: Use rounded elements with thick colored border on one side—a lazy accent that almost never looks intentional **DON'T**: Use sparklines as decoration—tiny charts that look sophisticated but convey nothing meaningful **DON'T**: Use rounded rectangles with generic drop shadows—safe, forgettable, could be any AI output **DON'T**: Use modals unless there's truly no better alternative—modals are lazy ### Motion → _Consult [motion reference](reference/motion-design.md) for timing, easing, and reduced motion._ Focus on high-impact moments: one well-orchestrated page load with staggered reveals creates more delight than scattered micro-interactions. **DO**: Use motion to convey state changes—entrances, exits, feedback **DO**: Use exponential easing (ease-out-quart/quint/expo) for natural deceleration **DO**: For height animations, use grid-template-rows transitions instead of animating height directly **DON'T**: Animate layout properties (width, height, padding, margin)—use transform and opacity only **DON'T**: Use bounce or elastic easing—they feel dated and tacky; real objects decelerate smoothly ### Interaction → _Consult [interaction reference](reference/interaction-design.md) for forms, focus, and loading patterns._ Make interactions feel fast. Use optimistic UI—update immediately, sync later. **DO**: Use progressive disclosure—start simple, reveal sophistication through interaction (basic options first, advanced behind expandable sections; hover states that reveal secondary actions) **DO**: Design empty states that teach the interface, not just say "nothing here" **DO**: Make every interactive surface feel intentional and responsive **DON'T**: Repeat the same information—redundant headers, intros that restate the heading **DON'T**: Make every button primary—use ghost buttons, text links, secondary styles; hierarchy matters ### Responsive → _Consult [responsive reference](reference/responsive-design.md) for mobile-first, fluid design, and container queries._ **DO**: Use container queries (@container) for component-level responsiveness **DO**: Adapt the interface for different contexts—don't just shrink it **DON'T**: Hide critical functionality on mobile—adapt the interface, don't amputate it ### UX Writing → _Consult [ux-writing reference](reference/ux-writing.md) for labels, errors, and empty states._ **DO**: Make every word earn its place **DON'T**: Repeat information users can already see --- ## The AI Slop Test **Critical quality check**: If you showed this interface to someone and said "AI made this," would they believe you immediately? If yes, that's the problem. A distinctive interface should make someone ask "how was this made?" not "which AI made this?" Review the DON'T guidelines above—they are the fingerprints of AI-generated work from 2024-2025. --- ## Implementation Principles Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices across generations. Remember: Claude is capable of extraordinary creative work. Don't hold back—show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
Related Skills
golang-design-patterns
Idiomatic Golang design patterns — functional options, constructors, error flow and cascading, resource management and lifecycle, graceful shutdown, resilience, architecture, dependency injection, data handling, and streaming. Apply when designing Go APIs, structuring applications, choosing between patterns, making design decisions, architectural choices, or production hardening.
typescript-performance
Comprehensive TypeScript performance analysis and optimization. Use when users report slow TypeScript compilation, slow editor experience, or want to investigate TypeScript performance issues. This skill provides diagnostic tools, trace analysis workflows, and optimization strategies. Key triggers include mentions of slow builds, type-checking delays, tsc performance, editor lag with TypeScript, or requests to analyze/improve TypeScript performance. Always prioritize data-driven analysis using --extendedDiagnostics, --generateTrace, and TS Server logs before making optimization recommendations.
watch-ci
CI を監視し、失敗したら自律的に修正してパスするまでループするスキル。push 後・PR 作成後・rebase 後に CI が通るか確認したいとき、CI が落ちていたら直してほしいとき、CI の結果を待ちたいときに使う。「CI 監視して」「CI が通るまで待って」「CI 直して」「push したので CI を見ておいて」など、CI の状態確認・自動修正が必要な場面では必ずこのスキルを呼び出すこと。
vue-style-guide
Vue を書くときは基本的に参考にしてください。 個人的に気に入っている ubgeeei 氏の Vue.js のスタイルガイドです。
vitess
Vitess best practices, query optimization, and connection troubleshooting for PlanetScale Vitess databases. Load when working with Vitess databases, sharding, VSchema configuration, keyspace management, or MySQL scaling issues.
triage-pr-reviews
Triages unresolved PR review comments using gh-pr-reviews. Analyzes code context and classifies each comment as Agree / Partially Agree / Disagree. Walks through each comment one-by-one, asking the user what action to take. Use when the user wants to triage, review, or analyze unresolved PR comments.
terraform-test
Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.
terraform-style-guide
Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.
terraform-stacks
Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.
teach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
stacked-pr
依存関係のある複数の PR を管理・同期するためのスキル。stacked PR のカスケード rebase、PR 間の依存検出、base branch 管理、CI の上流優先修正を行う。PR が別の PR に依存している状況全般で使う — cascade rebase、スタック sync、依存先 PR 更新後のメンテ、PR チェーンの整合性確認などをするときなど。
smart-compact
セッションのコンテキストを分析し、重要な情報を保持するためのプロンプトを生成して /compact コマンドの実行を支援するスキル。コンテキストウィンドウが逼迫してきた時や、セッションを整理したい時に使用。