frontend-design · nexu-io — Claude Code skill: interface design
Skill for building frontend interfaces with considered typography, color and layout — from landing pages to dashboards.
npx skills add nexu-io/open-design --skill frontend-design -a claude-codeWhat frontend-design does
The skill teaches the agent to build interfaces with a clear visual stance: pick a specific direction (minimalist, editorial, industrial, retro-futuristic), pair typefaces, create a palette with role logic and use accents deliberately. Inside: rules for typography, color, layout, component states and responsive behavior. The agent assembles working HTML/CSS/JS or React/Vue/Svelte components with semantic markup, focus states, honest content (no invented claims) and variables for colors and spacing.
Integrates with OpenDesign: if the project has tokens, components or DESIGN.md, the agent treats them as source of truth. Adapted from Anthropic's official skills repository, Apache-2.0 license. Works in Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode.
What it helps with
- build a landing page with a memorable visual style
- design a dashboard with dense layout for repeated use
- redesign a UI component with hover, focus and disabled states
- create a palette with accents and role-based color logic
- adapt an interface for mobile and desktop widths
Example prompts for the agent
- Build a SaaS analytics landing page with industrial style, tight typography and working button states
- Redesign this dashboard: remove default gradients, add loading and empty states
- Create a React product card component with honest content and responsive layout
How to install frontend-design
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill frontend-design -a claude-code2Manually: put the files in place
~/.claude/skills/frontend-design/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/frontend-design/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill frontend-design -a codex2Manually: put the files in place
.agents/skills/frontend-design/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill frontend-design -a cursor2Manually: put the files in place
.cursor/skills/frontend-design/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install nexu-io/open-design frontend-design2Manually: put the files in place
.github/skills/frontend-design/SKILL.md1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill frontend-design -a gemini-cli2Platform CLI
gemini skills install https://github.com/nexu-io/open-design --path skills/frontend-designManually: put the files in place
.devin/skills/frontend-design/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill frontend-design -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set39
The whole set →Other versions of frontend-design
Similar
Questions about frontend-design
How to install frontend-design in Claude Code?
Run npx skills add nexu-io/open-design --skill frontend-design -a claude-code, the skill lands in ~/.claude/skills/frontend-design/SKILL.md.
What does frontend-design do?
Teaches the agent to build interfaces with considered typography, color, layout and states — from landing pages to dashboards. The agent picks a specific visual direction, creates a palette with role logic and assembles working HTML/CSS/JS or React/Vue/Svelte components with semantic markup and responsive behavior.
What does frontend-design need to work?
Integrates with OpenDesign: if the project has tokens, components or DESIGN.md, the agent uses them as source of truth. Without a design system, the agent applies the skill's rules.
Source text
SKILL.md · Apache-2.0
---
name: frontend-design
description: |
Create distinctive, production-grade frontend interfaces with strong visual direction, polished typography, considered layout, and working HTML/CSS/JS or framework code. Use for websites, landing pages, dashboards, React components, application screens, and UI beautification.
triggers:
- "frontend design"
- "ui design"
- "ux design"
- "web design"
- "production ui"
- "landing page"
- "dashboard design"
- "react component design"
license: Complete terms in LICENSE.txt
od:
mode: prototype
category: web-artifacts
craft:
requires: [typography, color, anti-ai-slop]
design_system:
requires: true
sections: [color, typography, layout, components]
example_prompt: "Design and build a production-quality SaaS analytics dashboard for a finance team, with real interaction states, refined typography, and a distinctive visual direction."
upstream: "https://github.com/anthropics/skills/tree/main/skills/frontend-design"
---
# frontend-design
> Adapted from Anthropic's official `frontend-design` skill for OpenDesign.
Use this skill when the user asks to build or improve a frontend interface: a website, landing page, dashboard, application screen, HTML/CSS artifact, React/Vue/Svelte component, or a visual redesign of an existing UI.
The goal is not just "make it nicer." The goal is to ship working frontend code with a clear design point of view, strong craft, and enough product detail that the result feels designed for the user's actual context.
## Workflow
1. Understand the brief before choosing the look.
- Identify the audience, primary job, domain, and emotional tone.
- Note any technical constraints: framework, existing styles, accessibility, performance, export target, or responsive requirements.
- If the repo already has design tokens, components, screenshots, or a `DESIGN.md`, use those as the source of truth.
2. Commit to one specific aesthetic direction.
- Pick a direction that fits the product: brutally minimal, editorial, luxury, playful, industrial, retro-futuristic, dense operational, calm enterprise, artful consumer, or another precise direction.
- Make the direction concrete through typography, spacing, color, hierarchy, motion, and component shape.
- Avoid generic AI defaults: purple-blue gradients, vague glass cards, interchangeable SaaS layouts, over-rounded cards, stock icon rows, and decorative blobs that do not serve the interface.
3. Design the real interface, not a placeholder poster.
- Include the controls, empty/loading/error states, tables, filters, navigation, and responsive behavior a real user would expect.
- Use honest content. If data is unknown, label it as sample, pending, or unavailable instead of inventing claims.
- Keep workflows efficient for the target user. Dashboards and tools should be scannable and dense enough for repeated use; marketing pages can be more expressive.
4. Build production-grade frontend code.
- Prefer the repository's existing framework, component conventions, icons, tokens, and styling approach.
- For standalone artifacts, create self-contained HTML/CSS/JS unless the user asked for a framework.
- Use semantic markup, keyboard-accessible controls, visible focus states, sensible contrast, and responsive layout constraints.
- Use CSS variables for repeated colors, spacing, shadows, and type scale.
5. Refine visual craft.
- Typography: choose expressive but readable type pairings. Avoid using default system stacks as the main visual idea unless the direction is intentionally utilitarian.
- Color: create a balanced palette with role clarity. Use accent color sparingly and deliberately.
- Layout: use alignment, rhythm, density, and negative space intentionally. Do not let cards, panels, or labels drift.
- Motion: add purposeful transitions for state changes, reveals, and feedback. Prefer transforms and opacity for performance.
- Details: use texture, borders, shadows, dividers, media, and iconography only when they support the concept.
6. Self-review before final delivery.
- The interface works at mobile and desktop widths.
- Text fits its containers and does not overlap adjacent UI.
- Interactive elements have hover/focus/active/disabled states.
- The design avoids obvious AI-generated visual tropes.
- The result has one memorable quality a user could describe after closing the page.
## OpenDesign Integration
When OpenDesign provides an active design system, treat it as the product's brand contract. Use the injected color, typography, layout, and component guidance first, then apply this skill's frontend craft rules where the design system is silent.
When OpenDesign injects craft references such as `typography`, `color`, and `anti-ai-slop`, apply those checks before finishing. If the user's brand guidance conflicts with a generic craft rule, the user's brand guidance wins.
## Source
- Upstream: https://github.com/anthropics/skills/tree/main/skills/frontend-design
- Category: `web-artifacts`
## License
This skill is adapted from Anthropic's official skills repository. See `LICENSE.txt` in this folder for the upstream Apache-2.0 license terms.
© nexu-io · Apache-2.0 · nexu-io/open-design