feat(code-review): Make local-only output the default behavior

Change default to output review to terminal only. Users must now
pass --comment to post to GitHub PR. This is more convenient for
local development where posting to PRs is usually not desired.
This commit is contained in:
Claude
2025-12-15 17:51:54 +00:00
parent 5d95a9c67d
commit d76e1f538b
2 changed files with 11 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ description: Code review a pull request
Provide a code review for the given pull request.
**Arguments:**
- `--no-comment`: Skip posting the review as a PR comment. Instead, output the review to the terminal only. This is useful when running locally and you don't want to post to GitHub.
- `--comment`: Post the review as a PR comment on GitHub. By default, the review is output to the terminal only.
To do this, follow these steps precisely:
@@ -56,8 +56,8 @@ Note: Still review Claude generated PR's.
6. Filter out any issues that were not validated in step 5. This step will give us our list of high signal issues for our review.
7. Finally, output the review:
- If `--no-comment` was passed as an argument, output the review directly to the terminal (do NOT post to GitHub)
- Otherwise, post the review as a comment on the pull request using `gh pr comment`
- If `--comment` was passed as an argument, post the review as a comment on the pull request using `gh pr comment`
- Otherwise, output the review directly to the terminal (do NOT post to GitHub)
When writing your review, follow these guidelines:
a. Keep your output brief