Skip to main content
skill CX Codex

typescript-advanced — Claude Code skill: features and installation

Guides agents through advanced TypeScript types and compile-time contracts. Use it when generic inference or reusable type utilities are the hard part.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pedronauck/skills --skill typescript-advanced -a claude-code
Open on GitHub

What typescript-advanced does

This skill covers TypeScript work involving generics, conditional and mapped types, template literal types, and inference. Its reference files focus on core concepts, reusable patterns, inference and narrowing, plus compiler settings and maintainability: references/core-concepts.md, references/advanced-patterns.md, references/type-inference.md, and references/best-practices.md.

The guidance favors small types that express the needed contract. At boundaries with untrusted values, it recommends unknown followed by narrowing. It also says to keep the project’s existing tsconfig; sample configurations are not a reason to change it. Run the repository’s affected typecheck gate. For one ordinary call site, the skill advises against building an elaborate generic framework.

What it helps with

  • infer a function’s return type from its generic arguments
  • model relationships with conditional and mapped types
  • build reusable utilities for deeply nested types
  • test type narrowing and inference at compile time
  • keep advanced types aligned with the existing tsconfig

Example prompts for the agent

  • Infer this function’s result type from its arguments using generics.
  • Model this relationship with conditional types and infer.
  • Check this type contract and suggest a compile-time test in the existing suite.

How to install typescript-advanced

1Skills CLI (Vercel)

npx skills add pedronauck/skills --skill typescript-advanced -a claude-code

2Manually: put the files in place

~/.claude/skills/typescript-advanced/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/typescript-advanced/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about typescript-advanced

How do I install typescript-advanced in Claude Code?

Run npx skills add pedronauck/skills --skill typescript-advanced -a claude-code, then use ~/.claude/skills/typescript-advanced/SKILL.md.

What does typescript-advanced do?

It guides TypeScript type design for generics, conditional and mapped types, template literals, and inference. It also covers reusable type utilities and compile-time contracts.

Which platforms support typescript-advanced?

It supports Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode.

Similar skills

All skills for Programming languages →

From the same set18

no-workarounds This skill examines fixes that conceal an error or its symptoms. Use it when a change looks like a workaround or the defect comes from outside your codebase. CX Codex +1 566installs architectural-analysis Audits a codebase for design problems: dead exports, duplicated duties, tangled types, dependency cycles. Read-only unless you've already allowed fixes. CX Codex +1 531installs qa-report This skill maintains project QA docs, maps user journeys, and plans persona-led sessions. Use it to keep planning and bug records connected across QA cycles. CX Codex +1 525installs react Guidance for building and reviewing React 19 components and hooks with React Compiler in mind. Use it for compiler setup, state and Effects decisions, or component tests. CX Codex +1 448installs tailwindcss Guides coding agents through Tailwind CSS v4 component styling using project tokens, explicit utility classes, and accessible layouts. CX Codex +1 447installs refactoring-analysis Audits architectural health and Fowler code smells, writing prioritized refactoring plans to docs/_refacs/. Built for planning refactoring while preserving existing behavior. CX Codex +1 404installs electron-builder Guides the agent through configuring Electron app packaging, platform targets, code signing, and auto-updates. Useful for release workflows. CX Codex +1 392installs next-best-practices A skill that hands your agent a set of Next.js rules: file conventions, RSC boundaries, async APIs, metadata, error handling. Useful whenever it writes or reviews Next.js code. CX Codex +1 383installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor