A Hermes Agent plugin that reviews git diffs for common code quality issues before committing or opening a PR.
cd ~/.hermes/plugins
git clone https://github.com/sprmn24/hermes-plugin-diff-review diff-reviewRestart Hermes — the plugin loads automatically. Verify with /plugins.
Provides a diff_review tool that analyzes unified diff output and flags:
- Debug
print()statements - Hardcoded secrets (passwords, API keys, tokens)
- Bare
except:clauses - Broad
except Exception:catches - Unresolved
TODO/FIXME/HACKcomments
Ask Hermes naturally:
review my current git diff
check my changes against origin/main before I open a PR
Or reference the tool directly:
use diff_review with target=origin/main
diff-review/
├── plugin.yaml # manifest
├── __init__.py # registration
├── schemas.py # LLM tool schema
└── tools.py # handler logic
gitavailable in PATH- No additional Python dependencies
MIT