react-component-engineering
Skill1 starsChanged 3 months agoMITView on GitHub
Build and review accessible, responsive, design-system-aligned React components and screens. Use for JSX/TSX, semantic HTML, Tailwind, shadcn/ui, component APIs, forms, dialogs, tables, responsive layouts, loading/error/empty states, or frontend design review.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- manish1803/nextjs-fullstack-skillstheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- manish1803/nextjs-fullstack-skills★ 2same 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- react-motion-engineeringSkill
- react-production-engineeringSkill
- react-quality-engineeringSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
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 23
Add keyboard/focus behavior and accessible names/descriptions.
- Distinctive: line 24
Add loading, empty, error, disabled, pending, and permission states that apply.
- Distinctive: line 25
Add motion only when it communicates state or spatial relationship.
- Distinctive: line 26
Verify keyboard, zoom/reflow, long content, and representative viewports.
- Distinctive: line 30
Use native semantic elements first.
- Distinctive: line 33
Every interactive control must be keyboard operable with visible focus.
- Distinctive: line 34
Do not use placeholder text as the only label.
- Distinctive: line 35
Do not encode meaning by color alone.
- Distinctive: line 38
Avoid boolean-prop explosions and component APIs that expose internal implementation details.
- Distinctive: line 39
Do not make desktop layouts merely “shrink”.
- Distinctive: line 46
add an appropriate shadcn/ui primitive when the repository intentionally uses it.
- Distinctive: line 47
create a new primitive only when no suitable existing primitive exists.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
React Component Engineering
Build interfaces that remain understandable to users, assistive technologies, future maintainers, and different viewport/input modes.
Apply react-production-engineering for architecture/state/data decisions.
Workflow
- Identify the user task and the semantic structure before styling.
- Reuse the existing design system before creating primitives.
- Define the component API and all meaningful states.
- Implement mobile/narrow behavior first enough to prove reflow, then widen intentionally.
- Add keyboard/focus behavior and accessible names/descriptions.
- Add loading, empty, error, disabled, pending, and permission states that apply.
- Add motion only when it communicates state or spatial relationship.
- Verify keyboard, zoom/reflow, long content, and representative viewports.
Non-negotiable rules
- Use native semantic elements first. Actions are buttons; navigation is links; tabular relationships use tables.
- ARIA supplements native semantics; it does not repair avoidable
div-based controls. - WCAG 2.2 AA is the baseline for product UI.
- Every interactive control must be keyboard operable with visible focus.
- Do not use placeholder text as the only label.
- Do not encode meaning by color alone.
- Respect reduced-motion preferences.
- Reuse product/design-system primitives before cloning a near-duplicate.
- Avoid boolean-prop explosions and component APIs that expose internal implementation details.
- Do not make desktop layouts merely “shrink”; design the narrow state deliberately.
Design-system precedence
- existing product design system;
- existing shared component library;
- shadcn/ui primitives already present;
- add an appropriate shadcn/ui primitive when the repository intentionally uses it;
- create a new primitive only when no suitable existing primitive exists.
When to load references
- Accessibility/semantics/focus: references/accessibility.md
- Responsive design/content stress: references/responsive-design.md
- Component API/composition: references/component-api-design.md
- shadcn/ui/Tailwind design-system work: references/shadcn.md
- Forms: references/forms.md
- Tables/data-dense UI: references/tables.md
- UI/design review output: references/design-review.md
Activate react-quality-engineering when implementation requires test strategy, Playwright, axe, or visual regression.
Review output
For UI reviews, prioritize: verdict, blockers, major issues, accessibility, responsive behavior, design-system compliance, then minor polish. User impact outranks personal aesthetic preference.
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.

