typescript
JavaScript & TypeScript
Primary reference: TypeScript docs. Rule files below link to the specific docs section they encode; when a rule and the official docs disagree, the docs win and the rule should be updated.
Route to Sub-skills
type-system/ and zod/ are reference bundles read on demand from this router — they are not independently discovered skills, so their own frontmatter is intentionally minimal (no duplicate trigger list needed).
→ Type system (unknown/any, narrowing, discriminated unions, mapped types…) → type-system/SKILL.md
→ Zod (schema validation, transforms, coercion, branded types…) → zod/SKILL.md
→ Functional composition (pipe/compose, currying, pure functions, factories, functional mixins, monoids…) → composition/SKILL.md
→ Design patterns (Strategy, Factory, Builder, Decorator, Mixin…) → object-oriented-programming skill
→ SOLID principles (SRP, OCP, LSP, ISP, DIP) → object-oriented-programming skill
→ Testing (unit tests, mocks vs stubs, brittle tests, test pyramid) → testing skill