migrate-to-shoehorn
migrate to shoehorn
What it does
- Trained not to use it
- Must manually specify target type
- Double-as (as unknown as Type) for intentionally wrong data
- What test files have as assertions causing problems?
- Are they dealing with large objects where only some properties matter?
- Do they need to pass intentionally wrong data for error testing?
- [ ] Install: npm i @total-typescript/shoehorn
Requirements & configuration
- Do they need to pass intentionally wrong data for error testing?
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
migrate-to-shoehorn FAQ
What does the migrate-to-shoehorn skill do?
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. Trained not to use it Must manually specify target type
What does migrate-to-shoehorn require?
Do they need to pass intentionally wrong data for error testing?
How do I install migrate-to-shoehorn?
Run: npx -y skills add https://github.com/mattpocock/skills --skill migrate-to-shoehorn --agent claude-code — the source lives at github.com/mattpocock/skills.
Maintain migrate-to-shoehorn?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/mattpocock-skills-migrate-to-shoehorn?ref=badge) npx agentictools info skills/mattpocock-skills-migrate-to-shoehorn The second line is the CLI lookup for this page — handy in READMEs and docs.