Inline review comments
Garth attaches review comments at the line level, on the exact lines where an issue is found. Every comment includes a clear explanation and a suggested code change that can be applied directly from the pull request UI with a single click. Comments are classified into three types:Severity
Flags issues that affect correctness or security and should be resolved before merging — for example, a bug, a vulnerability, or an unsafe pattern.
Improvement
Highlights opportunities to make the code cleaner, more readable, or easier to maintain without blocking the merge.
Caution
Draws attention to areas that are not necessarily wrong but deserve a second look — edge cases, assumptions, or patterns that may cause problems later.
PR summary
At the top of every pull request, Garth posts a structured summary comment with three sections:Overall assessment
A concise verdict on the pull request — whether it is ready to merge, needs changes, or has critical issues that must be resolved first. This gives reviewers an immediate signal without reading every comment.
Key changes
A plain-language breakdown of what the PR actually changes — which features are added, modified, or removed, and why. This gives reviewers instant context without having to read every file in the diff.
Recommendations
Prioritised, actionable suggestions for improving the implementation. Recommendations cover correctness, security, performance, and maintainability, ordered by impact so the most important items stand out.
Change context awareness
Garth analyses each pull request in context:- It understands the purpose of the change, not just what lines were added or removed
- It considers how changed code interacts with the surrounding codebase
- It avoids flagging issues that are intentional or already handled elsewhere in the PR
How reviews are delivered
PR is opened
Garth is triggered automatically via webhook when a pull request is opened. It analyses the diff in the context of the full repository.
Review is posted
Inline comments appear on the relevant lines of the diff. The PR summary — Overall Assessment, Key Changes, and Recommendations — is posted as a top-level comment.
Developer acts
Developers apply suggested code changes with one click or address the findings manually.
