test
Skill2 starsChanged 6 months agoMITView on GitHub
智能测试执行——先分析变更范围,设计测试策略,再针对性运行测试,避免无脑全跑浪费 token。
179 other projects use a version of this.
Adopted by
Most recently taken up by
- tyrantpiper/travel-pwatheir own version, first seen Nov 8, 2026
- phuthuycoding/kanban-flowtheir own version, first seen Nov 8, 2026
- pche-broken-artist/forge-of-thoughttheir own version, first seen Nov 8, 2026
- PMDevSolutions/Flaviantheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use agent-context-isolation, agentica-infrastructure and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
parcadeiSkillagent-context-isolation
Agent Context Isolation
Also in 3 projects that use this
parcadeiSkillagentica-infrastructure
Reference guide for Agentica multi-agent infrastructure APIs
Also in 3 projects that use this
- +10 more from parcadei
Other versions179 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 179
- react/react★ 252ksame name
- facebook/react★ 252ksame name
- apache/skywalking★ 25ksame name
- livewire/livewire★ 24ksame name
- NVIDIA/TensorRT★ 13ksame name
- FalkorDB/FalkorDB★ 10ksame name
- FastLED/FastLED★ 7.5ksame name
- fleetdm/fleet★ 7.2ksame name
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
169 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- backlog-updateSkill
- bug-scanSkill
- commitSkill
- demoSkill
- design-consultSkill
- dev-iterateSkill
- doc-consistencySkill
- fix-loopSkill
- review-iterateSkill
- share-skillsSkill
- translate-prdSkill
The file
Files
测试执行流程
第一步:分析 pending changes
运行以下命令了解当前改动:
git status— 哪些文件有变更git diff— 具体改了什么
第二步:发现可用的测试命令
自动检测项目中可用的测试方式,按优先级尝试:
- package.json scripts:检查
scripts中包含test、jest、vitest、mocha、cypress等关键词的命令 - Makefile:查找
test目标 - 常见测试入口:查找根目录下的
test-e2e.mjs、test*.js、test*.mjs、test*.py、test*.sh等文件 - pytest / go test / cargo test:根据项目语言自动推断
列出发现的测试命令,让用户确认或选择。
第三步:设计测试策略
根据变更内容,向用户说明测试计划并确认:
- 这次改动涉及哪些模块? 根据变更文件的路径、命名推断(如改了路由 → API 相关,改了样式 → UI 相关,改了配置 → 配置相关)
- 需要跑真实 API 还是 mock 测试就够?
- mock 测试:零消耗,验证逻辑和接口契约
- 真实测试:消耗 token,但验证端到端真实行为
- 哪些测试该跑?哪些可以跳过?为什么?
- 根据变更模块,匹配对应的测试范围
- 没改到的模块 → 跳过,节省时间
- 预估消耗(如有 token/API 调用成本)
格式示例:
本次改动:
src/routes/api.js中新增了/api/query端点建议测试策略:
- 发现测试命令:
npm test、node test-e2e.mjs- 跑 mock 测试即可(不消耗 token,验证接口契约)
- 需要跑:核心流程测试(确认未破坏现有端点)
- 可以跳过:文件操作、PII 相关(未涉及)
等待用户确认后再执行。
第四步:执行测试
用户确认后,运行对应的测试命令。
支持选择性运行:
- 如果测试框架支持
--only、--grep、-k等过滤参数,按模块名过滤 - 如果是直接执行脚本,按函数名/描述子串匹配
注意:跳过的测试可能有依赖链,如果需要验证完整链路,跑全量测试更可靠。
第五步:结果报告
测试完成后报告:
- 通过 / 失败数量
- 失败的测试名和关键原因
- 全部通过则确认即可
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

