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