Skip to content

Commit 86e22ae

Browse files
ZviBaratzclaude
andcommitted
fix: tell headless Claude its text output IS the report file
claude -p captures stdout text, not tool output. The previous prompt let Claude produce the detailed report via skill invocation but then write only a summary as its final text response. Now explicitly states that every word of text output goes into the saved report file. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2a66aad commit 86e22ae

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

scripts/review-prompt.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Run /ego-review on the extension at {{EXT_PATH}}.
22

3-
IMPORTANT: You MUST read the extension source files and produce the FULL ego-review report with ALL six sections. Do NOT summarize. Do NOT skip phases. Output the complete report in markdown.
3+
Your ENTIRE text output will be saved as the review report file. Do NOT summarize at the end — your full output IS the deliverable. Write the complete report inline as you go, with all six sections in full detail. Every word you output goes into the report.
44

55
## Phase 0 Override
66

@@ -14,21 +14,28 @@ Skip Phase 0 (ego-lint). It has already been run. Use these pre-computed results
1414

1515
{{ANNOTATIONS_SECTION}}
1616

17-
## Required Output Format
17+
## Required Output
1818

19-
You MUST output ALL of these sections with full detail:
19+
Write the FULL ego-review report with ALL sections below. Do NOT abbreviate or skip any section. If a section has no findings, write "None" under it — do not omit it.
20+
21+
Start your output with:
22+
```
23+
## EGO Review Report — {{NAME}}
24+
```
25+
26+
Then include ALL of these sections:
2027

2128
### Section 1: Blocking Issues (Must Fix)
22-
List each blocking issue with file:line, description, why reviewers reject it, and fix code.
29+
Each issue: file:line, description, why reviewers reject it, fix code.
2330

2431
### Section 2: Justification Required
2532
Items acceptable IF properly documented.
2633

2734
### Section 3: Advisory Issues (May Cause Questions)
28-
Each with file:line, description, reviewer perspective, suggestion.
35+
Each: file:line, description, reviewer perspective, suggestion.
2936

3037
### Section 4: Automated Check Summary
31-
Build from the lint JSON above. Table with Category × Pass/Fail/Warn.
38+
Build from the lint JSON above. Table: Category × Pass/Fail/Warn.
3239

3340
### Section 5: AI Pattern Analysis
3441
Score, triggered items with file:line, assessment.

0 commit comments

Comments
 (0)