test-migrate-shoehorn

Official

Migrate tests from as to shoehorn safely.

Authormia-cx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Migrate test files from as type assertions to shoehorn to reduce boilerplate and increase type-safety in tests.

Core Features & Use Cases

  • Partial data guarantees: use fromPartial to supply only the necessary fields in tests.
  • Safe error testing: use fromAny to simulate invalid or edge-case inputs without sacrificing type checks.
  • Repeatable workflow: provides a structured migration process with example patterns and imports.

Quick Start

Run the migration workflow to replace as Type assertions with fromPartial and fromAny in your test suite.

Dependency Matrix

Required Modules

None required

Components

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: test-migrate-shoehorn
Download link: https://github.com/mia-cx/.agents/archive/main.zip#test-migrate-shoehorn

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.