frontend-engineering
Skill69 starsChanged 7 months agoMITView on GitHub
Accessible, performant, responsive UI patterns. Component design, state management discipline, and Core Web Vitals compliance.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- juninmd/skillstheir own version, first seen Sep 15, 2026
- adtn0810/truestacktheir own version, first seen Sep 12, 2026
- JimmyVGDY/codex-long-term-assistant-skillstheir own version, first seen Aug 31, 2026
- magnus919/agent-skillstheir own version, first seen Jul 21, 2026
- sohaibdevv/AI-AGENT-SKILLStheir own version, first seen Jun 14, 2026
- zwy123zwy/agenttheir own version, first seen Feb 18, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- magnus919/agent-skills★ 109same name
- JimmyVGDY/codex-long-term-assistant-skills★ 3same name
- adtn0810/truestack★ 2same name
- juninmd/skills★ 2same name
- rogue-dev-studio/ai-agents-rogue★ 2same name
- sohaibdevv/AI-AGENT-SKILLS★ 2same name
- zwy123zwy/agent★ 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 repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-output-validationSkill
- api-designSkill
- ci-cd-pipelinesSkill
- code-explanationSkill
- code-reviewSkill
- context-loadingSkill
- debugging-methodologySkill
- documentationSkill
- error-handlingSkill
- git-workflowSkill
- goal-driven-executionSkill
- hallucination-preventionSkill
- idea-to-specSkill
- incremental-codingSkill
- integration-testingSkill
- meeting-notes-to-tasksSkill
- multi-agent-orchestrationSkill
- observabilitySkill
- performance-optimizationSkill
- production-deploymentSkill
- prompt-injection-defenseSkill
- rag-and-memorySkill
- refactoringSkill
- research-and-summarizeSkill
- security-hardeningSkill
- simplicity-firstSkill
- surgical-changesSkill
- task-decompositionSkill
- test-driven-developmentSkill
- think-before-codingSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
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 17
Before any UI ships to production
- Distinctive: line 23
Every interactive element has a visible focus state.
- Very specific: line 24
All images have meaningful alt text (or alt="" for decorative).
- Distinctive: line 26
All functionality operable by keyboard alone.
- Very specific: line 27
Use semantic HTML: <button> not <div onclick>, <nav> not <div class="nav">.
- Distinctive: line 29
Verify: Run axe DevTools or Lighthouse accessibility audit.
- Distinctive: line 43
Test at 320px, 768px, 1024px, 1440px viewports.
- Distinctive: line 44
No horizontal scrolling at any standard viewport.
- Distinctive: line 50
No prop drilling more than 2 levels — use context or state management.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Overview
Frontend code touches every user. Poor UI engineering causes accessibility barriers, performance degradation, and broken experiences on non-standard devices. This skill enforces the discipline of building UI that works for everyone.
When to Use
- Building any user-facing UI component
- Reviewing frontend PRs
- Before any UI ships to production
Process
Step 1: Accessibility First
- Every interactive element has a visible focus state.
- All images have meaningful alt text (or
alt=""for decorative). - Color contrast ratio ≥ 4.5:1 for normal text.
- All functionality operable by keyboard alone.
- Use semantic HTML:
<button>not<div onclick>,<nav>not<div class="nav">.
Verify: Run axe DevTools or Lighthouse accessibility audit. Score ≥ 90.
Step 2: Performance (Core Web Vitals)
- LCP (Largest Contentful Paint) < 2.5s: Optimize images, preload critical resources.
- FID/INP < 100ms: Avoid long tasks on the main thread.
- CLS (Cumulative Layout Shift) < 0.1: Reserve space for dynamic content.
- Lazy load below-the-fold images and non-critical JS.
- Bundle size: measure before and after. No unneeded dependencies.
Verify: Lighthouse performance score ≥ 80. CWV within targets.
Step 3: Responsive Design
- Test at 320px, 768px, 1024px, 1440px viewports.
- No horizontal scrolling at any standard viewport.
- Touch targets ≥ 44px × 44px.
Step 4: State Management Discipline
- Server state vs. client state are separate concerns — don't mix.
- No prop drilling more than 2 levels — use context or state management.
- Loading, error, and empty states handled for every async operation.
Verify: Loading, error, and empty states all visible in Storybook/dev environment.
Common Rationalizations (and Rebuttals)
| Excuse | Rebuttal |
| "Accessibility is for edge cases" | 1 in 4 adults has a disability. It's not an edge case. |
| "We'll optimize performance later" | Users leave after 3 seconds. "Later" is too late. |
Verification
- Accessibility audit score ≥ 90
- Core Web Vitals within targets
- Responsive at 320px/768px/1024px/1440px
- Loading, error, empty states handled
- All interactive elements keyboard-operable
References
- references/accessibility-checklist.md
- performance-optimization skill
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.

