
TypeScript Pro
Writes advanced TypeScript types, type guards, and tRPC setups for stronger type safety
- Repository
- Jeffallan/claude-skills
- Stars
- 12,176
- Licence
- MIT
- Files
- 6 files
What it does
When installed, the agent gets specialist guidance for TypeScript's type system: generics, conditional and mapped types, discriminated unions, branded types, and custom type guards. It also knows how to set up strict tsconfig.json files, project references for monorepos, and tRPC for end-to-end type safety between client and server. It runs type checks such as tsc --noEmit as it works and loads detailed reference notes on specific topics when needed.
Great for
- Developers building TypeScript apps who want stricter, more expressive types
- Teams setting up a monorepo or strict tsconfig with project references
- Full-stack developers wiring up tRPC for shared client and server types
Skip it if
- Complete beginners who are still learning basic TypeScript syntax, since the output assumes working knowledge of generics and types
- Projects not using TypeScript, where the guidance does not apply
Try asking
- “Create branded types for UserId and OrderId so they cannot be mixed up at compile time”
- “Set up a strict tsconfig.json with project references for my monorepo”
- “Refactor this state object into a discriminated union with an exhaustive switch”
- “Add a tRPC router with end-to-end types for my existing Express API”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 6 original files, the MIT licence and an attribution note.
typescript-pro.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip typescript-pro.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip typescript-pro.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Name the TypeScript version and project setup (monorepo, Node, browser) so the tsconfig and module advice fits your environment.
- Ask for one topic at a time, such as type guards or tRPC, for more focused answers.
- Review generated tsconfig changes before applying them, since strict flags like exactOptionalPropertyTypes can surface many errors in existing code.
What's inside
- references/advanced-types.md
- references/configuration.md
- references/patterns.md
- references/type-guards.md
- references/utility-types.md
- SKILL.md
Redistributed unmodified from Jeffallan/claude-skills under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.