SKILL5.4K installs5.3K

Migrate To Shoehorn

将测试文件从 `as` 类型断言迁移到 @total-typescript/shoehorn。适用于用户提到 shoehorn、想替换测试中的 `as`,或需要局部测试数据时。

Type
Skill
Author
vinvcn
GitHub stars
5.3K
Installs
5.4K
Last updated
October 28, 2026

Install

npx skills add https://github.com/vinvcn/mattpocock-skills-zh-cn --skill migrate-to-shoehorn

About this skill

Migrates test files from `as` type assertions to @total-typescript/shoehorn. It's for TypeScript developers who want to remove unsafe casts from their tests or need partial test data. Triggered when you mention shoehorn or ask to replace `as` in test code.

Summary written with AI assistance from the project's public description.


Categories


More from vinvcn


Similar Skills