strict-typescript
Installation
SKILL.md
Enforcing Patterns with TypeScript
Core Principle
strict: true is insufficient. Patterns without enforcement are just suggestions. TypeScript can enforce patterns at compile time.
Required tsconfig.json
{
"compilerOptions": {
"target": "ES2024",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,