
migrate-to-shoehorn
Migrate TypeScript test files from `as` type assertions to @total-typescript/shoehorn for type-safe partial test data.
Lift—not yet benchmarked
87
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP
What it does
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
#typescript#testing#migration#shoehorn#type-assertions#test-data
Quality judgment
Well-structured with clear before/after migration patterns, a decision table, and a concrete workflow including grep commands. Minor gaps: `fromExact()` lacks an example, the 'Problems with `as`' bullet 'Trained not to use it' is unclear, and edge cases like nested partials or non-object types aren't addressed.
Files (3)
agents/openai.yaml · 0.1 KBLICENSE · 1.0 KBSKILL.md · 2.7 KB