Frontend Design
Build production-grade frontend components, pages, applications, or interactive artifacts with a distinctive, intentional aesthetic.
When NOT to use
- Quick prototypes / throwaway code — this skill enforces a design bar that adds overhead for disposable work. Use
ponytail prototype mode instead.
- Third-party design systems (Material UI, Ant Design, Shadcn) — the skill's aesthetic-intentionality mandate conflicts with using pre-built component libraries. Use the library's own theming guide instead.
- Fixing an existing running site — use
web-design-reviewer instead. This skill is for greenfield creation only.
Tech-stack conventions (optional reference)
When a framework or stack is specified, apply these defaults:
- HTML/CSS/JS — vanilla, no build step unless stated
- React — functional components, CSS modules or Tailwind
- Vue — SFCs with
<script setup>, scoped styles
- Accessibility — WCAG 2.1 AA minimum, semantic HTML, focus management
- Responsive — mobile-first breakpoints, fluid typography
Steps
1. Gather requirements
Clarify:
- Purpose and audience
- Framework or stack (HTML/CSS/JS, React, Vue, etc.)
- Technical constraints (build tool, delivery format, accessibility needs)
- Content, data, or interactions required
- Aesthetic direction — explicit or inferred from context
2. Choose an aesthetic direction
Pick a clear direction and commit to it intentionally. Examples: brutally minimal, maximalist, retro-futuristic, organic, luxury/refined, playful, editorial, brutalist, art deco, soft/pastel, industrial/utilitarian.
Intentionality matters more than intensity. Every visual choice should serve the direction.
3. Implement
Write functional, production-grade code:
- Distinctive typography and cohesive colour palette
- Purposeful motion for high-impact moments
- Clear spatial composition
- Responsive and accessible baseline
- No generic AI-slop defaults (gradients, fonts, layouts that feel accidental)
Match implementation complexity to the direction. Maximalist calls for detail; minimalist calls for restraint.
4. Verify
- Functionality works across target viewports
- Design is cohesive end-to-end
- Every detail is intentional
- Accessibility basics are met (contrast, focus states, semantic markup)
5. Test
- Visual regression: capture a screenshot of the built output and compare against the brief or reference design
- Accessibility audit: run axe-core or Lighthouse for contrast, ARIA, focus-order issues
- Responsive check: test at min 3 breakpoints (mobile, tablet, desktop)
Completion criteria
- Code is functional and production-grade
- Aesthetic is distinctive, intentional, and cohesive
- No accidental/generic patterns remain
- Typography, colour, motion, and composition serve the chosen direction
- Visual regression and accessibility audit passed
Related skills
web-design-reviewer — fix existing; this skill: greenfield.
ui-screenshots — capture verification.
tufte-data-viz — charts inside pages.
1---2name: frontend-design3description: Use when building new web components, pages, applications, posters, or interactive artifacts from scratch or a brief.4---56# Frontend Design78Build production-grade frontend components, pages, applications, or interactive artifacts with a distinctive, intentional aesthetic.910## When NOT to use1112- **Quick prototypes / throwaway code** — this skill enforces a design bar that adds overhead for disposable work. Use `ponytail` prototype mode instead.13- **Third-party design systems** (Material UI, Ant Design, Shadcn) — the skill's aesthetic-intentionality mandate conflicts with using pre-built component libraries. Use the library's own theming guide instead.14- **Fixing an existing running site** — use `web-design-reviewer` instead. This skill is for greenfield creation only.1516## Tech-stack conventions (optional reference)1718When a framework or stack is specified, apply these defaults:19- **HTML/CSS/JS** — vanilla, no build step unless stated20- **React** — functional components, CSS modules or Tailwind21- **Vue** — SFCs with `<script setup>`, scoped styles22- **Accessibility** — WCAG 2.1 AA minimum, semantic HTML, focus management23- **Responsive** — mobile-first breakpoints, fluid typography2425## Steps2627### 1. Gather requirements2829Clarify:3031- Purpose and audience32- Framework or stack (HTML/CSS/JS, React, Vue, etc.)33- Technical constraints (build tool, delivery format, accessibility needs)34- Content, data, or interactions required35- Aesthetic direction — explicit or inferred from context3637### 2. Choose an aesthetic direction3839Pick a clear direction and commit to it intentionally. Examples: brutally minimal, maximalist, retro-futuristic, organic, luxury/refined, playful, editorial, brutalist, art deco, soft/pastel, industrial/utilitarian.4041Intentionality matters more than intensity. Every visual choice should serve the direction.4243### 3. Implement4445Write functional, production-grade code:4647- Distinctive typography and cohesive colour palette48- Purposeful motion for high-impact moments49- Clear spatial composition50- Responsive and accessible baseline51- No generic AI-slop defaults (gradients, fonts, layouts that feel accidental)5253Match implementation complexity to the direction. Maximalist calls for detail; minimalist calls for restraint.5455### 4. Verify5657- Functionality works across target viewports58- Design is cohesive end-to-end59- Every detail is intentional60- Accessibility basics are met (contrast, focus states, semantic markup)6162### 5. Test6364- **Visual regression:** capture a screenshot of the built output and compare against the brief or reference design65- **Accessibility audit:** run axe-core or Lighthouse for contrast, ARIA, focus-order issues66- **Responsive check:** test at min 3 breakpoints (mobile, tablet, desktop)6768## Completion criteria6970- Code is functional and production-grade71- Aesthetic is distinctive, intentional, and cohesive72- No accidental/generic patterns remain73- Typography, colour, motion, and composition serve the chosen direction74- Visual regression and accessibility audit passed7576## Related skills7778- `web-design-reviewer` — fix existing; this skill: greenfield.79- `ui-screenshots` — capture verification.80- `tufte-data-viz` — charts inside pages.