Skip to content
M

migrate-to-shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn

by mattpocockFree

#130in AI Skills
0In stores

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'…

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

C

captain-obvious

Audit TypeScript and Python tests for assertions

AI Skills
Get
T

typescript-write

Write or modify TypeScript and JavaScript code

AI Skills
Get
T

typescript-magician

Designs complex generic types, refactors `any` types to strict alternatives

AI Skills
Get
T

typescript-pro

Implements advanced TypeScript type systems, creates custom type guards

AI Skills
Get
S

swift-testing

Writes and migrates Swift Testing framework tests

AI Skills
Get
D

dart-migrate-to-checks-package

Replace the usage of `expect` and similar functions from `package:matcher`

AI Skills
Get

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 captain-obvious, typescript-write and typescript-magician. See all migrate-to-shoehorn alternatives

Developer Stuff

Badges