typescript-pro

typescript-pro is a skill for Claude Code from ratnesh-maurya/cursor-claude-personas. It costs 30 tokens per session (405 once invoked), scanned A, original, MIT.

An advanced TypeScript guide covering generics, utility types, conditional and mapped types, inference, decorators, and strict compiler settings. TypeScript adds checked types to JavaScript so many mistakes can be found before code runs.

In plain words
What is it for?
Use it to design shared types, solve difficult typing problems, organize modules, configure strict checks, and connect typed code with React, Node.js, or Express.
Why use it?
It helps model complex data contracts and catch type errors in large or shared codebases during development and builds.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to design shared types, solve difficult typing problems, organize modules, configure strict checks, and connect typed code with React, Node.js, or Express.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ratnesh-maurya/cursor-claude-personas/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 ratnesh-maurya/cursor-claude-personas --skill typescript-pro
Clone the repo
git clone --depth 1 https://github.com/ratnesh-maurya/cursor-claude-personas

Made for: Claude Code.

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/ratnesh-maurya/cursor-claude-personas/typescript-pro/github.svg)](https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/typescript-pro)
Your own site
<a href="https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/typescript-pro"><img src="https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/typescript-pro/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for typescript-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/typescript-pro"><img src="https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/typescript-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 405 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 original No closer match found 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.00030 $0.00405
Opus 5 $0.00015 $0.00202
Sonnet 5 $0.00006 $0.00081
Haiku 4.5 $0.00003 $0.00040

Measured 9d ago against content hash 77a86d741cb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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

Copies of this mod

1 near-identical copy found in the catalogue:

3d-frontend-developer/.claude/skills/typescript-pro/SKILL.md · 54 lines

What it actually says

You are a TypeScript expert specializing in advanced typing and enterprise-grade development.

Use this skill when

  • Designing TypeScript architectures or shared types
  • Solving complex typing, generics, or inference issues
  • Hardening type safety for production systems

Do not use this skill when

  • You only need JavaScript guidance
  • You cannot enforce TypeScript in the build pipeline
  • You need UI/UX design rather than type design

Instructions

  1. Define runtime targets and strictness requirements.
  2. Model types and contracts for critical surfaces.
  3. Implement with compiler and linting safeguards.
  4. Validate build performance and developer ergonomics.

Focus Areas

  • Advanced type systems (generics, conditional types, mapped types)
  • Strict TypeScript configuration and compiler options
  • Type inference optimization and utility types
  • Decorators and metadata programming
  • Module systems and namespace organization
  • Integration with modern frameworks (React, Node.js, Express)

Approach

  1. Leverage strict type checking with appropriate compiler flags
  2. Use generics and utility types for maximum type safety
  3. Prefer type inference over explicit annotations when clear
  4. Design robust interfaces and abstract classes
  5. Implement proper error boundaries with typed exceptions
  6. Optimize build times with incremental compilation

Output

  • Strongly-typed TypeScript with comprehensive interfaces
  • Generic functions and classes with proper constraints
  • Custom utility types and advanced type manipulations
  • Jest/Vitest tests with proper type assertions
  • TSConfig optimization for project requirements
  • Type declaration files (.d.ts) for external libraries

Support both strict and gradual typing approaches. Include comprehensive TSDoc comments and maintain compatibility with latest TypeScript versions.

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. 9d ago First seen · 54 lines · 30 tokens per session scan A 77a86d741cb8

Subscribe to this mod's changes

typescript-pro is a skill published in the GitHub repository ratnesh-maurya/cursor-claude-personas (8 stars, last pushed 5mo ago), licensed MIT. It adds 30 tokens to every session and 405 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

nestjs

NestJS enterprise Node.js framework. Covers modules, controllers, services, guards, and dependency injection. Use when building scalable Node.js applications. USE WHEN: user mentions "NestJS", "nest", "@nestjs", "@Module", "@Controller", "@Injectable", asks about "dependency injection in Node.js", "enterprise Node.js…

claude-dev-suite/claude-dev-suite · 157 tokens

biome

Biome linter and formatter for JavaScript/TypeScript. Covers configuration, rules, and integration patterns. Replaces ESLint + Prettier for faster development experience. USE WHEN: user mentions "biome", "linting", "formatting", "code style", "biome.json", asks about "setup linter", "format code", "migrate from…

claude-dev-suite/claude-dev-suite · 151 tokens

bitcoin-libraries-bitcoinjs-lib

The classic JS/TS library for Bitcoin. Browser + Node compatible.

claude-dev-suite/claude-dev-suite · 55 tokens

bitcoin-libraries-bolt11

BOLT11 invoices are bech32-encoded with structured TLV-like tags. Multiple language libraries handle parsing.

claude-dev-suite/claude-dev-suite · 46 tokens

javascript-typescript

JavaScript and TypeScript development with ES6+, Node.js, React, and modern web frameworks. Use for frontend, backend, or full-stack JavaScript/TypeScript projects.

myths-labs/muse · 40 tokens

Angular — TypeScript Web Application Framework by Google

Angular is a TypeScript-based web application platform by Google providing dependency injection, declarative templates, a powerful CLI, and comprehensive libraries for routing, forms, and HTTP communication.

agentskillexchange/skills · 45 tokens