Skip to content

Commit 0010e82

Browse files
pontemontiCopilot
andauthored
Update .claude/commands/review-staged.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 05c0cdf commit 0010e82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.claude/commands/review-staged.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Even though staged changes are not a PR yet, capture these fields so inline comm
179179
| Field | Description | Example |
180180
|-------|-------------|---------|
181181
| **File** | The exact path to the file | `libraries/microsoft-agents-a365-runtime/src/microsoft_agents_a365/runtime/utils.py` |
182-
| **Diff Line** | The line number in the diff where the issue occurs. For multi-line issues, use the **last line**. | `47` |
182+
| **Diff Line** | The **absolute line number** in the target file where the comment should appear. For multi-line issues, use the **last line** of the relevant code block. Compute this from the diff hunk header plus the line's position within the hunk. | `47` |
183183
| **Diff Side** | `RIGHT` for added/modified lines (`+`), `LEFT` for removed lines (`-`) | `RIGHT` |
184184

185185
**Note:** To post these findings as inline PR comments later, use `/review-pr` after creating the PR, or create a PR and use `/post-review-comments` with the staged review file (it will attempt to map the findings).

0 commit comments

Comments
 (0)