
Typescript Advanced
Pedro Nauck built this as a dispatcher system for TypeScript's gnarlier type features. It routes you to focused references on generics, conditional types, mapped types, and template literals depending on what you're building. The decision maps are genuinely useful: when to use interface vs type, how to handle discriminated unions, where to let inference do the work. Includes compile-time type testing patterns and a strict tsconfig baseline. Best for library authors or anyone migrating a JavaScript codebase who needs more than the basics. Won't help with runtime validation or plain JS questions.
- skills.sh installs
- 584
- GitHub stars
- 655
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pedronauck/skills --skill typescript-advanced --agent claude-codeInstalls into .claude/skills of the current project.
Files
TypeScript Advanced Types
Use this skill when generic inference, conditional/mapped types, template literals, or a reusable type utility is the actual problem. Ordinary typed API, form, and state work uses its domain guidance unless advanced type behavior needs attention.
| Concern being changed | Reference |
|---|---|
| Generics, conditional/mapped/template-literal and utility types | references/core-concepts.md |
| Reusable emitters, builders, clients, deep utilities, or discriminated models | references/advanced-patterns.md |
infer, narrowing, assertion functions, and type-contract tests | references/type-inference.md |
| Compiler configuration, type complexity, and maintainability | references/best-practices.md |
Prefer the simplest type that expresses the contract. Use unknown and real narrowing at untrusted boundaries; preserve discriminants and readonly intent. Let inference handle local values and follow repository conventions for public annotations, interface, and type.
Sponsors
Details
- Repository
- github.com/pedronauck/skills
- First seen
- Jun 3, 2026
More from pedronauck/skills
All 70- Qa Execution565
- Architectural Analysis553
- Qa Report548
- Tailwindcss481
- React480
- Skill Best Practices476
- Agent Browser471
- Electron Builder449
- Context7439
- Refactoring Analysis432
- Zod421
- Next Best Practices399
- Git Rebase398
- Systematic Debugging392
- Tanstack391
- Shadcn390
- Vitest383
- Zustand367
- Vercel React Best Practices364
- Hormozi Ad Factory363
- Brainstorming356
- A11y Testing355
- Humanizer352
- Brand Storytelling349