About sanity-check
A repository-checking skill for Go projects that runs lint, short tests, and coverage checks, then organizes results into an overall health report. It helps maintainers identify blockers, files needing attention, and coverage gaps.
Key features
- 01Checks Git working-tree status
- 02Runs the lint target
- 03Runs short Go tests
- 04Reports test coverage
- 05Summarizes blockers and project health
Use cases
- 01Reviewing repository changes before merging
- 02Finding lint or test failures
- 03Identifying packages with coverage gaps
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ chmouel/ lazyworktree --skill sanity-checkAfter installing, type/sanity-checkin Claude Code to confirm it loaded.
Details
From the project READMESanity Check
Run comprehensive quality checks and report results.
Current Git Status
!git status --short
Lint Results
!make lint 2>&1 | head -30
Test Results
!go test ./... -short 2>&1 | tail -20
Coverage
!go test ./... -cover 2>&1 | grep coverage
Analyse these results and report:
- Any blocking issues that must be fixed
- Files that need attention
- Coverage gaps in tested packages
- Summary of overall project health
Comments
Markdown supported