بنقرة واحدة
coverage-check
Check backend code coverage and flag packages below 80%
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Check backend code coverage and flag packages below 80%
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scaffold a new Architecture Decision Record
Scaffold a new rule (static, live, or catalog) with tests and registration
Regenerate docs from code (rules, API, README)
Split working tree changes into logical git commits and push
| name | coverage-check |
| description | Check backend code coverage and flag packages below 80% |
| disable-model-invocation | true |
Check backend code coverage across all packages and report any that fall below the 80% threshold required by CLAUDE.md.
Run all tests with coverage from the backend/ directory:
go test ./... -coverprofile=cover.out
Extract per-package coverage and flag any package below 80%:
go tool cover -func=cover.out | tail -1
Report a summary table showing each package and its coverage percentage. Highlight any package below 80% as a problem. Exclude packages with [no test files] or 0.0% coverage for cmd/ packages (these are acceptable).
If all packages are above 80%, confirm the threshold is met. If any are below, suggest which functions lack coverage and what tests could be added.