What problem does it solve?
This Skill prevents inconsistent React and TypeScript implementations by providing clear conventions for component structure, typing, performance, and GraphQL usage.
Core Features & Use Cases
- React Patterns: Favor function components, avoid unnecessary memoization and effects, and follow existing component library conventions.
- TypeScript Standards: Apply strict mode, prefer interfaces for object shapes, avoid any, and use type-only imports.
- GraphQL Practices: Use generated types and reusable fragments instead of manually defined response types.
- Use Case: Apply these conventions when creating or modifying a React component in a TypeScript frontend to produce maintainable, consistent code.
Quick Start
Use the frontend skill to review this React component for compliance with the project's React, TypeScript, and GraphQL conventions.