frontend-engineering
Skill2 starsChanged 6 months agoMITView on GitHub
Build UIs that are fast, accessible, maintainable, and tested
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
- DevelopersGlobal/ai-agent-skillstheir own version, first seen May 1, 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
- DevelopersGlobal/ai-agent-skills★ 69same 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
- 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 repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibility-engineeringSkill
- agent-orchestrationSkill
- ai-ml-engineeringSkill
- api-and-interface-designSkill
- architecture-designSkill
- backend-engineeringSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- context-engineeringSkill
- database-designSkill
- data-pipeline-engineeringSkill
- debugging-and-error-recoverySkill
- deployment-strategySkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- incident-responseSkill
- incremental-implementationSkill
- infrastructure-as-codeSkill
- llm-evaluationSkill
- microservices-designSkill
- mobile-developmentSkill
- observability-and-monitoringSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- prompt-engineeringSkill
- rag-system-designSkill
- requirements-analysisSkill
- risk-assessmentSkill
- security-and-hardeningSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- using-agent-skillsSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
6
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 14
Before implementing a new UI feature
- Distinctive: line 15
Before a frontend component is marked complete
- Distinctive: line 21
Every component has states: loading, empty, error, populated, and edge cases.
- Distinctive: line 37
No side effects in render
- Distinctive: line 42
Prefer: local state → lifted state → context → global store (in that order).
- Distinctive: line 54
No dangerouslySetInnerHTML or equivalent without sanitization
“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 engineering is full-stack engineering from the network edge to the pixel. Performance, accessibility, maintainability, and security are all first-class concerns - not features to add later.
When to Use
- Before implementing a new UI feature
- Before a frontend component is marked complete
- As part of the
/reviewworkflow for frontend PRs
Process
Step 1: Define the UI states
Every component has states: loading, empty, error, populated, and edge cases. Define and implement all of them before calling it done.
Step 2: Accessibility first
See accessibility-engineering skill. Apply before visual polish.
Step 3: Performance budget
Define before building:
- Largest Contentful Paint (LCP) target: < 2.5s
- Cumulative Layout Shift (CLS) target: < 0.1
- First Input Delay (FID) / INP target: < 200ms
- Bundle size budget for new routes
Measure with Lighthouse on a representative device.
Step 4: Component design
- Components are pure functions of their props/state
- No side effects in render
- Extract business logic from UI components
- Co-locate styles with components
Step 5: State management
Prefer: local state → lifted state → context → global store (in that order). Only reach for global state when local state genuinely doesn't work.
Step 6: Error boundaries
Wrap sections of the UI in error boundaries. A crash in one section should not take down the whole page.
Step 7: Testing
- Unit test business logic extracted from components
- Component tests for component behavior (not implementation)
- E2E tests for critical user journeys
Step 8: Security
- Sanitize all user-generated HTML rendered to the DOM
- No dangerouslySetInnerHTML or equivalent without sanitization
- Content Security Policy headers configured
Verification Requirements
- All UI states implemented (loading, empty, error, populated)
- Accessibility requirements met (see accessibility-engineering)
- Lighthouse performance score ≥ 90
- Error boundaries in place
- Critical journeys covered by E2E tests
- No XSS vulnerabilities in dynamic HTML rendering
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.

