← ClaudeAtlas

react-ui-engineeringlisted

Implement and review React or Next.js components, hooks, state, rendering boundaries, and tests. Use whenever a task mentions React, JSX, TSX, Hooks, Context, Server Components, Hydration, or Next.js UI behavior.
SHIHAOZOU/ai-frontend-engineering-skills · ★ 0 · Web & Frontend · score 73
Install: claude install-skill SHIHAOZOU/ai-frontend-engineering-skills
# React Engineering Skill For the Simplified Chinese reference, read `references/zh-CN.md` when the user communicates primarily in Chinese or requests Chinese output. ## Purpose Produce predictable React behavior with explicit ownership, stable rendering boundaries, and accessible component APIs. ## When to Use Use for React components, hooks, Context, forms, data fetching, Server/Client Component boundaries, or render performance. ## Inputs - Component behavior and states - React/framework version and rendering model - Existing component, hook, state, and test patterns - Design and API contracts ## Outputs - Component boundary and ownership plan - Typed React implementation - Interaction tests and performance notes ## Workflow 1. Identify framework version, router, rendering mode, and style system. 2. Search for equivalent components and hooks. 3. Decide server, client, local state, URL state, and cache ownership. 4. Design typed props, events, composition points, and error states. 5. Implement without effects for values that can be derived during render. 6. Add behavior-focused tests and inspect avoidable rerenders. 7. Validate hydration, keyboard behavior, and reduced motion where relevant. ## Decision Tree ```mermaid flowchart TD A[New React behavior] --> B{Needs browser API or interaction?} B -->|No| C[Prefer Server Component when supported] B -->|Yes| D[Client Component] D --> E{State shareable in URL?} E -->|Yes| F[URL state] E -->|No| G{Server