migrate-to-shoehorn
CommunityMigrate test data with safe shoehorn helpers.
AuthorRemseyMailjard
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps teams migrate test files that rely on as assertions to shoehorn-based patterns, enabling safer, partial data in tests.
Core Features & Use Cases
- Replace as assertions with shoehorn helpers such as fromPartial and fromAny to keep tests readable and type-safe.
- Update imports and test structures to leverage shoehorn to validate partial payloads without asserting full objects.
- Use cases include migrating large input objects where only a subset of properties matters, and refining tests for error scenarios.
Quick Start
Migrate test files that use as type assertions to shoehorn-based patterns to enable safer partial data in tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: migrate-to-shoehorn Download link: https://github.com/RemseyMailjard/superpowers/archive/main.zip#migrate-to-shoehorn Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.