lang-typescript
Installation
SKILL.md
Principles
- Enable strict mode — no implicit any, strict null checks
- Prefer discriminated unions over type assertions
- Use
unknownoverany— narrow with type guards
Rules
See rules index for detailed patterns.
Examples
Positive Trigger
User: "Replace unsafe any usage with discriminated unions in this module."
Expected behavior: Use lang-typescript guidance, follow its workflow, and return actionable output.