CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

typescript-strict-migrator

This guide lays out a phased approach to enabling TypeScript strictness flags, resolving the resulting errors, and adding type guards and safer error handling. It includes migration examples, utility-type patterns, a script for analyzing strict-mode diagnostics, and a checklist for completing the migration.

Quality

73%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/typescript-strict-migrator/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

57%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is highly actionable with executable, copy-paste-ready code for every migration phase, but it is noticeably verbose — about half the document is standard TypeScript reference material Claude already knows. The workflow lacks explicit validation checkpoints for what is a batch codebase change, and everything lives in one monolithic SKILL.md with no reference files.

Suggestions

Trim or move the basic TypeScript reference material (utility-types cheat sheet, basic typeof guards, optional chaining, catch-error handling) into a separate reference file or delete it, keeping only the migration-specific decisions Claude wouldn't already know.

Add explicit validation checkpoints to the workflow, e.g. after each phase: run the analysis script or `tsc --noEmit`, confirm the error count for the newly enabled flag is zero, and only then proceed to the next flag.

Split the migration analysis script and the type guard / discriminated union patterns into `scripts/` and `references/` files, leaving SKILL.md as a concise phased overview with clearly signaled one-level-deep links.

DimensionReasoningScore

Conciseness

Roughly half of the ~530-line body restates TypeScript knowledge Claude already has — basic typeof guards, the full utility-types cheat sheet (Partial/Pick/Omit/Record/ReturnType), optional chaining basics, and instanceof-based catch handling — which constitutes several unnecessary padded sections per anchor 2 rather than anchor 3's "some" unnecessary explanation.

2 / 5

Actionability

Guidance is fully executable and copy-paste ready: per-phase tsconfig JSON blocks, before/after code for each strict flag, and a complete TypeScript compiler API analysis script, with examples covering the common migration cases (noImplicitAny, null checks, function types, property initialization, index access, catch variables).

5 / 5

Workflow Clarity

The phased migration sequence is clear, but validation checkpoints are only implicit — the workflow never instructs running tsc or re-running the analysis script to verify errors are resolved before enabling the next flag, and the Core Workflow steps are terse one-liners. As a batch codebase modification without an explicit validate-fix-retry loop, this caps at anchor 3.

3 / 5

Progressive Disclosure

Section headers are well organized, but there are no bundle files at all: the utility-types reference, the type guard library, and the migration script are all inlined in SKILL.md (~530 lines), matching anchor 3's long reference content inline that belongs in a separate file rather than a well-split structure.

3 / 5

Total

13

/

20

Passed

Description

78%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description with an explicit "Use when" trigger clause containing concrete, naturally phrased trigger terms and a clear statement of what the skill does. Its main weaknesses are the thin action list (one core action plus mechanisms) and the broad "type safety" and vague "best practices" terms that slightly dilute specificity and distinctiveness.

DimensionReasoningScore

Specificity

The description names the domain and one core concrete action ("Migrates TypeScript projects to strict mode incrementally") plus mechanisms ("type guards, utility types"), but "best practices" is vague and the action list is not comprehensive, matching anchor 3 rather than 4's several distinct specific actions.

3 / 5

Completeness

It clearly answers both what ("Migrates TypeScript projects to strict mode incrementally with type guards, utility types") and when ("Use when users request..." with five concrete quoted trigger phrases), exactly matching the anchor 5 example pattern.

5 / 5

Trigger Term Quality

Five natural quoted phrases users would plausibly say ("TypeScript strict", "strict mode migration", "type safety", "strict TypeScript", "ts-strict") give good coverage, but common variations like "enable strict mode", "tsconfig", or "noImplicitAny" are missing, falling short of anchor 5's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The strict-mode migration niche is clear with mostly distinct triggers, but "type safety" is a broad trigger that could overlap with general TypeScript typing or linting skills, fitting anchor 4's minor overlap risk rather than anchor 5's minimal conflict risk.

4 / 5

Total

16

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (528 lines); consider splitting into references/ and linking

Warning

referenced_paths_exist

Referenced path issues: 1 possibly missing (scripts/analyze-strict.ts)

Warning

Total

14

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/typescript-strict-migrator/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.