migrate-to-shoehorn

Installation
SKILL.md

Migrate to Shoehorn

Replace unsafe TypeScript as assertions in test files with type-safe alternatives from @total-typescript/shoehorn.

When to use this skill

  • Modernizing test code to eliminate as type assertion anti-patterns
  • Making test data creation type-safe with autocomplete support
  • Migrating from as unknown as Type double-assertions

When not to use this skill

  • Production code (shoehorn is test code only)
  • Non-TypeScript projects
  • Runtime type validation → use a library like zod

Installation

Related skills
Installs
26
GitHub Stars
14
First Seen
9 days ago