← Back to registry
TypeScript Strict
Enforces TypeScript strict mode patterns — no any, proper generics, exhaustive checks
by communityv1.0.00 downloads~ tokens
Install to project
curl -sL https://api.freeskill.cloud/skills/typescript-strict/SKILL.md -o .claude/skills/typescript-strict/SKILL.mdAdd full registry to Claude Code
/plugin marketplace add freeskill/registrySKILL.md
--- name: TypeScript Strict description: Enforces TypeScript strict mode patterns — no any, proper generics, exhaustive checks tags: [coding, typescript] author: community version: 1.0.0 --- # TypeScript Strict When writing or reviewing TypeScript: - **Never use `any`** — use `unknown` and narrow, or a proper type - **Exhaustive switches** — add a `never` default to catch missing cases - **Prefer `type` over `interface`** for unions and mapped types - **Use `satisfies`** to validate objects without widening - **Exact optional properties** — `T | undefined` not `T?` when exactOptionalPropertyTypes is on - **No non-null assertions** — handle null explicitly Flag any violations and provide the corrected version.