React & TypeScript Rules
CommunityEnforce robust React + TypeScript practices.
Software Engineering#typescript#react#state-management#coding-standards#component-design#frontend-best-practices#type-organization
AuthorA-Hazzard
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This guide helps developers write clean, consistent React + TypeScript code by enforcing import conventions, type usage, and state management patterns across the project.
Core Features & Use Cases
- Enforces direct React imports (no React namespace) to reduce bundle size and improve clarity.
- Promotes type-first development with structured type organization and preferred 'type' over 'interface' in TypeScript.
- Provides patterns for local state (useState), reducers (useReducer), and simple global state (Context/ Zustand) with examples.
- Helps maintain consistency across components, improves maintainability, and reduces debugging time.
Quick Start
Refactor a sample component to use direct React imports and typed props with a dedicated type file.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: React & TypeScript Rules Download link: https://github.com/A-Hazzard/Casino-Manangement-System/archive/main.zip#react-typescript-rules Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.