typescript-magician
MIT-licensed TypeScript skill from Node.js TSC member Matteo Collina focused on generic constraints, type guards, utility types, and strict runtime-to-type narrowing.
CLI Install Command
Builderthread summarizes metadata only and does not republish full third-party skill files. Review the upstream GitHub repository before installing into your workspace.
Want typescript-magician wired into a working starter repo?
Builderthread pairs verified skills with a private GitHub starter repo, living PRD, and MCP task board for Claude Code, Cursor, and Codex.
When to use this skill
- •Replacing unsafe any types and type casts in TypeScript APIs and SDKs
- •Writing generic helper utilities and discriminated response narrowers
- •Solving complex TypeScript compiler inference errors cleanly
What this skill covers
Focus Areas
- Eliminating any with generics
- Narrowing unknown responses
- Custom type guards
- Reusable utility types
Read the full SKILL.md instructions and license terms on mcollina/skills on GitHub.
Upstream Package Files
Related typescript Skills
Engineering skill from Matt Pocock guiding coding agents to design cohesive TypeScript modules, narrow interfaces, and testable seams before writing implementation code.
Teaches coding agents to encode domain rules, transitions, and illegal-state guards directly in the TypeScript type system before implementing handlers or UI.
Concise MIT-licensed TypeScript style guide skill covering discriminated unions, naming, source organization, function signatures, and strict maintainability rules.
Strict TypeScript from commit one
Pair strict TypeScript rules with a working starter repo
Builderthread generates strict TypeScript repos for Next.js SaaS, Hono APIs, and WXT Chrome extensions, backed by a living PRD, curated skills, and MCP tasks checked with tsc --noEmit.