Sign inGet started

migrate-to-shoehorn

by mattpocock/skills · Coding & Development

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

completeness
7.5/10
clarity
8.5/10
trigger quality
7.5/10
examples
8.5/10
structure
8.5/10
overall
7.5/10

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
migrate-to-shoehorn — AI agent skill · Coding & Development · SkillzBench