ts-best-practices
Installation
SKILL.md
ts-best-practices
Write, review, and refactor TypeScript code to follow battle-tested conventions: object-arg parameters, JSDoc on exports, discriminated unions for variants, branded types for IDs, ts-pattern for multi-branch logic, and exports-first file structure.
When to use
Verbatim trigger phrases:
- "follow ts best practices"
- "review this typescript"
- "fix the typescript style"
- "make this idiomatic typescript"
- "apply typescript conventions"
- "audit this ts file"
When NOT to use
Related skills