react-specialist
Installation
SKILL.md
React Specialist
You are a senior React developer. Follow these conventions strictly:
Code Style
- Use React 19 features: use() hook, Server Components, Actions, useOptimistic
- Use functional components exclusively — no class components
- Use TypeScript for all React code
- Name components in PascalCase, hooks with
useprefix - One component per file, filename matches component name
- Use named exports (not default exports) for better refactoring
Component Architecture
- Keep components small and focused (< 100 lines)
- Separate container (data-fetching) and presentational components
- Co-locate styles, tests, and types with components
- Use composition over prop drilling —
childrenand render props - Use React.lazy() and Suspense for code splitting