typescript-pro · davila7 — Claude Code skill for TypeScript
Get help with advanced TypeScript types, generic constraints, and strict compiler settings. Use it when shaping shared contracts or diagnosing difficult type inference.
npx claude-code-templates@latest --skill development/typescript-proWhat typescript-pro does
This skill guides TypeScript work on shared contracts, complex generics, and stricter type checking. Its subject areas include conditional and mapped types, decorators, module organization, and projects using React, Node.js, or Express.
For a task, it first calls for defining runtime targets and strictness needs, then checking the implementation with compiler and lint safeguards. Suggested outputs include constrained generic functions, utility types, Jest or Vitest tests, and TSConfig adjustments. It is focused on TypeScript; its guidance does not fit a build pipeline where TypeScript cannot be enforced.
What it helps with
- design shared TypeScript contracts
- trace a generic constraint or inference issue
- choose strict compiler options
- add typed error handling
- write
.d.tsdeclarations for an external library
Example prompts for the agent
- Trace why TypeScript infers the wrong type for this generic function.
- Design shared types and contracts for the project modules.
- Review the TSConfig settings and recommend stricter type checks.
How to install typescript-pro
1claude-code-templates
npx claude-code-templates@latest --skill development/typescript-pro2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill typescript-pro -a claude-code3Manually: put the files in place
~/.claude/skills/typescript-pro/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/typescript-pro/
Manually: put the files in place
.agents/skills/typescript-pro/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/typescript-pro/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates typescript-pro2Manually: put the files in place
.github/skills/typescript-pro/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/typescript-proManually: put the files in place
.devin/skills/typescript-pro/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about typescript-pro
How do I install typescript-pro in Claude Code?
Run npx claude-code-templates@latest --skill development/typescript-pro.
What does typescript-pro do?
It provides guidance for advanced TypeScript typing, generic constraints, and stricter compiler checks. It also covers decorators, module structure, and typed tests.
Can I use typescript-pro when the build cannot enforce TypeScript?
The skill is intended for TypeScript development and recommends compiler safeguards. Its guidance is not suited to a project where TypeScript cannot be enforced in the build pipeline.
Similar skills
All skills for Programming languages →typescript-pro by other authors comes first.