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):

// Zero tolerance for type escape hatches
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-unsafe-assignment': 'error',
'@typescript-eslint/no-unsafe-call': 'error',
Related skills
Installs
2
First Seen
Mar 22, 2026