- Home
- Skills
- Code Quality & Review
- Diff Risk Triage (Free, Offline PR Risk Score)
Diff Risk Triage (Free, Offline PR Risk Score)
Scores a git diff 0-100 for review risk and tells you which files to read first: migrations, CI, auth paths, deleted tests, risky added lines.
Free
Works with the AI Agents you already use
About this skill
A first-pass map for a reviewer: where is this change most likely to hurt, and what should be read before anything else. It ranks attention; it does not find bugs and never approves a change.
Either run inside the repo with no arguments (staged + unstaged changes versus HEAD), pass --base main to compare against a branch or commit, or give a saved unified diff with --diff FILE (or - for stdin). Only git diff is run; nothing is checked out or modified.
This skill bundles one standard-library Python file, scripts/diff_risk_triage.py (sha256 a0d742be5af8df811272e7916479545a04266754dabc7ba3a24e7be006d37f03). If it is not already on disk:
- Write the bundled script text verbatim to a temp file outside the user's project, e.g.
T=$(mktemp --suffix=.py). - Check
sha256sum "$T"equalsa0d742be5af8df811272e7916479545a04266754dabc7ba3a24e7be006d37f03. If it differs, rewrite it; never edit it. - Run
python3 "$T" [--diff FILE|-] [--base main] [--repo "/path"] [--json]with each user path as a separately quoted argument. - Delete the temp file. Do not save the script into the project.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 2 days ago
- Free to download with an account
Requires