test
仓库创建 2026年7月5日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由
显著加速本地与 CI 测试循环,节约时间与计算资源。
这个 Skill 做什么
仅运行当前 diff 影响的测试并说明为何被选中,支持 --all 全量。
只运行受当前代码 diff 影响的测试用例,并把哪些测试被选中、为什么被选中都打印出来;也支持用 --all 跑全量测试。适合在提交 PR 或改了局部逻辑想快速验证时用,能大幅缩短反馈周期。最大的好处是透明说明选测理由,便于审查和复现问题。
▸ 展开 SKILL.md 英文原文
Run only the tests affected by the current diff, printing which tests were selected and why. Full suite with --all. Reads the project's test command and subset syntax from CLAUDE.md.
0
Stars
0
Forks
15
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/eduardkumskyi/octo/master/skills/test/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/eduardkumskyi/octo/master/skills/test/SKILL.md"SKILL.MD 节选查看完整文件 ↗
## Progress Contract Register these steps as a native task list at Step 1, before running. Report progress as "N steps remaining, size class S/M/L" — never wall-clock ETAs. Steps: (1) read-config, (2) compute-diff, (3) select-tests, (4) run-tests. ## Arguments - **`scope`** — optional path. Test files/dirs → run exactly those (skip diff mapping). Source paths → restrict diff selection to changes under that subtree. Mutually exclusive with `--all`; if both are given, error and ask the user to choose. - **`--all`** — full suite. Mutually exclusive with `scope`. ## Workflow ### Step 1 — Read project config Read the host project's `CLAUDE.md` for: - `test_command` — command used to run t
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有