Skip to content

sprmn24/hermes-plugin-diff-review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hermes-plugin-diff-review

A Hermes Agent plugin that reviews git diffs for common code quality issues before committing or opening a PR.

Install

cd ~/.hermes/plugins
git clone https://github.com/sprmn24/hermes-plugin-diff-review diff-review

Restart Hermes — the plugin loads automatically. Verify with /plugins.

What it does

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 / HACK comments

Usage

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

Plugin structure

diff-review/
├── plugin.yaml   # manifest
├── __init__.py   # registration
├── schemas.py    # LLM tool schema
└── tools.py      # handler logic

Requirements

  • git available in PATH
  • No additional Python dependencies

License

MIT

About

A Hermes Agent plugin that reviews git diffs for common code quality issues

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages