github-code-review
Review code changes by analyzing git diffs, leaving inline comments on PRs, and performing thorough pre-push review.
Skill by helix4u
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/helix4u-github-code-review
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
github-code-review- Description
- Review code changes by analyzing git diffs, leaving inline comments on PRs, and performing thorough pre-push review. Works with gh CLI or falls back to git + GitHub REST API via curl.
- License
- MIT
- Instructions
- 466 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (2)
- SKILL.md
- review-output-template.md · references/
SKILL.md (first lines)
# GitHub Code Review
Perform code reviews on local changes before pushing, or review open PRs on GitHub. Most of this skill uses plain `git` — the `gh`/`curl` split only matters for PR-level interactions.
## Prerequisites
- Authenticated with GitHub (see `github-auth` skill)
- Inside a git repository
### Setup (for PR interactions)
```bash
if command -v gh &>/dev/null && gh auth status &>/dev/null; then
AUTH="gh"
else
AUTH="git"
if [ -z "$GITHUB_TOKEN" ]; then
GITHUB_TOKEN=$(grep "github.com" ~/.git-credentials 2>/dev/null | head -1 | sed 's|https://[^:]*:\([^@]*\)@.*|\1|')
fi
fi
REMOTE_URL=$(git remote get-url origin)
OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's|.*github\.com[:/]||; s|\.git$||')
OWNER=$(echo "$OWNER_REPO" | cut -d/ -f1)
REPO=$(echo "$OWNER_REPO" | cut -d/ -f2)
```
---
## 1. Reviewing Local Changes (Pre-Push)
This is pure `git` — works everywhere, no API needed.
### Get the Diff
```bash
# Staged changes (what would be committed)
git diff --staged
# All changes vs main (what a PR would contain)
git diff main...HEAD
# File names only
git diff main...HEAD --name-only
# Stat summary (insertions/deletions per file)
git diff main...HEAD --stat
```
### Review Strategy
1. **Get the big picture first:**
```bash
git diff main...HEAD --stat
git log main..HEAD --oneline
```
2. **Review file by file** — use `read_file` on changed files for full context, and the diff to see what changed:
```bash
git diff main...HEAD -- src/auth/login.py
```
3. **Check for common issues:**
```bash
# Debug statements, TODOs, console.logs left behind
git diff main...HEAD | grep -n "print(\|console\.log\|TODO\|FIXME\|HACK\|XXX\|debugger"
# Large files accidentally staged
git diff main...HEAD --stat | sort -t'|' -k2 -rn | head -10
# Secrets or credential patterns
git diff main...HEAD | grep -in "password\|secret\|api_key\|token.*=\|private_key"
# Merge conflict markers
git diff main...HEAD | grep -n "<<<<<<\|>>>>>>\|======="
```
4. **Present structured feedback** to the user.
### Review Output Format
When reviewing local changes, present findings in this structure:
```
## Code Review Summary
### Critical
- **src/auth.py:45** — SQL injection: user input passed directly to query.
Suggestion: Use parameterized queries.
### Warnings
- **src/models/user.py:23** — Password stored in plaintext. Use bcrypt or argon2.
- **src/api/routes.py:112** — No rate limiting on login endpoint.
### Suggestions
- **src/utils/helpers.py:8** — Duplicates logic in `src/core/utils.py:34`. Consolidate.
- **tests/test_auth.py** — Missing edge case: expired token test.
### Looks Good
- Clean separation of concerns in the middleware layer
- Good test coverage for the happy path
```
---
## 2. Reviewing a Pull Request on GitHub
### View PR Details
**With gh:**
```bash
gh pr view 123
gh pr diff 123
gh pr diff 123 --name-only
```From helix4u/hermes-agent-private, MIT.
More from helix4u/hermes-agent-private
- 0.414score
f5-tts
helix4u
Use the local F5TTS-FASTAPI service for voice-cloned text-to-speech, voice discovery, and direct synthesis.
SkillDFreshness: DClaude Code +9 - 0.411score
obs-scene-capture
helix4u
Use OBS as a generic screenshot API.
SkillDFreshness: DClaude Code +9 - 0.406score
ascii-art
helix4u
Generate ASCII art using pyfiglet (571 fonts), cowsay, boxes, toilet, image-to-ascii conversion, and search curated art from emojicombos.com and asciiart.eu…
SkillDFreshness: DClaude Code +9 - 0.404score
bird
helix4u
X/Twitter CLI for reading, searching, timelines, bookmarks, and posting via cookie auth.
SkillDFreshness: DClaude Code +9 - 0.404score
gemini
helix4u
Gemini CLI for one-shot prompts, summaries, structured output, and extension-aware calls.
SkillDFreshness: DClaude Code +9 - 0.403score
hermes-agent-spawning
helix4u
Spawn additional Hermes Agent instances as autonomous subprocesses for independent long-running tasks.
SkillDFreshness: DClaude Code +9 - 0.382score
blogwatcher
helix4u
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Feb 21, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/helix4u/hermes-agent-private
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.606score
github-code-review
Tommy-yw
Review code changes by analyzing git diffs, leaving inline comments on PRs, and performing thorough pre-push review.
SkillCFreshness: C★ 510Claude Code +9 - 0.335score
github-code-review
graniet
Review code changes by analyzing git diffs, leaving inline comments on PRs, and performing thorough pre-push review.
SkillCFreshness: C★ 217Claude Code +9 - 0.313score
github-code-review
Martin-Hausleitner
Review code changes by analyzing git diffs, leaving inline comments on PRs, and performing thorough pre-push review.
SkillCFreshness: C★ 4Claude Code +9 - 0.293score
github-code-review
wu-xiaochen
Review code changes by analyzing git diffs, leaving inline comments on PRs, and performing thorough pre-push review.
SkillDFreshness: D★ 17Claude Code +9 - 0.265score
github-code-review
evangit2
Review code changes by analyzing git diffs, leaving inline comments on PRs, and performing thorough pre-push review.
SkillDFreshness: D★ 3Claude Code +9
More from helix4u
- 0.414score
f5-tts
helix4u
Use the local F5TTS-FASTAPI service for voice-cloned text-to-speech, voice discovery, and direct synthesis.
SkillDFreshness: DClaude Code +9 - 0.411score
obs-scene-capture
helix4u
Use OBS as a generic screenshot API.
SkillDFreshness: DClaude Code +9 - 0.406score
ascii-art
helix4u
Generate ASCII art using pyfiglet (571 fonts), cowsay, boxes, toilet, image-to-ascii conversion, and search curated art from emojicombos.com and asciiart.eu…
SkillDFreshness: DClaude Code +9 - 0.404score
bird
helix4u
X/Twitter CLI for reading, searching, timelines, bookmarks, and posting via cookie auth.
SkillDFreshness: DClaude Code +9 - 0.404score
gemini
helix4u
Gemini CLI for one-shot prompts, summaries, structured output, and extension-aware calls.
SkillDFreshness: DClaude Code +9 - 0.403score
hermes-agent-spawning
helix4u
Spawn additional Hermes Agent instances as autonomous subprocesses for independent long-running tasks.
SkillDFreshness: DClaude Code +9
Cite this page
github-code-review skill. Agent Mart. https://agentmart.dev/skills/helix4u-github-code-review (last updated 2026-10-24)