smart-test
✓基于代码更改的智能测试选择。通过导入分析将源文件映射到测试, 实施分层测试(快速 < 1 分钟,受影响 < 5 分钟,全套),并跟踪测试可靠性。 在代码更改后运行测试时使用,以优化反馈循环和 CI 时间。
SKILL.md
Optimizes test execution by intelligently selecting which tests to run based on code changes. Instead of running the full test suite every time, this skill:
The skill builds a dependency graph by analyzing Python imports:
Direct Tests: Files matching pattern test{module}.py or {module}test.py Indirect Tests: Tests that import modules which import the changed file
基于代码更改的智能测试选择。通过导入分析将源文件映射到测试, 实施分层测试(快速 < 1 分钟,受影响 < 5 分钟,全套),并跟踪测试可靠性。 在代码更改后运行测试时使用,以优化反馈循环和 CI 时间。 来源:rysweet/amplihack。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/rysweet/amplihack --skill smart-test- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 smart-test?
基于代码更改的智能测试选择。通过导入分析将源文件映射到测试, 实施分层测试(快速 < 1 分钟,受影响 < 5 分钟,全套),并跟踪测试可靠性。 在代码更改后运行测试时使用,以优化反馈循环和 CI 时间。 来源:rysweet/amplihack。
如何安装 smart-test?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/rysweet/amplihack --skill smart-test 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/rysweet/amplihack
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01