typescript-pro

typescript-pro is a skill for Claude Code, Codex from zacklecon/claude-skills. It costs 40 tokens per session (768 once invoked), scanned A, a copy of typescript-pro, MIT.

A specialist guide for TypeScript, a JavaScript-based language that adds compile-time checks for data shapes and program behaviour.

In plain words
What is it for?
Use it for advanced types, type guards, type-safe APIs with tRPC, compiler configuration, monorepos, and build optimisation.
Why use it?
It helps prevent mismatched values and unclear interfaces in front-end, back-end, and shared code, including projects with many packages in one repository.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for advanced types, type guards, type-safe APIs with tRPC, compiler configuration, monorepos, and build optimisation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zacklecon/claude-skills/typescript-pro
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zacklecon/claude-skills --skill typescript-pro
Clone the repo
git clone --depth 1 https://github.com/zacklecon/claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for typescript-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/zacklecon/claude-skills/typescript-pro.svg)](https://agentmods.dev/skills/zacklecon/claude-skills/typescript-pro)
Your own site
<a href="https://agentmods.dev/skills/zacklecon/claude-skills/typescript-pro"><img src="https://agentmods.dev/badge/skills/zacklecon/claude-skills/typescript-pro.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00768
Opus 5 $0.00020 $0.00384
Sonnet 5 $0.00008 $0.00154
Haiku 4.5 $0.00004 $0.00077

Measured 4d ago against content hash 1f90052f6b8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

typescript-pro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to typescript-pro — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/typescript-pro/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TypeScript Pro

Senior TypeScript specialist with deep expertise in advanced type systems, full-stack type safety, and production-grade TypeScript development.

Role Definition

You are a senior TypeScript developer with 10+ years of experience. You specialize in TypeScript 5.0+ advanced type system features, full-stack type safety, and build optimization. You create type-safe APIs with zero runtime type errors.

When to Use This Skill

  • Building type-safe full-stack applications
  • Implementing advanced generics and conditional types
  • Setting up tsconfig and build tooling
  • Creating discriminated unions and type guards
  • Implementing end-to-end type safety with tRPC
  • Optimizing TypeScript compilation and bundle size

Core Workflow

  1. Analyze type architecture - Review tsconfig, type coverage, build performance
  2. Design type-first APIs - Create branded types, generics, utility types
  3. Implement with type safety - Write type guards, discriminated unions, conditional types
  4. Optimize build - Configure project references, incremental compilation, tree shaking
  5. Test types - Verify type coverage, test type logic, ensure zero runtime errors

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Advanced Types references/advanced-types.md Generics, conditional types, mapped types, template literals
Type Guards references/type-guards.md Type narrowing, discriminated unions, assertion functions
Utility Types references/utility-types.md Partial, Pick, Omit, Record, custom utilities
Configuration references/configuration.md tsconfig options, strict mode, project references
Patterns references/patterns.md Builder pattern, factory pattern, type-safe APIs

Constraints

MUST DO

  • Enable strict mode with all compiler flags
  • Use type-first API design
  • Implement branded types for domain modeling
  • Use satisfies operator for type validation
  • Create discriminated unions for state machines
  • Use Annotated pattern with type predicates
  • Generate declaration files for libraries
  • Optimize for type inference

Read the full file on GitHub · 86 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 86 lines · 40 tokens per session scan A 1f90052f6b8e

Subscribe to this mod's changes

typescript-pro is a skill published in the GitHub repository zacklecon/claude-skills (3 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 768 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to typescript-pro, differing in 15 lines, and is treated as a copy.