Skip to content

feat(#97): Add test coverage transparency and quality guidelines - #153

Merged
admarble merged 1 commit into
mainfrom
feature/97-feat-add-test-coverage-transparency-and-quality-gu
Jan 21, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/97-feat-add-test-coverage-transparency-and-quality-gu

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

  • Adds coverage reporting requirements to /qa and /exec skills that report which changed files have corresponding tests
  • Adds tier classification (critical/standard/optional) to flag coverage gaps based on criticality
  • Updates testing-requirements.md with test quality guidelines
  • Adds coverage section to QA output template
  • Adds optional CLAUDE_HOOKS_COVERAGE=true hook for automatic enforcement

Changes

File Change
.claude/skills/qa/SKILL.md AC-1, AC-3, AC-5: Coverage reporting, tier classification, output template
.claude/skills/exec/SKILL.md AC-2, AC-3: Coverage reporting after npm test
.claude/skills/qa/references/testing-requirements.md AC-4: Quality guidelines
.claude/hooks/post-tool.sh AC-6: Optional coverage hook

Test Plan

  • Run /qa on a branch with uncovered changes, verify coverage gap is reported
  • Run /exec, verify coverage analysis appears in output after npm test
  • Change a file in auth/, verify "Critical path" tier is flagged
  • Set CLAUDE_HOOKS_COVERAGE=true, run tests, check /tmp/claude-coverage.log

Note

Pre-existing test failures in state-update-cli.test.ts are unrelated to this change (confirmed same failures exist on main).

Closes #97

🤖 Generated with Claude Code

- Add coverage reporting requirements to /qa and /exec skills
- Add tier classification (critical/standard/optional) for changes
- Update testing-requirements.md with test quality guidelines
- Add coverage section to QA output template
- Add optional CLAUDE_HOOKS_COVERAGE hook for automatic enforcement

The workflow now reports which changed files have corresponding tests,
not just "N tests passed", improving transparency about what's actually
being tested.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@admarble
admarble merged commit 366d250 into main Jan 21, 2026
@admarble
admarble deleted the feature/97-feat-add-test-coverage-transparency-and-quality-gu branch January 21, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add test coverage transparency and quality guidelines to workflow

1 participant