# typescript-pro

Get help with advanced TypeScript types, generic constraints, and strict compiler settings. Use it when shaping shared contracts or diagnosing difficult type inference.

- skill · `type=skill` · Claude Code · 146 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/typescript-pro
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/typescript-pro

## What it does

This skill guides TypeScript work on shared contracts, complex generics, and stricter type checking. Its subject areas include conditional and mapped types, decorators, module organization, and projects using React, Node.js, or Express.

For a task, it first calls for defining runtime targets and strictness needs, then checking the implementation with compiler and lint safeguards. Suggested outputs include constrained generic functions, utility types, Jest or Vitest tests, and TSConfig adjustments. It is focused on TypeScript; its guidance does not fit a build pipeline where TypeScript cannot be enforced.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/typescript-pro
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill typescript-pro -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/typescript-pro/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/typescript-pro/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/typescript-pro/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/typescript-pro/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates typescript-pro
```

2. **Manually: put the files in place**
- File: `.github/skills/typescript-pro/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/typescript-pro
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/typescript-pro/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/typescript-pro

## When to use it
- design shared TypeScript contracts
- trace a generic constraint or inference issue
- choose strict compiler options
- add typed error handling
- write `.d.ts` declarations for an external library

## Example prompts
- Trace why TypeScript infers the wrong type for this generic function.
- Design shared types and contracts for the project modules.
- Review the TSConfig settings and recommend stricter type checks.

## Similar
- [migrate-to-shoehorn](https://affpapa.org/en/nevibecode/skills/migrate-to-shoehorn.md) — skill · 475388 installs
- [write-swift](https://affpapa.org/en/nevibecode/skills/write-swift.md) — skill · 119300 installs
- [megacave](https://affpapa.org/en/nevibecode/skills/megacave.md) — skill · 25400 installs
- [find-docs](https://affpapa.org/en/nevibecode/skills/find-docs.md) — skill · 9400 installs
- [typescript-advanced-types](https://affpapa.org/en/nevibecode/skills/typescript-advanced-types.md) — skill · 92169 installs
- [smart-explore](https://affpapa.org/en/nevibecode/skills/smart-explore.md) — skill · 7300 installs

## Other versions with the same name
- [typescript-pro · jeffallan](https://affpapa.org/en/nevibecode/skills/httpsgithubcomjeffallan-typescript-pro.md) — 14200 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 495 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
