test-coverage-review
Audit test coverage, identify gaps, and recommend local tests plus CI workflows
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit test coverage, identify gaps, and recommend local tests plus CI workflows
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | test-coverage-review |
| description | Audit test coverage, identify gaps, and recommend local tests plus CI workflows |
| compatibility | >=3.2 |
Skill metadata: version "1.0"; license MIT; tags [tests, coverage, ci, review, quality]; compatibility ">=3.2"; recommended tools [codebase, runCommands, githubRepo].
Review the current project's test coverage posture and recommend what to test next, what coverage tooling is missing, and which CI workflows would add the most value.
Discover the test stack — Detect test runners and coverage tooling from config files, manifests, and CI workflows.
Ask for coverage output when available — If a coverage command is configured, ask the user to run it and paste the output. Copilot cannot run the command on the user's machine in chat.
Fall back to static analysis when needed — If no coverage tooling exists, scan the repository for source files, test files, and obvious gaps.
Identify coverage gaps — Classify gaps into:
Recommend local tests — For each important gap, specify:
Recommend CI workflows — Suggest copy-ready GitHub Actions improvements when they are justified by the stack, such as:
Present the report — Use this structure:
## Test Coverage Review - <project>
### Current coverage snapshot
- framework and runner
- overall coverage if known
- test file count and obvious untested areas
### Well-covered
- files or modules that appear healthy
### Partially covered
- files or modules with notable gaps
### Untested or near-zero
- highest-priority missing coverage
### Recommended local tests
- file | type | priority | what to cover
### Recommended CI workflows
- workflow name and why it helps
- ready-to-copy YAML when appropriate
### Notes
- missing tooling
- assumptions
- risk areas
Wait — Do not write test files, workflow files, or coverage config until the user explicitly asks.
Create an Architectural Decision Record (ADR) to document a significant design or technology choice
Audit VS Code extensions against the current project stack and recommend keep/add/remove actions
Diagnose and fix a failing CI pipeline or GitHub Actions workflow
Triage a GitHub issue by classifying severity, labelling waste category, proposing next action, and drafting a structured response
Create a new MCP server — clarify purpose, choose transport, scaffold, implement, test, and register
Configure and manage Model Context Protocol servers for external tool access