Design and implement distinctive, production-ready web interfaces. Use when creating or substantially redesigning a page, component, dashboard, marketing site, or product UI; when choosing visual direction, typography, layout, responsive behavior, states, or accessibility; or when an existing interface feels generic, inconsistent, or poorly structured.
Create an interface with a clear point of view that serves its users and works in the existing product. Do not default to fashionable AI-generated aesthetics, decorative effects, or a familiar component-library layout when they are not justified by the brief.
1. Establish the brief
Before changing code, identify or explicitly state:
Subject: What is being designed?
Audience: Who uses it and what do they need to understand or do?
Primary job: What is the one most important outcome for this page or flow?
Context: Is this a new surface, an extension of an established product, or a redesign?
For an existing product, inspect the relevant routes, components, styles, tokens, assets, and UI conventions first. Preserve purposeful conventions; do not introduce a parallel design system merely to make the page look new.
If a decision is genuinely blocked by missing product information, ask one focused question. Otherwise, make a stated, reversible assumption and proceed.
2. Set a deliberate visual direction
Write a compact design plan before implementation. Include:
Concept: One sentence that ties the design to the subject, not a visual trend.
Hierarchy: What a person sees first, second, and next.
Tokens: A restrained palette (4–6 named colors), type roles, spacing rhythm, radii, borders, and shadows.
Layout: Content regions, reading order, breakpoints, and an ASCII wireframe when the page is structurally complex.
Signature: One memorable but useful element—such as a data treatment, interaction, visual metaphor, or editorial composition.
Motion: The few interactions or transitions that clarify state or add atmosphere. Respect prefers-reduced-motion.
Choose typography for role and readability. Pair display, body, and utility styles intentionally; establish a type scale and use it consistently. Use familiar defaults only when they suit the product and audience, not because they are easy.
Avoid making every brief converge on cream-and-serif editorial layouts, dark pages with neon accents, gradients, floating glass cards, excessive rounded rectangles, or generic hero-stat layouts. Use any of these only when the content and brand support the choice.
3. Design the complete experience
Model the real content and task flow before polishing the happy path.
Put the primary action where it is expected and describe it with a specific verb.
Use labels and headings that reflect user language, not implementation language.
Make structure carry meaning: use groups, dividers, labels, tabs, timelines, and numbered steps only when they represent real relationships.
Define loading, empty, success, error, disabled, hover, focus, selected, and overflow states where they apply.
Keep copy concise and operational. A button should describe its outcome; an error should say what happened and what to do next.
Spend visual boldness in one place. Let surrounding areas remain disciplined enough for content and actions to be clear.
4. Implement with the product, not beside it
Build semantic HTML and accessible controls. Reuse existing components and tokens when they fit; extend them deliberately when they do not. Keep styling maintainable by avoiding conflicting selectors, magic-number positioning, and one-off overrides that fight the cascade.
Design responsive behavior intentionally rather than shrinking desktop layouts. At narrow widths, reconsider information order, interaction density, labels, and touch targets. Do not hide essential actions without a clear alternative.
Use motion sparingly and only when it improves orientation, feedback, or comprehension. Do not rely on motion, color, or hover alone to convey meaning.
5. Validate before handoff
Render the interface and inspect it at representative viewport sizes. Use screenshots or browser inspection when available. Fix observed issues rather than claiming visual quality from the source alone.
Check keyboard navigation, visible focus, contrast, heading order, form labels, image alternatives, zoom/reflow, and reduced-motion behavior. Test the most important user path and relevant non-happy-path states.
Definition of Done
Before considering the design complete, verify:
The page has a clearly stated user, purpose, and primary action.
The visual direction is tied to the subject and does not rely on unexplained default aesthetics.
Hierarchy makes the primary content and action easy to find.
Typography, colors, spacing, and component treatments follow a coherent token system.
The interface uses real or representative content, not filler that hides layout problems.
Loading, empty, error, success, disabled, and overflow states are handled where relevant.
The layout works at mobile, tablet, and desktop widths without clipped content or lost actions.
All controls work with keyboard navigation and have visible focus states.
Contrast, labels, semantics, and non-color cues support accessible use.
Motion is purposeful and reduced-motion preferences are respected.
The implementation reuses or carefully extends the existing design system and does not add avoidable CSS conflicts.
The implemented result has been visually inspected and the primary flow has been tested.
Handoff
Summarize the design direction, key implementation decisions, assumptions, responsive behavior, and any remaining trade-offs. Include screenshots or a short validation note when available.
1---2name: frontend-design3description: Design and implement distinctive, production-ready web interfaces. Use when creating or substantially redesigning a page, component, dashboard, marketing site, or product UI; when choosing visual direction, typography, layout, responsive behavior, states, or accessibility; or when an existing interface feels generic, inconsistent, or poorly structured.4---56# Frontend Design78Create an interface with a clear point of view that serves its users and works in the existing product. Do not default to fashionable AI-generated aesthetics, decorative effects, or a familiar component-library layout when they are not justified by the brief.910## 1. Establish the brief1112Before changing code, identify or explicitly state:1314- **Subject:** What is being designed?15- **Audience:** Who uses it and what do they need to understand or do?16- **Primary job:** What is the one most important outcome for this page or flow?17- **Context:** Is this a new surface, an extension of an established product, or a redesign?18- **Constraints:** Existing design system, brand rules, framework, content, assets, browser support, and deadline.1920For an existing product, inspect the relevant routes, components, styles, tokens, assets, and UI conventions first. Preserve purposeful conventions; do not introduce a parallel design system merely to make the page look new.2122If a decision is genuinely blocked by missing product information, ask one focused question. Otherwise, make a stated, reversible assumption and proceed.2324## 2. Set a deliberate visual direction2526Write a compact design plan before implementation. Include:2728- **Concept:** One sentence that ties the design to the subject, not a visual trend.29- **Hierarchy:** What a person sees first, second, and next.30- **Tokens:** A restrained palette (4–6 named colors), type roles, spacing rhythm, radii, borders, and shadows.31- **Layout:** Content regions, reading order, breakpoints, and an ASCII wireframe when the page is structurally complex.32- **Signature:** One memorable but useful element—such as a data treatment, interaction, visual metaphor, or editorial composition.33- **Motion:** The few interactions or transitions that clarify state or add atmosphere. Respect `prefers-reduced-motion`.3435Choose typography for role and readability. Pair display, body, and utility styles intentionally; establish a type scale and use it consistently. Use familiar defaults only when they suit the product and audience, not because they are easy.3637Avoid making every brief converge on cream-and-serif editorial layouts, dark pages with neon accents, gradients, floating glass cards, excessive rounded rectangles, or generic hero-stat layouts. Use any of these only when the content and brand support the choice.3839## 3. Design the complete experience4041Model the real content and task flow before polishing the happy path.4243- Put the primary action where it is expected and describe it with a specific verb.44- Use labels and headings that reflect user language, not implementation language.45- Make structure carry meaning: use groups, dividers, labels, tabs, timelines, and numbered steps only when they represent real relationships.46- Define loading, empty, success, error, disabled, hover, focus, selected, and overflow states where they apply.47- Keep copy concise and operational. A button should describe its outcome; an error should say what happened and what to do next.48- Spend visual boldness in one place. Let surrounding areas remain disciplined enough for content and actions to be clear.4950## 4. Implement with the product, not beside it5152Build semantic HTML and accessible controls. Reuse existing components and tokens when they fit; extend them deliberately when they do not. Keep styling maintainable by avoiding conflicting selectors, magic-number positioning, and one-off overrides that fight the cascade.5354Design responsive behavior intentionally rather than shrinking desktop layouts. At narrow widths, reconsider information order, interaction density, labels, and touch targets. Do not hide essential actions without a clear alternative.5556Use motion sparingly and only when it improves orientation, feedback, or comprehension. Do not rely on motion, color, or hover alone to convey meaning.5758## 5. Validate before handoff5960Render the interface and inspect it at representative viewport sizes. Use screenshots or browser inspection when available. Fix observed issues rather than claiming visual quality from the source alone.6162Check keyboard navigation, visible focus, contrast, heading order, form labels, image alternatives, zoom/reflow, and reduced-motion behavior. Test the most important user path and relevant non-happy-path states.6364## Definition of Done6566Before considering the design complete, verify:6768- [ ] The page has a clearly stated user, purpose, and primary action.69- [ ] The visual direction is tied to the subject and does not rely on unexplained default aesthetics.70- [ ] Hierarchy makes the primary content and action easy to find.71- [ ] Typography, colors, spacing, and component treatments follow a coherent token system.72- [ ] The interface uses real or representative content, not filler that hides layout problems.73- [ ] Loading, empty, error, success, disabled, and overflow states are handled where relevant.74- [ ] The layout works at mobile, tablet, and desktop widths without clipped content or lost actions.75- [ ] All controls work with keyboard navigation and have visible focus states.76- [ ] Contrast, labels, semantics, and non-color cues support accessible use.77- [ ] Motion is purposeful and reduced-motion preferences are respected.78- [ ] The implementation reuses or carefully extends the existing design system and does not add avoidable CSS conflicts.79- [ ] The implemented result has been visually inspected and the primary flow has been tested.8081## Handoff8283Summarize the design direction, key implementation decisions, assumptions, responsive behavior, and any remaining trade-offs. Include screenshots or a short validation note when available.
Run npx skillmds@latest add code-saurabh/frontend-design in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Design and implement distinctive, production-ready web interfaces. Use when creating or substantially redesigning a page, component, dashboard, marketing site, or product UI; when choosing visual direction, typography, layout, responsive behavior, states, or accessibility; or when an existing interface feels generic, inconsistent, or poorly structured. It is listed under Marketing & Growth on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
CODE-SAURABH (@code-saurabh) published this skill. Their other Agent Skills are listed on their SkillMD profile.