Conversation
…s-only guidance - Organize prompt into distinct markdown sections (Operating Constraints, Review Scope, Focus Areas, Automated Checks, Response Format) - Add critical ISSUES-ONLY REPORTING section preventing positive feedback - Explicitly prohibit Claude from praising code or mentioning what works well - Clarify that Claude should only report problems and skip well-functioning code - Improve visual hierarchy with clear section headers
|
I'll analyze this and get back to you. |
|
@bkrem I saw this online and tried it for a week or so, really does help. Would add it:
|
Add Luka's suggestion to prioritize concise communication over grammar
|
Claude finished @bkrem's task —— View job Review CompleteTasks:
AnalysisReviewed prompt restructuring in IssuesIssue 1: Inconsistent section title formatting Section title "External Domain URL Detection" uses heading level 3 (###) while parent section uses level 2 (##). Same for "Static Resource Cache-Control Validation" at line 117. This breaks markdown hierarchy since both are subsections under "AUTOMATED CHECKS". Suggestion: Either:
Issue 2: Redundant emphasis in response format Two back-to-back CRITICAL bullets say essentially the same thing:
These overlap significantly with the already comprehensive ISSUES-ONLY REPORTING section (lines 54-68). The repetition reduces the impact of "CRITICAL" markers. Suggestion: Remove one of these bullets or consolidate into single directive since issues-only reporting is already thoroughly covered above. Issue 3: Missing horizontal separator consistency Horizontal separators (---) appear after sections at lines 70, 88, and 103, but not after the AUTOMATED CHECKS section (line 105-145). This creates inconsistent visual separation between major sections. Suggestion: Add "---" separator after line 145 (end of AUTOMATED CHECKS section) before the project_context conditional block to maintain consistent section separation. |
Yeah great one liner, added, thank you 💯 |
|
|
||
| ## REVIEW SCOPE | ||
|
|
||
| Review this pull request with focus on code quality, security, and best practices. |

Summary
Restructures the Claude Auto Review action prompt to improve clarity and prevent positive feedback in reviews.
Changes Made
Organized prompt into clear markdown sections:
CRITICAL - OPERATING CONSTRAINTS- Operating rules and limitationsREVIEW SCOPE- Review scope and incremental review guidelinesREVIEW FOCUS AREAS- What to analyze for issuesAUTOMATED CHECKS- External domain and cache-control validationRESPONSE FORMAT- Output formatting guidelinesAdded ISSUES-ONLY REPORTING guidance:
Added concision directive:
Improved visual hierarchy:
Rationale
The previous prompt structure mixed different types of instructions together, making it harder to parse. More importantly, Claude was sometimes providing positive feedback or describing what was working well, which adds noise to PR reviews. This change ensures Claude's reviews are concise and focused exclusively on actionable issues that need fixing.
Test Plan