docs: update review workflow skills and Gemini style guide#508
Conversation
- review-cycle: expand from delegation to autonomous workflow that detects, fixes, explains, or acknowledges each thread type, then loops until clean - review-respond: add reply content guidelines with concrete examples, improve response strategy documentation - styleguide: add "Avoid Praise-Only Comments" rule to reduce review noise from non-actionable threads Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary of ChangesHello @apstndb, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refines the automated review processes and guidelines to enhance the efficiency and quality of code reviews. It introduces a more robust and autonomous review cycle workflow, improves the clarity and substance of automated review responses, and establishes a new style guide rule to minimize non-actionable 'praise-only' comments, all aimed at streamlining the feedback loop based on past learnings. Highlights
Changelog
Ignored Files
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request refines the AI-assisted review workflow by expanding the review-cycle skill and clarifying the review-respond skill. The changes provide clearer instructions and better examples for handling review feedback. However, I've identified a critical logical flaw in the new review-cycle workflow that could lead to an infinite loop. My feedback includes a suggested correction to ensure the process completes successfully.
Code Metrics Report📊 View detailed coverage report (available for 7 days)
Details | | main (1744964) | #508 (1b50800) | +/- |
|---------------------|----------------|----------------|------|
| Coverage | 68.5% | 68.5% | 0.0% |
| Files | 55 | 55 | 0 |
| Lines | 5879 | 5879 | 0 |
| Covered | 4031 | 4031 | 0 |
| Code to Test Ratio | 1:1.2 | 1:1.2 | 0.0 |
| Code | 13514 | 13514 | 0 |
| Test | 16900 | 16900 | 0 |
- | Test Execution Time | 1m6s | 1m11s | +5s |Reported by octocov |
Address Gemini review feedback: step 6 now explicitly states to reply to and resolve code-fix threads with the new commit hash before requesting a re-review, preventing potential infinite loops. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
/gemini review |
There was a problem hiding this comment.
Code Review
The pull request updates the review workflow and Gemini style guide documentation. The changes aim to streamline the review cycle by providing more detailed instructions for responding to feedback and introducing a guideline to avoid praise-only comments. The review-cycle.md command is expanded to a more autonomous workflow, and review-respond.md includes new reply content guidelines and an argument typo fix. The .gemini/styleguide.md now explicitly states that every review comment should contain actionable feedback. Overall, these changes improve the clarity and efficiency of the code review process.
|
/gemini summary |
Summary of ChangesThis pull request significantly refines the automated review processes and guidelines to enhance the efficiency and quality of code reviews. It introduces a more robust and autonomous review cycle workflow, improves the clarity and substance of automated review responses, and establishes a new style guide rule to minimize non-actionable 'praise-only' comments, all aimed at streamlining the feedback loop based on past learnings. Highlights
Changelog
Ignored Files
Activity
|
Summary
Key Changes
.claude/commands/review-cycle.md: Expanded from simple delegation (/project:review-respond) to a fully autonomous workflow — detect thread type, fix/explain/acknowledge, commit & push, request re-review, loop until clean.claude/commands/review-respond.md: Added reply content guidelines (no bare commit hashes), improved examples with explanation-first format, fixedargumentsfield typo.gemini/styleguide.md: Added "Avoid Praise-Only Comments" section — every review comment should contain actionable feedbackContext
In PR #507's review cycles, ~30% of threads were praise-only ("This is a good improvement") requiring manual resolution. This adds guidance to reduce that noise.
Test Plan
/review-cycleand/review-respondinvocations)