frontend-design
Skill4 starsChanged 9 months agoMITView on GitHub
Use this skill when building UI components, designing frontend architecture, implementing styling systems, optimizing performance, ensuring accessibility, or creating production-grade interfaces. Trigger on keywords: frontend, component, UI, styling, React, Next.js, Angular, Tailwind, CSS, responsive, accessibility, performance, animation, design system.
187 other projects use a version of this.
Adopted by
Most recently taken up by
- swiss-knife-xyz/swiss-knifetheir own version, first seen Nov 30, 2026
- bartstc/vite-ts-react-templatetheir own version, first seen Nov 28, 2026
- openvetta/open-vettatheir own version, first seen Nov 24, 2026
- OyadotAI/oya-browsertheir own version, first seen Nov 21, 2026
- devantler-tech/ksailtheir own version, first seen Nov 21, 2026
- syahiidkamil/Software-Engineer-AI-Agent-Atlastheir own version, first seen Nov 21, 2026
Used with
Projects with it also use albert-dm, instantly-campaign 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.
yawningwhaleAISkillalbert-dm
Reply to DMs and messages the way Albert would. Use when the user asks "how would Albert reply to this", pastes a conversation and wants an Albert-style response, or asks you to draft/write a DM in Albert's voice. Albert sells AI voice agents / automations to local service businesses (Go High Level, lead follow-up, bookings).
Also in 7 projects that use this
yawningwhaleAISkillinstantly-campaign
Create a new Instantly cold-email campaign in the proven 5-email structure of the user's top-performing campaign (~16% reply rate). Use when the user wants to launch a new outbound campaign, write a cold email sequence, create an Instantly campaign, draft outreach for a new service or niche, or set up a sales sequence.
Also in 8 projects that use this
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
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
stophobiaSkillsurprise-me
Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".
Also in 5 projects that use this
- +5 more from naman10parikh
Other versions187 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 187
- anthropics/skills★ 202ksame name
- bytedance/deer-flow★ 86ksame name
- anthropics/claude-plugins-official★ 49ksame name
- novuhq/novu★ 40ksame name
- Dokploy/dokploy★ 39ksame name
- markmead/hyperui★ 12ksame name
- basketikun/infinite-canvas★ 11ksame name
- mengxi-ream/read-frog★ 11ksame name
- 1weiho/open-slide★ 10ksame name
- open-slide/open-slide★ 10ksame name
177 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 repository37 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- ai-agent-designSkill
- ai-assisted-learningSkill
- ai-prompting-patternsSkill
- api-designSkill
- backend-devSkill
- career-growthSkill
- client-communicationSkill
- code-explanationSkill
- code-readingSkill
- code-reviewSkill
- cross-functional-collabSkill
- database-designSkill
- debugging-mindsetSkill
- devops-cicdSkill
- doc-creationSkill
- focus-productivitySkill
- git-workflowSkill
- incident-responseSkill
- internal-commsSkill
- interview-prepSkill
- mcp-builderSkill
- performance-reviewSkill
- problem-solvingSkill
- prompt-engineeringSkill
- research-synthesisSkill
- resume-portfolioSkill
- self-healing-mindsetSkill
- side-project-planningSkill
- sprint-planningSkill
- system-designSkill
- technical-communicationSkill
- technical-mentoringSkill
- tech-researchSkill
- testingSkill
- threat-modelingSkill
- web-artifacts-builderSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 181 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Before writing a single line of CSS, define:
- Distinctive: line 33
Use composition over prop-drilling
- Distinctive: line 34
Default to server components.
- Distinctive: line 62
Don't default to Inter or Roboto — they signal "AI generated"
- Distinctive: line 63
Consider: Geist, Instrument Sans, Plus Jakarta Sans, DM Sans
- Very specific: line 79
Images: Use next/image or native lazy loading, modern formats (WebP/AVIF)
- Distinctive: line 120
Rule: Start with the simplest option.
- Distinctive: line 140
Default to Server Components — fetch data server-side
- Distinctive: line 141
Use Client Components only for: event handlers, browser APIs, hooks, real-time updates
- Very specific: line 142
Place 'use client' as low in the tree as possible
- Distinctive: line 143
Use Server Actions for form submissions and mutations
“Common” is measured: kept by at least 6 in 10 of the 181 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
Design Philosophy
Avoid distributional convergence — the tendency for AI to default to generic purple gradients, Inter font, and rounded-corner cards. Every interface should have a deliberate aesthetic based on its purpose and audience.
Before writing a single line of CSS, define:
- What emotion should this interface convey?
- Who is the user and what context are they in?
- What is the single most important action on this screen?
Component Architecture
Atomic Design Hierarchy
Atoms → Button, Input, Label, Icon
Molecules → SearchBar (Input + Button), FormField (Label + Input + Error)
Organisms → Header, ProductCard, UserProfile
Templates → PageLayout, DashboardLayout
Pages → Specific instances with real dataComponent Rules
- One component = one responsibility
- Props should be explicit, not inferred
- Use composition over prop-drilling
- Default to server components; use client components only for interactivity
Styling System
Tailwind Best Practices
// Extract repeated patterns into components, not custom CSS
// BAD: Duplicating classes everywhere
<div className="flex items-center gap-2 px-4 py-2 bg-blue-600 text-white rounded-lg">
// GOOD: Extract to a component
<Button variant="primary">Click me</Button>Design Tokens (Custom Properties)
:root {
--color-primary: #your-brand-color;
--color-surface: #f8f9fa;
--spacing-unit: 4px;
--radius-default: 8px;
--font-heading: 'Your Chosen Font', sans-serif;
}Typography That Avoids Generic AI Look
- Don't default to Inter or Roboto — they signal "AI generated"
- Consider: Geist, Instrument Sans, Plus Jakarta Sans, DM Sans
- Mix weights deliberately: 400 for body, 600 for emphasis, 800 for headlines
- Establish a clear type scale before building
Performance Optimization
Core Web Vitals Targets
| Metric | Target | What It Measures |
| LCP | < 2.5s | Largest Contentful Paint — loading |
| FID/INP | < 100ms | Interaction responsiveness |
| CLS | < 0.1 | Layout stability |
Key Techniques
- Images: Use
next/imageor native lazy loading, modern formats (WebP/AVIF) - Fonts:
font-display: swap, preload critical fonts - JS: Code splitting, dynamic imports for heavy components
- CSS: Purge unused styles in production
- Server Components: Move data fetching to the server, reduce client JS
Accessibility (WCAG 2.1 AA)
Non-Negotiables
- All interactive elements reachable by keyboard (Tab order)
- Focus visible on all focusable elements
- Color contrast ratio ≥ 4.5:1 for normal text, 3:1 for large
- All images have meaningful alt text (or
alt=""for decorative) - Form inputs have associated labels
- Error messages are associated with their fields
- ARIA roles used correctly (don't add ARIA unnecessarily)
Semantic HTML First
// BAD: div soup
<div onClick={...} className="button">Click</div>
// GOOD: semantic HTML
<button type="button" onClick={...}>Click</button>State Management Decision Guide
| Need | Solution |
| Local UI state | useState |
| Shared local state | useContext or prop drilling |
| Server state / caching | TanStack Query / SWR |
| Complex client state | Zustand (lightweight) or Redux Toolkit |
| Form state | React Hook Form |
| URL state | useSearchParams / nuqs |
Rule: Start with the simplest option. Reach for complexity only when you feel the pain.
Animation Guidelines
- Animations should have purpose — convey state change, guide attention, provide feedback
- Duration: 150-300ms for UI transitions, 400-600ms for page transitions
- Easing: ease-out for entrances, ease-in for exits, ease-in-out for emphasis
- Respect
prefers-reduced-motion— always provide a no-animation fallback
@media (prefers-reduced-motion: reduce) {
* { animation-duration: 0.01ms !important; }
}Next.js Specific (App Router)
- Default to Server Components — fetch data server-side
- Use Client Components only for: event handlers, browser APIs, hooks, real-time updates
- Place
'use client'as low in the tree as possible - Use Server Actions for form submissions and mutations
- Route handlers (
route.ts) for custom API endpoints
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.

