frontend-design
anthropics/claude-code
Guidance for distinctive, intentional visual design that avoids templated defaults.
What is frontend-design?
This skill helps you design UIs with a strong visual identity by grounding choices in the subject matter, making deliberate decisions about typography, color, and layout, and taking one justified aesthetic risk. Use it when building new interfaces or reshaping existing ones to ensure the design feels intentional rather than generic.
- Ground design in the subject's real world, materials, and vernacular rather than generic patterns
- Develop a compact design plan with color palette, typography pairing, layout concept, and signature element before coding
- Critique your own work against the brief to avoid defaulting to common AI-generated looks (cream backgrounds with terracotta, dark with acid-green, or broadsheet layouts)
- Write intentional copy that serves navigation and understanding, using active voice and plain language
- Apply restraint by spending boldness in one memorable signature element while keeping everything else disciplined
- Build responsive, accessible foundations with visible keyboard focus and reduced-motion support
How to install frontend-design
npx skills add https://github.com/anthropics/claude-code --skill frontend-designHow to use frontend-design
- 1.Start by pinning down the subject: name the product, its audience, and the page's single job
- 2.Brainstorm a design plan with 4–6 named colors, 2+ typeface roles, a layout concept, and a signature element
- 3.Review your plan against the brief to identify and revise any choices that feel like generic defaults
- 4.Compare your plan to similar briefs to confirm it's specific to this project, not a template
- 5.Build the code following your revised plan exactly, deriving every color and type decision from it
- 6.Critique your work as you build, taking screenshots to verify the design matches your intent
Use cases
- Designing a landing page for a niche product where visual distinctiveness is a competitive advantage
- Reshaping an existing UI that currently feels generic or templated
- Creating a design system that reflects a specific brand's subject matter and aesthetic direction
- Building a portfolio or case study site where the design itself demonstrates your point of view
- Developing marketing pages where the visual treatment needs to match the product's unique positioning
- Product designers building new interfaces from scratch
- Frontend developers who want design guidance integrated into their workflow
- Design leads or creative directors working with AI agents to maintain visual consistency
- Founders or teams building distinctive brands where design is part of the value proposition
frontend-design FAQ
(1) Warm cream background (#F4F1EA) with high-contrast serif and terracotta accent; (2) near-black background with bright acid-green or vermilion accent; (3) broadsheet layout with hairline rules, zero border-radius, and dense columns. These are legitimate for some briefs, but avoid them when the brief leaves that axis free.
Pair display and body faces deliberately, not the same families you'd use on any other project. Set a clear type scale with intentional weights, widths, and spacing. Make the type treatment itself memorable—a personality carrier, not a neutral delivery vehicle.
It's the single unique, memorable thing the page will be remembered by that embodies the brief. Spend your boldness there, keep everything around it quiet and disciplined, and cut any decoration that doesn't serve the brief.
Write from the end user's perspective using active voice and plain language. Copy should make the design easier to understand and use. Be specific rather than clever, and use consistent vocabulary throughout the interface so people learn their way around.
Leverage motion deliberately where it serves the subject—page-load sequences, scroll-triggered reveals, or hover interactions. An orchestrated moment usually lands harder than scattered effects. Sometimes less is more, as extra animation can make designs feel AI-generated.
Full instructions (SKILL.md)
Source of truth, from anthropics/claude-code.
name: frontend-design description: 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. license: Complete terms in LICENSE.txt
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.
Related skills
More from anthropics/claude-code and the wider catalog.
Agent Development
Build autonomous agents for Claude Code plugins with structured system prompts and triggering conditions.
Skill Development
Create and structure skills for Claude Code plugins with guidance on workflows, resources, and best practices.
MCP Integration
Integrate external services into Claude Code plugins using Model Context Protocol servers.
Command Development
Create reusable slash commands with YAML frontmatter, dynamic arguments, and file references for Claude Code workflows.
Hook Development
Event-driven automation for Claude Code plugins with prompt-based and command hooks.
Plugin Structure
Standardized directory structure and manifest configuration for Claude Code plugins