frontend-design
Skill by xstongxue
Guides an AI assistant to build production-ready web interfaces, such as landing pages, dashboards, React or Vue components and HTML/CSS layouts, with a deliberate visual style. It suits users who ask for new web UI or restyling of existing UI.
Install frontend-design
Built from the published package, never by AI.
git clone --depth 1 https://github.com/xstongxue/best-skills /tmp/best-skills && mkdir -p ~/.claude/skills && cp -r /tmp/best-skills/skills/frontend-design ~/.claude/skills/frontend-designRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/xstongxue/best-skills /tmp/best-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/best-skills/skills/frontend-design ~/.gemini/antigravity-cli/skills/frontend-designAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
frontend-design is an agent skill, defined in a SKILL.md file, that guides an assistant when a user asks for web components, pages, posters or apps, such as landing pages, dashboards, React or Vue components, HTML/CSS layouts, or styling of any web UI. It asks the assistant to choose one bold aesthetic direction before writing runnable code, and to avoid generic AI-style design.
The guide covers typography, a color system managed with CSS variables, motion and micro-interactions, unconventional layouts, background details, and accessibility. It includes WCAG-oriented points such as a 4.5:1 contrast target, keyboard focus styles, semantic HTML and prefers-reduced-motion support. It applies whenever a user asks for web UI construction or restyling, and it asks for code with a clear visual stance.
Written from the project's SKILL.md and checked against it.
What it can do
- Design directionAsks the assistant to pick one clear aesthetic direction before writing code.
- TypographyGuides font choice, with a display font for headings, a readable body font and a size and weight scale.
- Color systemUses one color palette managed with CSS variables, a dominant color and a few high-contrast accents.
- MotionFavors CSS animation, staged page entrances and a reduced-motion fallback for users who prefer less movement.
- Layout and spaceEncourages asymmetry, overlap, broken grids and deliberate use of whitespace.
- Background detailsSuggests gradient meshes, noise textures, geometric patterns, layered shadows and similar detail.
- AccessibilityCovers perceivable, operable, understandable and robust guidance, including focus styles and semantic HTML.
- Avoiding generic styleWarns against default fonts like Inter, Roboto and Arial, and template-like components.
Try asking
- Build a landing page for a coffee brand with a bold, editorial look.
- Restyle my dashboard with a distinct visual direction and accessible colors.
- Create a React component for a pricing card with reduced-motion animations.
Good to know
- The guidance text is written in Chinese.
- Full license terms are in a LICENSE.txt file that is not included in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/frontend-design/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to frontend-design
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
frontend-design: common questions
Does frontend-design avoid default fonts?
Yes. It tells the assistant to avoid fonts such as Arial, Inter and Roboto, and system default font stacks, and to vary font pairings between designs.
Does it support reduced motion?
Yes. It asks the assistant to use the prefers-reduced-motion media query and offer static or simpler animations to users who prefer less motion.
What contrast ratio does it recommend?
It recommends at least 4.5:1 contrast between important text and its background, referencing WCAG AA.
How do I install frontend-design?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is frontend-design free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is frontend-design safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to frontend-design?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
