Skip to content
M

migrate-to-shoehorn

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

by mattpocockFree

Launch
#125in 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

S

setup-ts-deep-modules

Wire dependency-cruiser into a TypeScript repo

AI Skills
Launch
T

tdd

Test-driven development with vertical slices, behavior-focused tests

AI Skills
Launch
V

vitest-testing

Modern TypeScript/JavaScript testing with Vitest

AI Skills
Launch
C

content-research-writer

Assists in writing high-quality content by conducting research

AI Skills
Launch
C

coding-agent

Delegate coding work to Codex, Claude Code, or OpenCode as background workers

AI Skills
Launch
B

brand-guidelines

Applies Anthropic's official brand colors and typography

AI Skills
Launch

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 setup-ts-deep-modules, tdd and vitest-testing. See all migrate-to-shoehorn alternatives

Developer Stuff

Badges