Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/30/2026
What it changes
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
Without skill95%
With skill100%
Checks it passed that the model alone missed
Uses variadic tuple types to represent curried function signatures.
1 fixed21 passed either way0 still failing0 broke
Pass-rate lift
+5 pp
Tokens
+4%
Agent turns
0%
Response time
-6%
Model gemini-3.6-flashMeasured 8/30/2026v122 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
Provide a generic TypeScript utility type `Curry<F>` that transforms a multi-argument function into a series of unary curried functions, preserving exact argument and return types.
What was checked, without and with the skill
Checked
Without skill
With skill
Uses variadic tuple types to represent curried function signatures.
Missed
Passed
case-18 · gemini-3.6-flash · 8/30/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md35 linessingle file
TypeScript Advanced Types
Comprehensive guidance for mastering TypeScript's advanced type system including generics, conditional types, mapped types, template literal types, and utility types for building robust, type-safe applications.
Use this skill when
Building type-safe libraries or frameworks
Creating reusable generic components
Implementing complex type inference logic
Designing type-safe API clients
Building form validation systems
Creating strongly-typed configuration objects
Implementing type-safe state management
Migrating JavaScript codebases to TypeScript
Do not use this skill when
The task is unrelated to typescript advanced types
You need a different domain or tool outside this scope
Instructions
Clarify goals, constraints, and required inputs.
Apply relevant best practices and validate outcomes.
Provide actionable steps and verification.
If detailed examples are required, open resources/implementation-playbook.md.
Resources
resources/implementation-playbook.md for detailed patterns and examples.