migrate-to-shoehorn

Migrate TypeScript test assertions to Shoehorn helpers.

2|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/jupes/agent-forge-harness --skill migrate-to-shoehorn-jupes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-to-shoehorn
Source: https://github.com/jupes/agent-forge-harness/tree/main/.claude/skills/migrate-to-shoehorn
Command: npx skills add https://github.com/jupes/agent-forge-harness --skill migrate-to-shoehorn-jupes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the migration process from using 'as' assertions in TypeScript tests to using 'Shoehorn' helpers, enhancing test readability and maintainability.

Core Features & Use Cases

  • Automated Migration: Automates the conversion of TypeScript test assertions to 'Shoehorn' helpers.
  • Test-only Code: Ensures that the conversion process is only applied to test files.
  • Use Case: Ideal for refactoring legacy test suites to leverage 'Shoehorn' for improved test data handling.

Quick Start

Run the skill with 'migrate-to-shoehorn' to convert TypeScript test assertions in the current directory.

Frequently Asked Questions about migrate-to-shoehorn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate TypeScript test assertions to Shoehorn helpers?

You can migrate TypeScript test assertions to Shoehorn helpers by running the skill in your current directory to automatically convert 'as' assertions and full-shape fixture conversions.

What does converting 'as' assertions to Shoehorn helpers solve in TypeScript testing?

Converting 'as' assertions to Shoehorn helpers solves test readability and maintainability issues by enhancing type safety and improving test data handling for partial and unknown data.

Does the Shoehorn migration process apply to all TypeScript files?

No, the Shoehorn migration process applies exclusively to test files, ensuring that the conversion of test assertions only impacts your testing workflows and not production code.

Can I use Shoehorn helpers for full-shape fixture conversions in TypeScript tests?

Yes, you can use Shoehorn helpers for full-shape fixture conversions in TypeScript tests, as the skill supports both partial data handling and complete fixture shape migrations.

When should I refactor legacy test suites to use Shoehorn helpers?

You should refactor legacy test suites to use Shoehorn helpers when you need to improve test data handling, increase type safety, and replace outdated 'as' assertions with maintainable helpers.