Test Coverage Scan
OfficialGuarantee test coverage for changed files.
AuthorBedaBeda-Growth
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enforces the 1-for-1 test rule by ensuring every changed source file has a corresponding test file change in the PR.
Core Features & Use Cases
- Scans the diff between main and HEAD to identify primary source files (.js, .ts, .tsx, .py, .go).
- Correlates changed files to their test counterparts using filename similarity (e.g., user-profile.ts -> user-profile.test.ts).
- Provides PR-scoped results with PASS, WARN, or FAIL, and supports a strict mode for blocking gates.
Quick Start
Run the scan with python3 grok-personal/scripts/test_coverage_scan.py to verify that every changed source file has a corresponding test.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Test Coverage Scan Download link: https://github.com/BedaBeda-Growth/bedabeda-growth-site/archive/main.zip#test-coverage-scan Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.