vinvcn/mattpocock-skills-zh-cn/migrate-to-shoehorn
将测试文件从 `as` 类型断言迁移到 @total-typescript/shoehorn。适用于用户提到 shoehorn、想替换测试中的 `as`,或需要局部测试数据时。
Agent skill · version 1.3.2 · from vinvcn/mattpocock-skills-zh-CN
Install
npx yarkr-cli add skill:vinvcn/mattpocock-skills-zh-cn/migrate-to-shoehornWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:vinvcn/mattpocock-skills-zh-cn/migrate-to-shoehorn
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:vinvcn/mattpocock-skills-zh-cn/migrate-to-shoehornOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:vinvcn/mattpocock-skills-zh-cn/migrate-to-shoehornWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.