/ts-patterns:check — Enforce TypeScript best practices inline while writing or editing .ts/.tsx files: no any, explicit return types, readonly by default, async/await only.
Trigger automatically when: - Writing new TypeScript files or modules - Reviewing or editing existing .ts / .tsx files - Converting JavaScript to TypeScript - Asked to refactor or improve TypeScript code quality - Implementing features in a TypeScript project
Natural language triggers: "write this in TypeScript", "review my TypeScript", "refactor this TS file", "enforce patterns", "check type safety", "improve types".
This skill applies inline. For full PR reviews or large multi-file refactors, the ts-patterns agent is available for deeper delegated work.
2026-06-20