typescript
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
TypeScript
Concrete TypeScript idioms that make the principles from the architecture
skill correct-by-construction. This skill owns the how in TypeScript; it does
not restate the agnostic why or the enforceable lint config — see routing.
Routing — who owns what
| Concern | Owner | This skill |
|---|---|---|
| Agnostic principles (functional core/shell, ports, error-as-value concept, observability, workflows/idempotency, config-at-boundary) | architecture |
states the TS idiom + why, points here |
Lint rules, strict tsconfig flags, no-any/as/!, no-barrel |
mechanical-enforcement |
names the idiom, points there for config |
| Test strategy, layers, fakes-not-mocks, property tests | testing |
TS specifics only (fast-check, arbitraries, no vi.mock) |
| Coverage thresholds, CI/hook enforcement | test-coverage |
— |
Rule: state the idiom and why it exists here; point out for the agnostic principle or the enforceable config. Never copy their tables.