-
Notifications
You must be signed in to change notification settings - Fork 927
Reduce verbosity in reviewing-changes skill for clean PRs #6121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Problem: PR #6117 review produced ~800 tokens of excessive praise and unnecessary sections when no issues were found. Expected output should have been ~30 tokens: "APPROVE - Clean refactoring". Changes: - SKILL.md: Add "Clean PRs" section with explicit 2-3 line format - SKILL.md: Make "minimal reviews" first core principle - review-psychology.md: Elevate brevity guidance to first directive - review-outputs.md: Add Example 7 showing PR #6117 as anti-pattern - refactoring.md: Replace verbose example with clean vs issues examples - Add IMPLEMENTATION_PLAN.md documenting rationale and approach Expected Impact: - 70-90% token reduction for clean PRs (800 → 30-100 tokens) - Maintains comprehensive reviews for PRs with actual issues - Reduces noise in PR conversations - Faster approvals for good work 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6121 +/- ##
=======================================
Coverage 84.89% 84.89%
=======================================
Files 724 724
Lines 52778 52778
Branches 7672 7672
=======================================
Hits 44807 44807
Misses 5279 5279
Partials 2692 2692 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Claude finished @SaintPatrck's task —— View job Review CompleteOverall Assessment: APPROVE Excellent skill documentation improvements. The changes effectively address the verbosity issue by establishing "minimal reviews for clean PRs" as a first-class principle with clear examples and anti-patterns. Analysis:
Strengths:
Minor Observations: I left 3 inline comments with suggestions for further refinement:
These are optional enhancements - the PR is ready to merge as-is. Expected Impact: Should achieve the stated 70-90% token reduction for clean PRs while maintaining quality for PRs needing detailed feedback. |
| **Overall Assessment:** APPROVE | ||
|
|
||
| Clean refactoring moving ExitManager to :ui module. Follows established patterns, eliminates duplication, tests updated correctly. | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACKNOWLEDGED: Excellent improvement
Details
The addition of Example 2 showing a clean refactoring is exactly what was needed. The explicit "What NOT to do" section with the anti-pattern makes the guidance crystal clear.
The contrast between:
- ✅ "3 lines total"
- ❌ "20 more checkmarks..."
effectively communicates the point without being preachy.
|
Great job! No new security vulnerabilities introduced in this pull request |
Implements suggestions from PR #6121 review: 1. SKILL.md: Consolidate overlapping brevity principles - Merged 4 principles about brevity into 2 clearer ones - Reduced redundancy while preserving all guidance - Added forward reference to Special Case section 2. review-outputs.md: Add context note to Example 7 - Explains why example was added (PR #6117 verbosity) - Provides historical context for readers - References anti-pattern section below Changes reduce repetition and improve documentation clarity. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>

🎟️ Tracking
N/A
📔 Objective
This PR reduces excessive verbosity in the
reviewing-changesskill when reviewing clean PRs with no issues.Problem:
PR #6117 received an ~800 token review with elaborate praise sections (Key Strengths, Changes, Code Quality & Architecture, etc.) when no issues were found. The expected output should have been ~30 tokens:
"APPROVE - Clean refactoring".Root Causes:
Solution:
Modified 4 skill files to establish "minimal reviews for clean PRs" as the primary principle:
Expected Impact:
Testing:
The skill should now produce minimal ~30 token approvals for clean PRs while maintaining detailed inline comments with collapsible
<details>tags for PRs with actual issues.Note: This is a documentation-only change to the
.claude/skills/reviewing-changes/skill. No application code is modified.⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes