测试覆盖缺口审查
原名:test-gap-audit
找出关键业务路径缺少哪些有效测试,而不只看覆盖率数字。
中文 Skills 技能说明
适合发布前判断一次修改是否有足够回归保障。先限定功能或仓库范围,再核对路由、服务、边界条件和异常路径,区分完全缺测、断言太弱与测试范围不匹配,并给出具体补测建议。默认只读,不擅自修业务代码;报告说明已深查与未深查范围,不能把浅层扫描称为完整测试,也不保证检查后没有缺陷。
上游能力依据
上游原始适用说明:Run a read-only audit for missing, weak, stale, or mis-scoped test coverage. If the user does not name a scope, audit the full repository and identify important code paths, routes, features, services, workflows, and contracts that lack proper tests. If the user names a feature, PR, branch, route, workflow, service, bug fix, API, security-sensitive path, or risky code change, focus only on that specific scope. Use when the user asks what tests are missing, whether coverage is enough, what regression tests to add, or how to prove a change is safe. This is not a general bug audit and not a security review; it evaluates whether behavior is covered by tests.
上游 SKILL.md 主要章节(保留原文标题):
- Core Rules
- Inputs
- Discovery Workflow
- Severity Rubric
- Evidence Standards
- Report Format
- Post-Audit Test Implementation
- Related Skills
- Agent Portability Notes
使用边界
先复现问题并固定测试范围,再生成或执行测试。测试通过只能证明已覆盖的场景,不能代替生产环境验收。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/a19b3101cc797a35de8b1c1698c13d1344703522/skills/test-gap-audit
适用范围
平台:linux、macos、windows;标签:测试与质量、测试覆盖缺口审查、开源技能
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。