Back to .md Directory

Manual Review Guide

Combines AI review tools with a manual checklist for structured PR code reviews.

May 2, 2026
0 downloads
1 views
ai rag claude workflow
View source

What this file does

Combines AI review tools with a manual checklist for structured PR code reviews.

When to use it

  • After AI tools like Greptile or CodeRabbit finish analysis
  • Before merging a pull request
  • During Stage 7 of a TDD workflow
  • When setting up a review workflow for a team

Assumes this stack

GreptileCodeRabbitSonarCloud

Manual Review Guide

Purpose: Structured guidance for manual code review integrated with AI review tools.

Audience: Developers conducting PR reviews, maintainers configuring review workflows.


Overview

Manual review remains essential even with AI-powered tools like Greptile and CodeRabbit. This guide provides a systematic approach to combine human judgment with AI insights for comprehensive code quality.

Review Philosophy:

  • AI First, Human Final: Use AI tools for breadth, manual review for depth
  • Structured Process: Follow systematic checklist to avoid missing critical issues
  • Context Matters: Apply judgment based on project stage, risk, and complexity
  • Documentation Required: Every PR needs clear explanation of changes and reasoning

Review Workflow Integration

This guide integrates with the Forge 9-Stage TDD Workflow:

/status → /research → /plan → /dev → /validate → /ship → /review → /premerge → /verify
                                                           ↑
                                                  You are here

When to Use This Guide

  • Stage 7 (/review): Address ALL PR feedback from GitHub Actions, Greptile, SonarCloud, and manual reviewers
  • After AI Review: When Greptile or CodeRabbit has completed initial analysis
  • Before Merge: Final verification before approving PR
  • Post-Merge: Documentation verification in /verify stage

Part 1: AI Review Tools Best Practices

Greptile - Semantic Understanding

  • Use .claude/scripts/greptile-resolve.sh for systematic thread handling
  • Always reply and resolve threads after fixes
  • See .claude/rules/greptile-review-process.md for detailed workflow

CodeRabbit - Multi-Model Review

  • Address security issues immediately
  • Consider performance suggestions with benchmarks
  • Apply style suggestions for consistency

SonarCloud - Static Analysis

  • Coverage ≥80% on new code
  • 0 security hotspots unreviewed
  • Use /sonarcloud skill for PR-specific issues

Part 2: Manual Review Checklist

1. Functional Correctness

  • ☐ Code matches PR description
  • ☐ Edge cases handled
  • ☐ Error messages clear
  • ☐ Invalid input handled gracefully

2. Security (OWASP Top 10)

  • ☐ Authorization before sensitive ops
  • ☐ Data encrypted at rest/transit
  • ☐ SQL queries parameterized
  • ☐ No code injection risks

3. Testing Quality

  • ☐ Tests for new code
  • ☐ Edge cases covered
  • ☐ TDD compliance (test commits before feat commits)

4. Code Quality

  • ☐ Self-documenting code
  • ☐ Single responsibility functions
  • ☐ No duplication (DRY)
  • ☐ Clear organization

5. Performance

  • ☐ Efficient algorithms
  • ☐ Optimized queries
  • ☐ No memory leaks

6. Documentation

  • ☐ Public APIs documented
  • ☐ PR explains why, not just what
  • ☐ README updated if needed

Summary

Manual Review Essentials:

  • Use AI tools for pattern detection
  • Apply human judgment for context
  • Follow systematic checklist
  • Verify security, testing, documentation

Integration: Stage 7 (/review) → Address ALL feedback systematically

Key: Trust AI for breadth, humans for depth. Best results combine both.

What's inside

2 parts: AI tool best practices and a 6-section manual checklist with 20+ items.

Change this for your project

  • Replace .claude/scripts/greptile-resolve.sh with your own script path
  • Replace .claude/rules/greptile-review-process.md with your own rules file
  • Replace /sonarcloud skill reference with your own tool name

Where it goes

Keep it in your repository where the agent or team that needs it will read it.

Worth borrowing

  • AI First, Human Final philosophy for combining automated and manual review
  • Structured checklist organized by concern (security, performance, testing)

Related Documents