
migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn
by mattpocockFree
Description
migrate-to-shoehorn is an agent skill from Matt Pocock's skills collection, listed on skills.sh. It migrates test files from TypeScript 'as' type assertions to @total-typescript/shoehorn, which lets tests pass partial data while staying type-safe. It is for test code only. A skill is a SKILL.md file of instructions (sometimes with scripts and reference notes) that an AI agent loads only when a task calls for it, so the agent knows the steps to follow and what to avoid. It is free and open source.…
Highlights
- Replaces 'as' assertions in tests
- Type-safe partial test data
- Test code only
Ratings & Reviews
No ratings yet
Be the first to rate migrate-to-shoehorn.
People also visit
migrate-to-shoehorn FAQ
What does the migrate-to-shoehorn skill do?
It migrates test files from TypeScript 'as' type assertions to @total-typescript/shoehorn, which lets tests pass partial data while staying type-safe.
How do I install the migrate-to-shoehorn skill?
Run: npx skills add https://github.com/mattpocock/skills --skill migrate-to-shoehorn
Is it free?
Yes. It is free and open source.
What is an agent skill?
A SKILL.md file of instructions, sometimes with scripts and reference notes, that an AI agent such as Claude Code loads when a task needs it, so it handles that task the same careful way every time.
Has it been checked for security?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass. A Warn is worth reading before you install.
What are the best migrate-to-shoehorn alternatives?
Popular alternatives to migrate-to-shoehorn include setup-ts-deep-modules, tdd and vitest-testing. See all migrate-to-shoehorn alternatives


