skill · Testing & QA
Migrate To Shoehorn
by mattpocock
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.
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- ★ 327k on GitHub
- Updated 2026-11-18
- MIT
Calyban is a free desktop app. It checks Migrate To Shoehorn for red flags before installing, lets you choose the agent and folder, and undoes it in one click.
Install Migrate To Shoehorn manually
Prefer the terminal? This does the same thing as Calyban's install.
Claude Code
git clone --depth 1 https://github.com/mattpocock/skills.git calyban-tmp-migrate-to-shoehorn
mkdir -p ~/.claude/skills
cp -r calyban-tmp-migrate-to-shoehorn/skills/misc/migrate-to-shoehorn ~/.claude/skills/migrate-to-shoehorn
rm -rf calyban-tmp-migrate-to-shoehornCodex
git clone --depth 1 https://github.com/mattpocock/skills.git calyban-tmp-migrate-to-shoehorn
mkdir -p ~/.codex/skills
cp -r calyban-tmp-migrate-to-shoehorn/skills/misc/migrate-to-shoehorn ~/.codex/skills/migrate-to-shoehorn
rm -rf calyban-tmp-migrate-to-shoehornStart a new Claude Code, Codex & more session afterwards so it picks up the change.
Similar skills
Setup Pre CommitmattpocockSet up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time…TddmattpocockTest-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.Finishing A Development BranchobraUse when implementation is complete, all tests pass, and you need to decide how to integrate the workSystematic DebuggingobraUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesTest Driven DevelopmentobraUse when implementing any feature or bugfix, before writing implementation codeUi Canvasaffaan-mPreview a UI component mockup in a local browser canvas where the human directly edits it (move, resize, edit text, delete, restyle), switches mobile/desktop/custom viewports, tests it, chats with you, and clicks Save…
Guides
Listed in the public Calyban catalog. Migrate To Shoehorn is made by mattpocock, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.