frontend-ui-ux
Skill18 starsChanged 8 months agoMITView on GitHub
Frontend and UI/UX development guidance. Provides patterns for responsive design, accessibility, component architecture, state management, and visual consistency. Load this skill when working on any frontend task.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- mrzhangguoguo/oh-my-workbuddytheir own version, first seen Jul 8, 2026
- Nzettodess/Awesome-Agent-Skillstheir own version, first seen May 24, 2026
- lza6/claw-code-tingfengtheir own version, first seen Apr 22, 2026
- qinshuang/claude-skilltheir own version, first seen Feb 4, 2026
- maikCyphlock/skillstheir own version, first seen Jan 15, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- lza6/claw-code-tingfeng★ 4same name
- mrzhangguoguo/oh-my-workbuddy★ 2same name
- maikCyphlock/skills★ 0same name
- Nzettodess/Awesome-Agent-Skills★ 0same name
- qinshuang/claude-skill★ 0same name
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 repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-slop-removerSkill
- deep-debugSkill
- git-masterSkill
- planSkill
- review-workSkill
- start-workSkill
- teamSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 16 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
When working on frontend code, follow these principles:
- Distinctive: line 16
Colocation: Keep styles, tests, and types near their component
- Distinctive: line 20
Mobile-first: Start with the smallest breakpoint, enhance up
- Distinctive: line 21
Fluid layouts: Use relative units (rem, %, vw/vh) over fixed pixels
- Distinctive: line 27
Semantic HTML: Use proper elements (button, nav, main, aside)
- Distinctive: line 28
ARIA when needed: Only when semantic HTML isn't sufficient
- Distinctive: line 29
Keyboard navigation: All interactive elements must be keyboard-accessible
- Distinctive: line 32
Screen readers: Test with VoiceOver/NVDA, use aria-label/aria-describedby
- Distinctive: line 37
Server state: Use the project's data fetching library (React Query, SWR, etc.)
- Distinctive: line 39
Form state: Use the project's form library (React Hook Form, Formik, etc.)
- Distinctive: line 40
Global state: Only for truly app-wide concerns (theme, auth, locale)
- Distinctive: line 44
Design tokens: Use the project's existing variables/tokens for colors, spacing, typography
- Distinctive: line 45
Spacing scale: Follow the project's spacing system (don't use arbitrary values)
- Distinctive: line 46
Typography: Use existing type scale, don't create new sizes
- Distinctive: line 47
Icons: Use the project's icon system/library
- Distinctive: line 53
Bundle awareness: Check impact of new dependencies
“Common” is measured: kept by at least 6 in 10 of the 5 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 UI/UX Development Guide
When working on frontend code, follow these principles:
Component Architecture
- Single Responsibility: Each component does one thing well
- Composition over inheritance: Build complex UIs from simple, composable pieces
- Props down, events up: Data flows down, actions flow up
- Colocation: Keep styles, tests, and types near their component
Responsive Design
- Mobile-first: Start with the smallest breakpoint, enhance up
- Fluid layouts: Use relative units (rem, %, vw/vh) over fixed pixels
- Breakpoint strategy: Match the project's existing breakpoints
- Touch targets: Minimum 44x44px for interactive elements
Accessibility (A11y)
- Semantic HTML: Use proper elements (button, nav, main, aside)
- ARIA when needed: Only when semantic HTML isn't sufficient
- Keyboard navigation: All interactive elements must be keyboard-accessible
- Color contrast: WCAG AA minimum (4.5:1 for text, 3:1 for large text)
- Focus management: Visible focus indicators, logical tab order
- Screen readers: Test with VoiceOver/NVDA, use aria-label/aria-describedby
State Management
- Local state first: useState/useReducer before reaching for global state
- Server state: Use the project's data fetching library (React Query, SWR, etc.)
- URL state: Filters, pagination, tabs → URL parameters
- Form state: Use the project's form library (React Hook Form, Formik, etc.)
- Global state: Only for truly app-wide concerns (theme, auth, locale)
Visual Consistency
- Design tokens: Use the project's existing variables/tokens for colors, spacing, typography
- Spacing scale: Follow the project's spacing system (don't use arbitrary values)
- Typography: Use existing type scale, don't create new sizes
- Icons: Use the project's icon system/library
Performance
- Lazy loading: Code-split routes and heavy components
- Image optimization: Proper formats (WebP/AVIF), srcset, lazy loading
- Bundle awareness: Check impact of new dependencies
- Render optimization: Memoize expensive computations, avoid unnecessary re-renders
Testing
- Component tests: Render, interact, assert on DOM output
- Visual regression: Screenshot tests for critical UI
- Accessibility tests: Automated a11y checks (axe-core)
- User flow tests: E2E tests for critical paths
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.

