什么是 write-tests?
使用 TestBuilder 模式为 Syncpack 编写测试。在添加命令、验证逻辑或任何新功能的测试时使用。涵盖 TestBuilder API、断言模式和常见测试场景。 来源:jamiemason/syncpack。
使用 TestBuilder 模式为 Syncpack 编写测试。在添加命令、验证逻辑或任何新功能的测试时使用。涵盖 TestBuilder API、断言模式和常见测试场景。
通过命令行快速安装 write-tests AI 技能到你的开发环境
来源:jamiemason/syncpack。
Guide for writing tests in Syncpack using the TestBuilder pattern.
Always use TestBuilder — Never manually construct Context in tests.
| Context { ... } | TestBuilder::new()... | | .build() then check states | .buildandvisitpackages() | | ctx.instances[0] | .find(\|i\| i.dependency.name == "react") |
使用 TestBuilder 模式为 Syncpack 编写测试。在添加命令、验证逻辑或任何新功能的测试时使用。涵盖 TestBuilder API、断言模式和常见测试场景。 来源:jamiemason/syncpack。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/jamiemason/syncpack --skill write-tests使用 TestBuilder 模式为 Syncpack 编写测试。在添加命令、验证逻辑或任何新功能的测试时使用。涵盖 TestBuilder API、断言模式和常见测试场景。 来源:jamiemason/syncpack。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/jamiemason/syncpack --skill write-tests 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/jamiemason/syncpack