TypeScript Advanced Types Skill for Claude: Generics and More
Gives Claude a reference for TypeScript generics, conditional, mapped and template literal types and utility types.
- Installs
- 96.1K
- on skills.sh
- Stars
- 42.1K
- on GitHub
- Files
- 1
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
typescript-advanced-types loads a TypeScript type-system reference into Claude. It covers generics, conditional types, mapped types, template literal types and utility types, with code examples, best practices, type testing, common pitfalls and performance tips.
It triggers when you build complex type logic, reusable type utilities, type-safe API clients, form validation or typed configuration, or migrate JavaScript to TypeScript. Longer worked examples sit in references/details.md, which Claude reads when the summary is not enough. The skill bundles no scripts.
Good for
- TypeScript developers writing library or framework types
- Teams migrating a JavaScript codebase to TypeScript
- Anyone building typed API clients, forms or config objects
Install typescript-advanced-types
Claude Code
- 1
Copy this prompt.
Install the typescript-advanced-types skill in Claude Code. Run this command: npx skills add wshobson/agents --skill typescript-advanced-types Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
The README documents both the skills installer and the plugin marketplace route. The plugin name and marketplace name come from the repo's marketplace.json. The plugin also adds 2 agents and 1 command, and 3 other skills.
From the project README. Source.
What's in the skill
When it loads
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.
Sections in SKILL.md
- When to Use This Skill
- Core Concepts
- 1. Generics
- 2. Conditional Types
- 3. Mapped Types
- 4. Template Literal Types
- 5. Utility Types
- Detailed worked examples and patterns
- Best Practices
- Type Testing
- Common Pitfalls
- Performance Considerations
Key facts
- Repository
- wshobson/agents
- Installs on skills.sh
- 96,126 (crawled 2026-11-02)
- GitHub stars
- 42,081 (whole repo)
- License
- MIT
- Last repo commit
- 2026-10-30
- Files in the skill folder
- 2 files: SKILL.md and references/details.md. No scripts.
- skills.sh audits
- Gen Agent Trust Hub: pass, Socket: pass, Snyk: pass
What it includes
Reusable, type-flexible functions and constraints
GenericsTypes that choose a branch based on another type
Conditional TypesBuild new types by transforming each key of an existing one
Mapped TypesString types assembled from other string types
Template Literal TypesThe built-in helpers such as Partial and Pick, with examples
Utility TypesChecklists for writing, testing and speeding up complex types
Best Practices, Type Testing, PitfallsLonger worked examples under "Advanced Patterns", read on demand
Read ·
references/details.md
From the official docs
Permissions
Low risk
The skill folder holds SKILL.md and references/details.md. Claude reads them as guidance; the plugin route is the only way this page's install adds agents or a command.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
The plugin route adds more than this skill
/plugin install javascript-typescript@claude-code-workflows installs the whole plugin: 4 skills, the javascript-pro and typescript-pro agents and the typescript-scaffold command. The skills installer takes this skill alone.
Questions
What does the typescript-advanced-types skill do?
It gives Claude a structured reference for TypeScript's advanced type system: generics, conditional types, mapped types, template literal types and utility types. Claude uses it when you build complex type logic or reusable type utilities.
How do I install it?
Use the install box at the top of this page. The repo's README also documents installing a single skill with the gh skill command or the skills CLI, and a Claude Code plugin marketplace route.
Does it run any code or need an API key?
No key is named in SKILL.md. The skill folder has just SKILL.md and one reference file, so it bundles no scripts.
Where do the long examples live?
In references/details.md. SKILL.md tells Claude to read that file when the summary above it is not enough.
Is it safe?
The folder holds only two markdown files and bundles no scripts. It adds guidance for Claude to follow.
Is it part of a bigger set?
Yes. It sits under the plugins/javascript-typescript folder of the wshobson/agents repo, which the README describes as a catalog of many plugins, agents and skills. You can install this one skill on its own.
Information
updated Nov 2, 2026
- Repository
- wshobson/agents
- Folder
plugins/javascript-typescript/skills/typescript-advanced-types
Sources
Docs, issue trackers and discussions this page is built from.
Show all 3Hide
- wshobson/agents README · github.com
- marketplace.json · github.com
- typescript-advanced-types SKILL.md · github.com