test
Skill2 starsChanged 7 months agoMITView on GitHub
智能测试执行——先分析变更范围,设计测试策略,再针对性运行测试,避免无脑全跑浪费 token。
98 other projects use a version of this.
Adopted by
Most recently taken up by
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
- vericontext/vibeframetheir own version, first seen Oct 4, 2026
- thekinv21/NotificationServicetheir own version, first seen Oct 3, 2026
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- kapadias/nonnatheir own version, first seen Oct 1, 2026
Used with
Projects with it also use develop, perf 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.
bamechoSkilldevelop
开发实施阶段详细规则;进入开发实施时读取;包含执行流程、代码规范、一致性审计、方案包迁移
Also in 6 projects that use this
MicrosoftSkillperf
Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-router.
Also in 6 projects that use this
nicolasestremSkilldocument
Create focused documentation for specific components or features
Also in 8 projects that use this
BugRogerSkillproject
Project lifecycle management. Dispatches to Ada.
Also in 6 projects that use this
vltingSkillscope
Interactive planning + orchestration. Approval-gated workflow covering saga→epic→task hierarchy via progressive scoping.
Also in 5 projects that use this
bitwize-music-studioSkilltutorial
Provides interactive guided album creation for new users. Use when the user is new to the plugin or asks for a walkthrough of the album creation process.
Also in 3 projects that use this
Other versions98 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 98
- NVIDIA/TensorRT★ 13ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- crbnos/carbon★ 2.7ksame name
- jsmastery-pro/skills★ 1.4ksame name
- getsentry/sentry-java★ 1.4ksame name
- bitwize-music-studio/claude-ai-music-skills★ 531same name
- boshu2/agentops★ 447same name
- platformplatform/PlatformPlatform★ 440same name
- owainlewis/blueprint★ 410same name
- OyadotAI/oya-browser★ 350same name
88 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 repository10 other files it gives its agents.
- backlog-updateSkill
- bug-scanSkill
- commitSkill
- demoSkill
- design-consultSkill
- dev-iterateSkill
- doc-consistencySkill
- fix-loopSkill
- review-iterateSkill
- share-skillsSkill
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.

