agentusecasesAll 965 use cases
Software & DevOps

Review GitHub pull requests for bugs and security

A Hermes tutorial reads a PR diff and returns a structured review of bugs, security and code quality, then turns it into a skill that watches repos and sends summaries.

Done withHermes Agent

What they did
With the gh CLI authenticated and the Hermes gateway running, you first ask Hermes in chat to fetch a PR diff and review it. You then add a code-review skill with a severity-based output format, and teach it team conventions through memory. A cron job runs every 2 hours, reviews recent PRs in the listed repos, and delivers a summary to Telegram.
How it went
The source gives no review results. It says the skill and remembered conventions make reviews less generic, and estimates 3-5 GitHub API requests per PR review.
Worth knowing
Reviews posted back to GitHub appear under whichever account gh is authenticated as, and that token needs repo scope.

Try it yourself with Hermes Agent

Review the pull request at [PR URL] and return a structured report with sections for bugs, security issues, and code quality, each with file and line references and a severity. Then turn this into a reusable routine that checks [repo name] for new PRs every [interval] and sends me a short summary. Show me the routine and wait for approval before posting any comments on GitHub.

Read the original ↗

Source: hermes-agent.nousresearch.com · Undated

Five of these in your inbox every morning

The best things people got an AI agent to do, each with the prompt to try it.

More like this