What problem does it solve?
This Skill provides a comprehensive set of coding conventions, architecture patterns, and testing rules to ensure consistent and efficient development of the SkillHub React frontend.
Core Features & Use Cases
- Feature-Sliced Design: Organizes code into pages, features, entities, and shared components for maintainability.
- Data Fetching: Standardizes data fetching with TanStack Query and openapi-fetch.
- State Management: Utilizes TanStack Query and Zustand for state management.
- Component Composition: Encourages the use of Radix UI primitives and class variance authority for UI components.
- API Type Generation: Generates API types from OpenAPI contracts for consistency.
- Styling: Adheres to Tailwind CSS for styling and cn() utility for conditional class merging.
- Internationalization: Supports i18next and react-i18next for translations.
- Build & Development: Provides a suite of commands for development and production tasks.
- Frontend Dependencies: Lists key dependencies like React, React Router, and Tailwind CSS.
Quick Start
To apply frontend conventions, follow the guidelines in the SKILL.md file and ensure your code adheres to the defined architecture and patterns.