LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

migrate-to-shoehorn - Migrate Test Files to Shoehorn

Migrates test files from as type assertions to @total-typescript/shoehorn for type-safe partial test data.

Tags

Updated: 2026-09-12

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Gather test migration requirements
  • Install shoehorn package
  • Find test files with assertions
  • Replace assertions with shoehorn functions
  • Add shoehorn package imports
  • Run type check verification

Inputs

  • Test files
  • User migration requirements

Outputs

  • Migrated test files
  • Type check results

Requirements

  • npm package manager
  • TypeScript test environment

Source

  • Spec: SKILL.md
typescript
testing
refactoring
shoehorn
type-assertions
Gather test migration requirements
Install shoehorn package
Find test files with assertions
Replace assertions with shoehorn functions
Test files
User migration requirements
Migrated test files
Type check results