[BUG] code-review plugin posts to GitHub by default, contradicting documented behavior
Resolved 💬 4 comments Opened Jan 7, 2026 by pdroalves Closed Mar 7, 2026
Bug Description
The code-review plugin posts comments to GitHub by default, which contradicts the documented behavior in the plugin's README.
Expected Behavior (per README)
According to plugins/code-review/README.md:
- Default:
/code-reviewshould output to terminal only, NOT post to GitHub - Opt-in: Only
/code-review --commentshould post to the PR
Options: - --comment: Post the review as a comment on the pull request (default: outputs to terminal only)
Actual Behavior
Running /code-review (without --comment flag) automatically posts the review as a comment on the PR.
Root Cause
The skill prompt instructs Claude to always "use the gh bash command to comment back on the pull request" regardless of whether the --comment flag was provided. The prompt does not check for or respect the --comment flag.
Suggested Fix
Update the skill prompt to:
- Check if
--commentflag was provided - If no flag: output the review to terminal only
- If
--commentflag present: post to GitHub
Reproduction Steps
- Check out a branch with an open PR
- Run
/code-review(without--comment) - Observe that a comment is posted to the PR (unexpected)
Environment
- Claude Code CLI with code-review plugin installed
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗