check-my-work
Run after making changes, before committing — reviews the current git diff for impact and risk via cqs review.
SKILL.md.claude/skills/check-my-work/SKILL.md
GitHubCheck My Work
Run after making changes, before committing. Reviews your diff for impact and risk.
Arguments
None — operates on the current git diff.
Process
- Run
cqs review --jsonvia Bash (analyzes current diff). Default covers unstaged changes; if the work is already committed on a branch, usecqs review --base <ref>(e.g.--base main) to diff against the base instead of raw git plumbing. - If no diff, say "No changes to review" and stop
- Present results as a review checklist
Output Format
## Diff Review
### Changed Functions
<from review: list of modified functions with risk scores>
### Affected Callers
<from review: callers of changed functions that may need updates>
### Tests to Re-run
<from review: tests that exercise the changed functions>
### Risk Assessment
<from review: overall risk level and reasoning>
### Checklist
- [ ] All affected callers still work with your changes
- [ ] Tests listed above pass: `cargo test --features cuda-index -- <test_names>`
- [ ] No new warnings from `cargo clippy --all-targets --features cuda-index`
- [ ] Changes formatted: `cargo fmt`
Rules
- If
cqs reviewreturns no changed functions, first confirm the diff is genuinely non-code (docs, config) withgit diff --stat. From a.claude/worktrees/lane an empty review despite real.rsedits is a RED FLAG —cqs reviewdiffs the worktree, so an empty result means either no indexed function changed or something is wrong; do NOT rationalize it away, verify againstgit diffbefore skipping the impact analysis - If risk is High, recommend the user review each affected caller manually before committing
- If no tests cover the changed functions, flag prominently