.claude/skills/check-coverage/SKILL.md
Analyze test coverage and identify untested code paths
npx skillsauth add TypedDevs/bashunit check-coverageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze test coverage and identify gaps.
BASHUNIT_COVERAGE=true ./bashunit tests/
For each file in src/:
# List all public functions
grep "^function bashunit::" src/module.sh
# Find tests referencing each function
grep -r "function_name" tests/
Priority 1: Public API functions (export -f) with no tests
Priority 2: Error handling paths (return 1, exit 1) not tested
Priority 3: Complex conditionals without branch coverage
Output a markdown report with:
development
Run complete TDD red-green-refactor cycle for a test
tools
Run pre-release validation and execute the release process
testing
Run comprehensive pre-release validation checklist
testing
Push branch and create a GitHub PR with concise, issue-linked description