Migrate to shoehorn

From mkurman/zorai · View interactive version

Migrate to shoehorn is an AI agent skill from the GitHub repository mkurman/zorai. 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 use this skill

Skill file

--- | -------------------------------------------------- |

| fromPartial() | Pass partial data that still type-checks |

| fromAny() | Pass intentionally wrong data (keeps autocomplete) |

| fromExact() | Force full object (swap with fromPartial later) |

Workflow

  1. Gather requirements - ask user:
  1. Install and migrate:
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.