All 94 skillsLanguages3 of 12
stryx:typescript
When TypeScript types get hard: exact unions, typed IDs, strict settings, type errors.
/stryx:typescriptInside its piece: 11 specks, one for each file on its shelf. Its eleven group-mates glow on the open book behind it. The light splits toward green, the band of Languages.
In numbers
counted 2026-10-12 in the installed set- 9reference files
- 11files in the skill
- 103KB on disk
- 10chapters
- 2agents work by this book
Use it when
in the skill’s own wordsWhen designing or fixing TypeScript types beyond the basics
- a discriminated union or state machine that must be exhaustive
- branded or nominal IDs
- template-literal types for IPC channel or event names
- conditional or mapped utility types
- infer
- generic constraints
- satisfies
- a typed Result
- type guards and asserts functions
- deriving types from Zod schemas at a boundary
- strict tsconfig flags (noUncheckedIndexedAccess, exactOptionalPropertyTypes, verbatimModuleSyntax, erasableSyntaxOnly) or moving to TypeScript 6 or 7
- declare global
- module augmentation
- a .d.ts for an untyped library or window.api
- removing any
- as casts
- non-null ! and @ts-ignore
- Also when the user says
- fix this type error
- why does tsc complain
- make illegal states unrepresentable
- the compiler should catch this
- make it type-safe
- asks for the typescript-surgeon
Not for
another skill does it- Typing React props and hooks→ stryx:react
- Running the flag-by-flag strict migration→ stryx:refactor
- Designing IPC→ stryx:electron
Inside the book
10 chapters, by title only- Core procedure
- Reading a tsc error
- Pattern chooser
- Rules
- Recommended strict tsconfig (summary)
- Worked examples
- Output format
- Type Architecture
- Compiler Verification
- Negative Test Cases
Its helpers
2 agents work by this book- stryx:regex-and-parserWhen a text pattern (regex) or a parser for imported data must be built or fixed.
- stryx:toolchain-guardianWhen the build settings of a JavaScript or TypeScript project should be checked as one system.
Works with
the skills it names most- stryx:electron→When working on Electron desktop app code: windows, the bridge between its parts (IPC), tray, menus.
- stryx:refactor→When code should be tidied or split without changing what it does.
- stryx:react→When building or reviewing React components, hooks and Zustand stores.
- stryx:verify→When Claude is about to say done, fixed or ready to commit: fresh proof comes first.
- stryx:ai-power→When you are not sure which skill fits, or you say "load aipower": it is the map of all skills.
- stryx:error-handling→When building code that must fail well: retries, timeouts, fallbacks and messages people can read.
Claude loads it by itself when the moment comes; by hand, type the line at the top. It comes with the whole set: Installs all 94 skills, 32 agents and the brain program as one set. The skill’s own text is private source and is not shown here.