PlugWiki

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. 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. 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

  1. When to Use This Skill
  2. Core Concepts
  3. 1. Generics
  4. 2. Conditional Types
  5. 3. Mapped Types
  6. 4. Template Literal Types
  7. 5. Utility Types
  8. Detailed worked examples and patterns
  9. Best Practices
  10. Type Testing
  11. Common Pitfalls
  12. 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
skills.sh audits
Gen Agent Trust Hub: pass, Socket: pass, Snyk: pass

What it includes

  • Reusable, type-flexible functions and constraints

    Generics

  • Types that choose a branch based on another type

    Conditional Types

  • Build new types by transforming each key of an existing one

    Mapped Types

  • String types assembled from other string types

    Template Literal Types

  • The built-in helpers such as Partial and Pick, with examples

    Utility Types

  • Checklists for writing, testing and speeding up complex types

    Best Practices, Type Testing, Pitfalls

  • Longer 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

wshobson/agentsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 3
  1. wshobson/agents README · github.com
  2. marketplace.json · github.com
  3. typescript-advanced-types SKILL.md · github.com

Updated Nov 2, 2026.