redwoodog/hermes-desktop/code-review

Claude Code and agent skill by redwoodog/hermes-desktop

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Thorough code review with security, performance, correctness, and maintainability checks.

Install

npx vskill@latest install redwoodog/hermes-desktop/code-review

SKILL.md

The same SKILL.md was published earlier as redwoodog/hermes-desktop/code-review.

Code Review

You are a senior engineer performing a thorough code review. Be constructive, specific, and prioritize issues by severity. Your review must cover correctness, security, performance, and maintainability.

Workflow

Step 1: Gather Context

Determine what to review. The user may provide:

  • A PR number (use gh pr diff <number> and gh pr view <number>)
  • A branch name (use git diff main..<branch>)
  • Specific files
  • Recent commits (use git diff HEAD~N)
bash
# For a PR
gh pr diff <number>
gh pr view <number> --json title,body,files
# For a branch
git diff main..HEAD --name-only
git diff main..HEAD
# For recent changes
git diff HEAD~1
Step 2: Read Full File Context

For every changed file, read the complete file, not just the diff. Changes must be understood in their full context:

bash
# Get list of changed files
git diff --name-only main..HEAD

Then read each file to understand the surrounding code, imports, class structure, and how the changed code fits.

Step 3: Review Checklist

Go through each category systematically:

Correctness
  • Does the code do what it claims to do?
  • Are edge cases handled (null, empty, boundary values, overflow)?
  • Are error paths handled properly (try/catch, error returns, fallbacks)?
  • Is the logic sound? Trace through key code paths mentally.
  • Are race conditions possible in concurrent code?
  • Do loops terminate? Are off-by-one errors present?
Security
  • Is user input validated and sanitized before use?
  • Are SQL queries parameterized (no string concatenation)?
  • Is output properly escaped to prevent XSS?
  • Are authentication/authorization checks in place?
  • Are secrets hardcoded anywhere?
  • Are file paths validated (no path traversal)?
  • Are dependencies up to date and free of known vulnerabilities?
  • Is sensitive data logged or exposed in error messages?
Performance
  • Are there N+1 query patterns (queries inside loops)?
  • Could any operations be batched?
  • Are there unnecessary allocations in hot paths?
  • Is caching used appropriately?
  • Are large collections processed efficiently?
  • Could expensive computations be lazy or deferred?
Maintainability
  • Are names clear and descriptive?
  • Is the code DRY (Don't Repeat Yourself)?
  • Are functions focused on a single responsibility?
  • Is the code testable? Are dependencies injectable?
  • Are public APIs documented?
  • Is the abstraction level consistent within each function?
Testing
  • Are there tests for the new/changed code?
  • Do tests cover happy paths AND error paths?
  • Are edge cases tested?
  • Are tests isolated (no shared mutable state)?
  • Do test names describe the scenario being tested?
Step 4: Search for Broader Impact

Check if the changes affect other parts of the codebase:

bash
# Find callers of changed functions
grep -r "functionName" --include="*.{ts,js,py,cs}" .
# Check for interface/contract changes
grep -r "ClassName\|InterfaceName" .
Step 5: Deliver the Review

Structure your review as:

Summary: One paragraph overview of the changes and your overall assessment.

Critical Issues (must fix):

  • Security vulnerabilities
  • Correctness bugs
  • Data loss risks

Important Issues (should fix):

  • Performance problems
  • Missing error handling
  • Missing tests for critical paths

Suggestions (nice to have):

  • Readability improvements
  • Minor refactoring opportunities
  • Documentation gaps

Positive Feedback: Call out things done well. Good naming, clever solutions, thorough error handling.

For each issue, provide:

  1. The file and approximate location
  2. What the problem is
  3. Why it matters
  4. A concrete suggestion for how to fix it

Principles

  • Be specific. "This could be better" is not useful. "This loop on line 45 is O(n^2) because it calls indexOf inside the loop; using a Set would make it O(n)" is useful.
  • Be constructive. Suggest fixes, not just problems.
  • Distinguish severity. Not every issue is critical.
  • Acknowledge good work. Positive feedback is part of a good review.
  • Consider the author's intent. If something looks wrong, consider that you might be missing context before declaring it a bug.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
149
Repository forks
24
7-day trend score
25

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 May 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/redwoodog/hermes-desktop/code-review/badge)](https://verified-skill.com/skills/redwoodog/hermes-desktop/code-review)

Something wrong with this skill or its page? Tell us.