Giverny

Migrate To Shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn.

by Matt Pocock★ 336,218Testing & browsers

What Migrate To Shoehorn 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.

How to install Migrate To Shoehorn in Claude Code

Giverny gives you a ready prompt with the exact install command from mattpocock/skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone mattpocock/skills and copy the skills/misc/migrate-to-shoehorn folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Migrate To Shoehorn on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the migrate-to-shoehorn skill on my current project.”

More Claude skills for testing & browsers