Reviews TypeScript strict typing in repos with strict compiler settings, focusing on unknown narrowing, safe DTO contracts, and eliminating unsafe any usage.
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 for TypeScript repositories that already use strict compiler settings.
This variant gives stricter guidance for repos where the compiler already enforces type safety and the main work is removing unsafe assumptions, narrowing unknown values, and keeping boundary contracts precise.
Use this skill when:
strict: true is enabledany needs to be removed under strict settingsPrefer unknown plus narrowing at trust boundaries.
Use explicit DTOs and type guards for untrusted input.
Preserve narrow, testable contracts.
For new finite value sets, prefer literal unions or types derived from as const objects and arrays. Derive membership guards from the runtime values and compare against unknown without asserting that it is already a valid member. Preserve required enum contracts; strict mode does not validate deserialized values.
Avoid recommending non-strict fallbacks when the repo is already strict.
Avoid broad type assertions that bypass compiler value.
strict: true is enabled.any is not leaking through public APIs.any.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/ngautopilot-typescript:typescript--strict-types--typescript-strict-types-strict-modefrom 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