For an overview of all available workflows, see the main README.
On-demand code review by a grumpy but thorough senior developer
The Grumpy Reviewer workflow is an on-demand code reviewer with personality. Invoke it on any pull request to get an opinionated, thorough review focused on real problems: security risks, performance issues, bad naming, and missing error handling.
# Install the 'gh aw' extension
gh extension install github/gh-aw
# Add the workflow to your repository
gh aw add-wizard githubnext/agentics/grumpy-reviewerThis walks you through adding the workflow to your repository.
graph LR
A[grumpy command] --> B[Read PR diff]
B --> C[Check cache memory]
C --> D[Analyze changed files]
D --> E{Issues found?}
E -->|Yes| F[Post review comments]
E -->|No| G[Reluctant approval]
F --> H[Submit review verdict]
G --> H
H --> I[Save to cache memory]
The reviewer hunts for code smells, security concerns, performance issues, and best practices violations. Posts up to 5 specific, actionable inline comments and submits a verdict (approve, request changes, or comment).
Trigger on any pull request:
/grumpy
Or with a specific focus:
/grumpy focus on security
/grumpy check error handling especially
The workflow runs with sensible defaults:
- Max comments: 5
- Timeout: 10 minutes
- Trigger:
/grumpycommand in PR comments
After editing run gh aw compile to update the workflow and commit all changes to the default branch.
- The reviewer posts comments and submits a verdict, but you decide whether to act on them
- Close or dismiss review comments you disagree with
- The
REQUEST_CHANGESverdict doesn't block merging - it's a recommendation