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-shoehornAbout 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
Grill Me
一个用来打磨计划或设计的持续追问式访谈。
by vinvcn
Grill With Docs
一个用来打磨计划或设计的持续追问式访谈,并在过程中创建文档(ADRs 和词汇表)。
by vinvcn
Setup Matt Pocock Skills
为此仓库配置 engineering skills——设置其 issue tracker、triage labels 词汇与 domain docs 布局。在首次使用其他 engineering skills 前运行一次。
by vinvcn
Tdd
测试驱动开发。适用于用户想用先写测试的方式构建功能或修复缺陷、提到 “red-green-refactor”,或需要集成测试时。
by vinvcn
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh