frontend-design
Skill3 starsChanged 4 months agoMITView on GitHub
Use when building web components, pages, or applications with distinctive, production-grade design quality — color, typography, layout, interaction states, and platform conventions. Triggers on "frontend", "UI design", "design", "组件设计", "界面设计", "前端设计", "视觉风格".
189 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- tsukhani/jclawtheir own version, first seen Oct 5, 2026
- kopp0510/claude-ddtheir own version, first seen Oct 5, 2026
- tam159/next-roletheir own version, first seen Oct 4, 2026
- edenfunf/reelmimictheir own version, first seen Oct 4, 2026
- L-X-T/ng-agentic-skillstheir own version, first seen Oct 4, 2026
- jakubsuplicki/codumenttheir own version, first seen Oct 4, 2026
Used with
Projects with it also use file-reading, arrange and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SeifBenayedSkillfile-reading
Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files block. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Triggers: any mention of /mnt/user-data/uploads/, an uploaded_files section, a file_path tag, or a user asking about an uploaded file you have not yet read. Do NOT use this skill if the file content is already visible in your context inside a documents block — you already have it.
Also in 7 projects that use this
nikafastovets-langSkillarrange
Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.
Also in 6 projects that use this
mm-mazharSkillcache-components
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).
Also in 6 projects that use this
SeifBenayedSkillpdf-reading
Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk. Covers content inventory, text extraction, page rasterization for visual inspection, embedded image/attachment/table/form-field extraction, and choosing the right reading strategy for different document types (text-heavy, scanned, slide-decks, forms, data-heavy). Do NOT use this skill for PDF creation, form filling, merging, splitting, watermarking, or encryption — use the pdf skill instead.
Also in 6 projects that use this
JokerRunSkillcompound-engineering
Compound Engineering workflow for AI-assisted development. Use when planning features, executing work, reviewing code, or codifying learnings. Follows the Plan → Work → Review → Compound loop where each unit of engineering makes subsequent work easier. Triggers on: plan this feature, implement this, review this code, compound learnings, create implementation plan, systematic development.
Also in 5 projects that use this
mtctSkillteach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
Also in 10 projects that use this
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- dcSpark/shinkai-local-ai-agents★ 43311% same
- myths-labs/muse★ 3511% same
- leadgenjay/claude-skills★ 1911% same
Wrote their own version · 186
- anthropics/skills★ 199ksame name
- bytedance/deer-flow★ 83ksame name
- anthropics/claude-plugins-official★ 37ksame name
- anbeime/skill★ 7.5ksame name
- steipete/agent-scripts★ 7.2ksame name
- vercel-labs/open-agents★ 5.8ksame name
- Galaxy-Dawn/claude-scholar★ 5.7ksame name
- cloudflare/vibesdk★ 5.4ksame name
- microsoft/agent-academy★ 3.5ksame name
- jjyaoao/HelloAgents★ 3.2ksame name
176 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository49 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormSkill
- oss-strategySkill
- specSkill
- researchSkill
- api-designSkill
- architectureSkill
- codebase-designSkill
- design-researchSkill
- domain-modelingSkill
- imagegenSkill
- image-to-codeSkill
- prompt-engineeringSkill
- prototypeSkill
- schema-designSkill
- auth-implementationSkill
- breakdownSkill
- context-engineeringSkill
- error-handlingSkill
- i18nSkill
- implementSkill
- multi-agent-orchestrationSkill
- cost-optimizationSkill
- performanceSkill
- refactoringSkill
- simplifySkill
- api-testingSkill
- e2e-testingSkill
- load-testingSkill
- tddSkill
- test-generationSkill
- a11y-reviewSkill
- code-reviewSkill
- debuggingSkill
- lintingSkill
- security-reviewSkill
- ci-cdSkill
- deprecation-migrationSkill
- git-workflowSkill
- oss-polishSkill
- shippingSkill
- documentation-auditSkill
- handoffSkill
- incident-responseSkill
- observabilitySkill
- purity-auditSkill
- skill-authoringSkill
- using-skillsSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 180 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Before coding, commit to a bold aesthetic direction.
- Very specific: line 48
If docs/design/references.md exists (produced by design-research), load it first — ground the style choice in what real market references …
- Distinctive: line 60
Use a dominant-surface-accent distribution, not timid even palettes.
- Distinctive: line 76
Every interactive element needs all states: default, hover, focus, pressed, disabled, loading.
- Distinctive: line 77
Use consistent scales for spacing, radius, elevation, and icons — not arbitrary values.
“Common” is measured: kept by at least 6 in 10 of the 180 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frontend Design
Build distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. The method: pick a bold aesthetic direction, apply a color formula, pair typography deliberately, specify interaction states, and execute with precision. Bold maximalism and refined minimalism both work — the key is intentionality, not intensity.
When to use
- Building web components, pages, or applications (HTML/CSS/JS, React, Vue, Svelte, etc.)
- Choosing a design direction, color palette, or typography system for a project
- Reviewing UI for visual quality, accessibility, or interaction polish
- Implementing responsive layouts, dark mode, or platform-specific conventions (Apple HIG, Material)
- Triggers on "frontend", "UI design", "组件设计", "界面设计", "前端设计", "视觉风格"
Not for: pure data visualization (use dataviz); backend logic with no visual surface;
API contract design (use api-design). Visually important web work where image-first is preferred
(use image-to-code).
Steps
1. Define the element and project context
Before coding, commit to a bold aesthetic direction. Answer:
- Element: What are you building? (button, card, modal, navbar, page, full app)
- Purpose: What problem does this interface solve? Who uses it?
- Tone: Pick an extreme — brutally minimal, maximalist, retro-futuristic, organic, luxury, playful, editorial, brutalist, art deco, industrial. Commit fully; never default to "safe."
- Differentiation: What makes this UNFORGETTABLE? The one thing someone will remember.
Match implementation complexity to the vision: maximalist designs need elaborate code; minimalist designs need restraint and precision. NEVER use generic AI aesthetics — overused fonts (Inter, Roboto, Arial), purple gradients on white, rounded-2xl everything, stock card grids, lorem ipsum.
- Load references/brief-inference.md for the design-read protocol (infer page kind, audience, vibe, constraints before coding) and the three dials (DESIGN_VARIANCE, MOTION_INTENSITY, VISUAL_DENSITY) that gate layout, motion, and density
- Load references/design-foundations.md §Perception & Gestalt and §Hierarchy & Layout for the visual-organization principles beneath layout — Gestalt laws, the four hierarchy techniques, F/Z reading patterns, the squint and 5-second tests, CRAP expanded
- Load references/design-foundations.md §Cognitive Laws for the psychology laws that constrain layout — Hick's, Fitts's, Miller's 7±2, Tesler, Von Restorff, cognitive load types, progressive disclosure
- Load references/ux-research.md when the user or context is unknown — interviews, personas, journey maps, empathy maps, usability testing (run discovery before visual design)
- Load references/design-foundations.md §Information Architecture when organizing content — the four IA elements, tree vs network, card sorting, navigation depth, labeling systems
2. Pick a style
If docs/design/references.md exists (produced by design-research), load it first — ground the
style choice in what real market references actually ship, not internal catalogs alone.
Choose a concrete visual style that fits the product type and tone. Consistency across all pages is
non-negotiable — don't mix flat and skeuomorphic randomly. Use SVG icons (Lucide, Heroicons), never
emoji as structural icons. Effects (shadows, blur, radius) must align with the chosen style.
- Load references/styles.md for the style catalog (glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, skeuomorphism, flat design, and more) with characteristics, when-to-use, and effects
- Load references/apple-hig.md when designing for Apple platforms (iOS, iPadOS, macOS, tvOS, visionOS, watchOS) — HIG specs, routing table, critical design rules
- Load references/material-design.md when designing for Android or Google-ecosystem products — Material 3 color/type/elevation/state-layer roles, M3 vs M2, when Material vs HIG vs custom
3. Apply the color formula
Use a dominant-surface-accent distribution, not timid even palettes. Define semantic tokens (never raw hex in components), meet WCAG contrast, and design light/dark variants together.
- Load references/palettes.md for the 60/30/10 formula, semantic token table, contrast ratios, dark-mode rules, and palette selection by product type
- Load references/design-foundations.md §Color for the theory beneath the formula — HSB model, five color schemes, 70:25:5 proportion, color psychology, cultural variance, the gray-test
4. Typography pairing
Pair a distinctive display font with a refined body font. Avoid generic defaults. Vary between generations — never converge on the same choice every time.
- Load references/font-pairings.md for the type scale, weight hierarchy, line-height/line-length targets, tabular figures, and pairing catalog by personality
- Load references/design-foundations.md §Typography for the theory — font anatomy (x-height, counters, contrast), optical sizing, vertical rhythm, modular scale ratios, rendering
5. Specify interaction states and mark specs
Every interactive element needs all states: default, hover, focus, pressed, disabled, loading. Use consistent scales for spacing, radius, elevation, and icons — not arbitrary values. Every view must also handle the four user-side states — design them explicitly, don't leave them to chance:
| State | Design job |
| Loading | Show structure (skeleton screen), not a bare spinner |
| Error | Explain what happened in plain language + a concrete next step |
| Empty | Explain why it's empty + guide the user to a first action |
| Partial | Make loaded parts interactive; don't block the whole view on one fetch |
Load for depth (the essentials above are enough to specify the step; load these when the corresponding concern is in play):
- references/ux-guidelines.md — touch-target sizes, focus rings, reduced-motion, spacing scale, pre-delivery checklist
- references/motion-system.md — motion token scale (duration, easing, distance), choreography patterns (stagger, shared-element, cross-fade), scroll-animation skeletons
- references/design-tokens.md — token tiers (global → semantic → component), naming convention, scales (spacing, radius, elevation, z-index)
- references/component-anatomy.md — part-based design (compound components, slots), variant axes mapped to tokens (load when building component systems)
- references/design-foundations.md §Usability Heuristics — Nielsen's 10, Heuristic Evaluation, Norman, Rams (load when evaluating)
- references/state-design.md — skeleton-screen patterns, empty-state copy, error-recovery flows beyond the table above
- references/state-management.md — load only when the UI has complex data-flow (client/server state, cache strategy, optimistic updates); that's an architecture concern, not a state-spec one
6. Implement and verify
Implement working code (HTML/CSS/JS, React, Vue, etc.) that is production-grade, functional, visually striking, and meticulously refined.
Output:
- Designing UI from scratch →
docs/design/DESIGN.md— the UIUX design report: design system, information architecture, interaction patterns, component plan. - Auditing an existing frontend →
docs/design/frontend-audit.md— findings and optimization suggestions for current layout/components/typography/styles. - User research before design →
docs/research/ux-research.md— personas, journey maps, empathy maps, usability-test findings (produced when the user/context is unknown; load references/ux-research.md).
Then run the verification below.
Verify
- Aesthetic direction is bold and intentional — not generic AI slop (no purple-on-white, no rounded-2xl everything, no stock card grids)
- Color formula applied: dominant/surface/accent distribution, semantic tokens, 4.5:1 contrast
- Typography: distinctive display + refined body, consistent type scale, no skipped heading levels
- Interaction states: every interactive element has default/hover/focus/pressed/disabled
- Touch targets ≥44pt; spacing on 4/8dp scale; consistent radius and elevation scales
- Responsive: works at 320px, 768px, 1024px, 1440px; no horizontal scroll on mobile
- Dark mode designed alongside light mode, not bolted on
- Accessibility: keyboard navigation, ARIA labels, focus management, reduced-motion support
- No emoji as icons; SVG icons from one consistent family
Red flags: purple/indigo everything; excessive gradients; rounded-2xl on everything; lorem ipsum copy; oversized uniform padding; stock card grids; shadow-heavy layering; hardcoded hex in components; text under 12px; gray-on-gray; color as sole state indicator.
- Load references/anti-tells.md for the full forbidden-patterns list and the pre-flight check matrix — run every box before delivering
References
- ${CLAUDE_PLUGIN_ROOT}/references/engineering-principles.md — shared discipline (surface assumptions, push back, verify don't assume)
- ${CLAUDE_PLUGIN_ROOT}/references/design-principles.md — design discipline (CRAP, hierarchy before decoration, minimize cognitive load, design every state, accessibility non-optional, consistency from systems)
- ${CLAUDE_PLUGIN_ROOT}/references/product-icon.md — generating a product icon / favicon as SVG (study OSS icon systems; not simple shapes + simple colors)
- references/styles.md — 21 UI styles with effect specs (shadows, blur, radius)
- references/palettes.md — 12 palette directions by product type
- references/font-pairings.md — 31 font pairings across 10 personality categories
- references/ux-guidelines.md — 232 UX guidelines across 10 priority categories + pre-delivery checklist
- references/apple-hig.md — Apple HIG routing table + quick-reference specs
- references/brief-inference.md — design-read protocol + 3 dials (variance, motion, density) + design-system selection map
- references/anti-tells.md — forbidden AI patterns + pre-flight check matrix
- references/motion-system.md — motion token scale, easing catalog, choreography patterns, scroll-animation skeletons
- references/design-tokens.md — token tiers, naming convention, scales (spacing, radius, elevation, z-index)
- references/component-anatomy.md — compound components, slot architecture, variant axes, composition patterns
- references/state-management.md — client vs server state, store/cache selection, state machines, optimistic updates, derived state, normalization
- references/design-foundations.md — design theory in one place: Perception & Gestalt, Cognitive Laws (Hick's, Fitts's, Miller, Tesler, Von Restorff), Color (HSB, schemes, 70:25:5), Typography (anatomy, rhythm, scale), Hierarchy & Layout (F/Z patterns, squint/5-second tests, CRAP), Usability Heuristics (Nielsen 10, Norman, Rams), Information Architecture (4 elements, card sorting, labeling)
- references/state-design.md — four states (loading/error/empty/partial), skeleton screens, empty-state design, error recovery
- references/material-design.md — Material 3 color/type/elevation/state-layer roles, M3 vs M2, when Material vs HIG vs custom
- references/ux-research.md — user interviews, personas, journey maps, empathy maps, usability testing (5-user rule, think-aloud)
- references/visual-direction.md — shared web visual-direction engine for imagegen (web mode) and image-to-code (variation axes, hero scale, composition anchors, anti-slop)
- references/design-system-audit.md — token coverage vs hardcoded values audit, component variant/state/a11y documentation, systematic extension patterns
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

