Skip to content
Back to skills

Check My Work

ASecurity

Run after making changes, before committing — reviews the current git diff for impact and risk via cqs review.

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsgobashgit

Works with

  • cli

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add jamie8johnson/cqs --skill check-my-work --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Check My Work?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Check My Work
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jamie8johnson-check-my-work/badge)](https://www.skillsdirectory.com/skills/jamie8johnson-check-my-work)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: check-my-work
description: Run after making changes, before committing — reviews the current git diff for impact and risk via cqs review.
---

# Check My Work

Run after making changes, before committing. Reviews your diff for impact and risk.

## Arguments

None — operates on the current git diff.

## Process

1. Run `cqs review --json` via Bash (analyzes current diff). Default covers unstaged changes; if the work is already committed on a branch, use `cqs review --base <ref>` (e.g. `--base main`) to diff against the base instead of raw git plumbing.
2. If no diff, say "No changes to review" and stop
3. 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 review` returns no changed functions, first confirm the diff is genuinely non-code (docs, config) with `git diff --stat`. From a `.claude/worktrees/` lane an empty review despite real `.rs` edits is a RED FLAG — `cqs review` diffs the worktree, so an empty result means either no indexed function changed or something is wrong; do NOT rationalize it away, verify against `git diff` before 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.