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 @total-typescript/shoehorn

Migrates TypeScript test files from `as` type assertions to @total-typescript/shoehorn functions like fromPartial and fromAny.

Tags

Updated: 2026-09-12

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Install @total-typescript/shoehorn package
  • Find test files with as assertions
  • Replace as Type with fromPartial
  • Replace double as with fromAny
  • Add imports from shoehorn package
  • Run type check to verify

Inputs

  • TypeScript test files
  • User testing requirements

Outputs

  • Updated TypeScript test files
  • Installed @total-typescript/shoehorn package

Requirements

  • npm package manager
  • TypeScript project environment

Source

  • Spec: SKILL.md
typescript
testing
shoehorn
refactoring
type-safety
Install @total-typescript/shoehorn package
Find test files with as assertions
Replace as Type with fromPartial
Replace double as with fromAny
TypeScript test files
User testing requirements
Updated TypeScript test files
Installed @total-typescript/shoehorn package