writing-react-ts-code
Installation
SKILL.md
Writing React/TypeScript Code
This is the authoritative standard for all React/TypeScript code. Every file you write or modify must conform to these rules. They are not suggestions.
1. TypeScript Strict Configuration
ESLint Flat Config
Use typescript-eslint with strict + type-checked presets, plus additional rules. Some rules use warnInDevModeErrorInProd() — warn during development, error in CI/production.
Key enforced rules (beyond the strict preset):