Coordinates TypeScript strict typing adoption: narrowing, DTO boundaries, and safe type contracts. Routes to specialized skills for removing `any` and mapping DTOs.
Ships in ngautopilot-typescript. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to coordinate the learning and review path for TypeScript strict typing, narrowing, DTO boundaries, and safe type contracts.
This is a mother skill. It does not replace specialized skills for removing any, DTO mapping, or module structure. It tells an agent which strictness primitive to use, when to teach it, and when a strict-mode variant is more appropriate.
The core rule is simple:
Pick the narrowest safe type for the contract and keep unsafe boundaries explicit.
Use this skill when:
any usage is mixed without a policyUse a sequencing policy:
unknown -> narrowing -> DTOs -> generics -> strict contracts
Keep the specialist skills separate:
avoid-any -> remove unsafe any usage
dto-mappers -> map contracts at boundaries
fundamentals -> learning and adoption path
Use strict-mode variants when the repo already enforces or can adopt strict typing.
For finite value sets, choose a literal union for type-only use or derive the union from an as const object or array when runtime values are needed. Route membership guards and enum replacement decisions to typescript.strict-types.avoid-any; strict typing alone does not validate external data.
Avoid turning the mother skill into implementation guidance.
Avoid conflating strict typing with runtime behavior.
Avoid mixing type safety, module structure, and async handling without a policy.
Avoid using this skill to replace the specialized skills.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-typescript:typescript--strict-typesfrom ngautopilot-typescript
npx claudepluginhub janpereira-dev/ngautopilot --plugin ngautopilot-typescript6 skills in this plugin
/typescript--dto-mappers--browser-dto-mappers-v14Browser DTO Mappers v14+Reviews DTO mapping in browser-oriented TypeScript code, focusing on mapping contracts, view models, serialization boundaries, and safe transformations near UI code.
/typescript--dto-mappers--node-dto-mappers-v18Node DTO Mappers v18+Reviews DTO mapping in Node.js TypeScript code, focusing on transport contracts, normalization, validation boundaries, and safe mapping in backend services and scripts.
/typescript--fundamentalsOther plugins' skills for the same job