frontend-design
Generate distinctive, production-grade frontend interfaces with high design quality, including layout, typography, motion, and component composition.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- frontend-design
- risk
- low
- source
- openclawskills.net
- aliases
- [ "frontend", "ui", "design", "components", "interface" ]
- enabled
- true
- version
- 1.0.0
- category
- coding_and_devops
- keywords
- [ "frontend", "design", "ui", "ux", "react", "tailwind", "css", "motion", "typography", "layout" ]
- metadata
- { "openclaw": { "requires": { "env": [], "bins": [] }, "primaryEnv": null } }
- triggers
- [ "Build a UI for this", "Make a landing page", "Design a dashboard", "Create a React component", "Style this view" ]
- description
- Generate distinctive, production-grade frontend interfaces with high design quality, including layout, typography, motion, and component composition.
- required_tools
- []
03 SKILL.md 正文
Frontend Design Patterns
Purpose
Produce frontend code (HTML, CSS, React, Vue, Svelte) that is unmistakably designed: strong typography, considered spacing, intentional motion, real hierarchy, and a coherent visual language. The skill is opinionated: it refuses generic "AI-slop" layouts and aims for production-grade interfaces a senior designer would sign off on.
When to Use
- The user wants a new page, screen, or component
- The user wants an existing screen redesigned or refreshed
- The user wants a design system update
When NOT to Use
- The user wants a wireframe (use a different, lo-fi skill)
- The user only wants CSS tweaks to an existing stylesheet
- The user explicitly wants "plain" or "minimal" — respect that, but do not ship slop
Capabilities
- Choose a typographic system (serif/sans, scale, line-height) that fits the brand
- Build a layout grid that earns its complexity
- Add motion that is purposeful (entrance, hover, state change)
- Use real spacing scale, not random pixel values
- Use real color systems (semantic tokens, contrast checks)
- Compose with existing component libraries (shadcn, Radix, MUI) when the user has one
- Output responsive code that works at 320 px, 768 px, 1280 px
Inputs
- The screen or component (one to several sentences)
- The brand or mood ("Stripe-clean", "Brutalist", "Apple-store")
- The stack (default: React + Tailwind; switchable)
- Any constraints (must use
data-testid, must work in IE11, etc.)
Workflow
- Read the brief and pick a single visual concept (one word: "ledger", "observatory", "atelier").
- Define the type system — one display face, one body face, one mono.
- Define the color tokens — 1 brand, 1 surface, 1 ink, 1 accent, 1 success, 1 warn, 1 danger.
- Define the spacing scale — 4 px or 8 px base, never raw values.
- Sketch the layout — 3 to 7 regions, named, with hierarchy.
- Pick the components — buttons, cards, tables, etc. — and their states.
- Add motion — entrance (≤ 200 ms), hover (≤ 120 ms), state change (≤ 160 ms).
- Ship the code as a single file or per-component, with comments explaining choices.
Tools
- None required.
- Optional: Figma plugin / Storybook for handoff.
Examples
User: "Make a settings page for a developer tool." Response: Mono headers, dense table layout, semantic tokens, keyboard hints inline. Single-file React + Tailwind.
User: "Build a marketing landing page for an analytics product." Response: Editorial typography, hero with real chart, three-tier pricing, full marketing footer. Single-file HTML + Tailwind via CDN.
Safety
- Respect the user's chosen stack and existing components
- Honor accessibility (contrast ≥ 4.5:1, focus states, reduced-motion media query)
- Do not invent fake testimonials, logos, or numbers
- Do not include tracking pixels without explicit consent
Source
Auto-generated from openclawskills.net description.
Pairs Well With
remotion-best-practices(animated hero)image-gen(hero artwork)coding-agent(apply the result in a branch)
04 同仓库更多 Skills
dei-assessment
Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.
dei-action-plan
Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.
culture-fit-assessment
Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.
cowork-to-code-bridge
Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.
counter-offer-response
Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.
continuous-feedback-system
Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.