In this article
Coding Standards/Code Review/Diff Computation
| Field | Value |
|---|---|
| Kind | instruction |
| Source | .github/instructions/coding-standards/code-review/diff-computation.instructions.md |
| Invocation | Applied automatically |
| Interactive | No |
What it does
Code review diff computation: branch detection, scope locking, large-diff handling, and non-source filtering
When to use it
Use this protocol at the start of a code review to select the correct diff for a feature branch, uncommitted work, selected code, or a specific commit. It locks findings to changed lines and filters non-source output; use ordinary repository exploration instead when the task is not a review.
Example usage
Provide a concrete example that shows the asset in action, including representative input and the resulting output.