spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

Merge pull request #18489 from anthropics/fvolcic/minor-code-review-fixesBrowse files
minor code review updates
Franklin Volcic authored on Jan 16, 2026 · GitHub committed on Jan 16, 2026 parents 5a91286 + fd8f380 · commit 2961ddcafe99
1 changed file+5 -2compared with 5a91286
Mplugins/code-review/commands/code-review.md
@@ -6,7 +6,7 @@
66 Provide a code review for the given pull request.
77
88 **Agent assumptions (applies to all agents and subagents):**
9-- All tools are functional and will work without error. Do not test tools or make exploratory calls.
9+- All tools are functional and will work without error. Do not test tools or make exploratory calls. Make sure this is clear to every subagent that is launched.
1010 - Only call a tool if it is required to complete the task. Every tool call should have a clear purpose.
1111
1212 To do this, follow these steps precisely:
@@ -61,10 +61,13 @@
6161 If NO issues were found, post a summary comment using `gh pr comment` (if `--comment` argument is provided):
6262 "No issues found. Checked for bugs and CLAUDE.md compliance."
6363
64-8. Post inline comments for each issue using `mcp__github_inline_comment__create_inline_comment`. For each comment:
64+8. Create a list of all comments that you plan on leaving. This is only for you to make sure you are comfortable with the comments. Do not post this list anywhere.
65+
66+9. Post inline comments for each issue using `mcp__github_inline_comment__create_inline_comment`. For each comment:
6567 - Provide a brief description of the issue
6668 - For small, self-contained fixes, include a committable suggestion block
6769 - For larger fixes (6+ lines, structural changes, or changes spanning multiple locations), describe the issue and suggested fix without a suggestion block
70+ - Never post a committable suggestion UNLESS committing the suggestion fixes the issue entirely. If follow up steps are required, do not leave a committable suggestion.
6871
6972 **IMPORTANT: Only post ONE comment per unique issue. Do not post duplicate comments.**
7073