Skip to content
SkillModel-led1,143 tokens in use

TypeScript Pro

Advanced TypeScript type systems: generics, conditional and mapped types, branded types, type guards and end-to-end type safety with tRPC.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/typescript-pro
/plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing TypeScript Pro costs

66tokens idle
1,143tokens in use
12,481tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure23/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

TypeScript Pro guides the agent through type-first design. It reviews tsconfig and type coverage, designs branded types, generics and utility types, writes type guards and discriminated unions, and checks the result with the compiler.

It sets strict compiler options, asks for explicit return types on public APIs, and ships examples for branded types, exhaustive unions and a recommended tsconfig.

What You Get

  • A five-step workflow that re-runs the compiler after each change
  • Code examples for branded types, discriminated unions with exhaustive switches and custom utility types
  • A recommended strict tsconfig with incremental builds and declaration maps
  • Five reference files on advanced types, type guards, utility types, configuration and patterns

Common Use Cases

  • Modeling domain ids with branded types
  • Writing conditional and mapped types for a library
  • Setting up project references in a monorepo
  • Adding tRPC for full-stack type safety

What Makes It Unique

It is specific about house rules: strict mode with extra flags, satisfies for validation, const objects with as const in place of enums, explicit return types on public APIs, and declaration files for libraries. A list of must-not rules names the shortcuts to avoid, such as unjustified any and unnecessary assertions.

Under The Hood

The skill loads SKILL.md and opens one reference file when the task matches its topic. It tells the agent to run the TypeScript compiler with tsc —noEmit and a type coverage tool in the shell, and to edit tsconfig and source files in your project. It runs no network calls and fetches no web pages. The skill ships no scripts.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers