一键导入
check-tests
Analyze test quality and coverage patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze test quality and coverage patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit documentation for drift, dead links, and stale content
Assess alignment with the current roadmap phase
Spot-check that code matches ADR invariants
Inventory technical debt across the codebase
Check code pattern consistency across the codebase
Run all project health checks and produce a unified report
| name | check-tests |
| description | Analyze test quality and coverage patterns |
| user_invocable | true |
| context | fork |
| agent | Explore |
Assess test quality beyond simple coverage numbers — edge cases, patterns, and completeness.
Spot-check 3 test files for coverage of error and boundary conditions:
Check that multi-case functions use table-driven patterns:
Verify decode-encode-decode cycles exist:
Spot-check 3 test files for error message assertions:
!= nil)?errors.Is() or errors.As()?err != nil without message validationCross-reference docs/testing.md critical paths with actual tests:
Find .go files without corresponding _test.go files:
## Test Quality Analysis
### Summary
| Dimension | Status | Findings |
|-----------|--------|----------|
| Edge cases | ... | ... |
| Table-driven | ... | ... |
| Round-trip tests | ... | ... |
| Error messages | ... | ... |
| Critical paths | ... | ... |
| Missing test files | ... | ... |
### Details
[Findings per dimension with file references]
### Recommendations
[Top items to improve test quality]