‹ 首页

migrate-to-shoehorn

@mattpocock · 收录于 1 周前 · 上游提交 2 天前

Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

适合你,如果测试代码中大量使用 `as` 断言,想用更安全的方式生成部分测试数据

/ 通过 npx 安装 校验哈希
npx oh-my-skill add mattpocock/skills/migrate-to-shoehorn
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mattpocock/skills/migrate-to-shoehorn
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify mattpocock/skills/migrate-to-shoehorn
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
GitHub stars
~594最小装载
~594含声明引用
~611文本包总量
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。