typescript

Installation
SKILL.md

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.mdZod (schema validation, transforms, coercion, branded types…) → zod/SKILL.mdFunctional composition (pipe/compose, currying, pure functions, factories, functional mixins, monoids…) → composition/SKILL.mdDesign 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


Error Handling

Installs
86
Repository
bsene/skills
GitHub Stars
5
First Seen
Mar 22, 2026
typescript — bsene/skills