dev-booster 1.14.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -154,57 +154,40 @@ Analyze the diff across these dimensions:
|
|
|
154
154
|
|
|
155
155
|
## 4. OUTPUT STRUCTURE (MANDATORY)
|
|
156
156
|
|
|
157
|
-
Your response MUST
|
|
157
|
+
Your response MUST be concise, decision-oriented, and written like a senior developer approving or blocking a PR. Prefer brevity over exhaustiveness.
|
|
158
158
|
|
|
159
|
-
|
|
160
|
-
## 🔍 Diff Review: [HEAD~N..HEAD]
|
|
161
|
-
|
|
162
|
-
### 📋 Files Analyzed
|
|
163
|
-
- `file/path.ts` (X additions, Y deletions)
|
|
164
|
-
- ...
|
|
165
|
-
|
|
166
|
-
### ✅ What Looks Good
|
|
167
|
-
- [Positive observations about naming, consistency, reuse, or project alignment]
|
|
159
|
+
Use this exact format:
|
|
168
160
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
- `[file:line]` — [comment and suggested direction]
|
|
172
|
-
|
|
173
|
-
#### Duplication
|
|
174
|
-
- `[file:line]` — [comment and suggested direction]
|
|
161
|
+
```md
|
|
162
|
+
## 🔍 Diff Review
|
|
175
163
|
|
|
176
|
-
|
|
177
|
-
- `[file:line]` — [comment and suggested direction]
|
|
164
|
+
Escopo revisado: [unstaged changes | staged changes | working tree + N commits | N arquivos alterados]
|
|
178
165
|
|
|
179
|
-
|
|
180
|
-
-
|
|
166
|
+
### ✅ O que está bom
|
|
167
|
+
- [1 to 3 short positive observations only if they are genuinely useful]
|
|
181
168
|
|
|
182
|
-
|
|
183
|
-
- `[file:line]` — [comment and suggested direction]
|
|
169
|
+
### ⚠️ Pontos de atenção
|
|
170
|
+
- `[file:line]` — [short, direct comment and suggested direction]
|
|
171
|
+
- `[file:line]` — [short, direct comment and suggested direction]
|
|
184
172
|
|
|
185
173
|
### 🏁 Verdict
|
|
186
174
|
**APPROVED** | **MINOR SUGGESTIONS** | **NEEDS CHANGES**
|
|
187
175
|
|
|
188
|
-
[
|
|
189
|
-
|
|
190
|
-
📝 Review saved at `@booster-generated/diff-review/<slug>.md`
|
|
176
|
+
[One short justification line]
|
|
191
177
|
```
|
|
192
178
|
|
|
193
179
|
### Output rules:
|
|
194
|
-
-
|
|
180
|
+
- Do NOT list every analyzed file.
|
|
181
|
+
- If useful, summarize scope only as a short count or diff mode.
|
|
182
|
+
- Keep the review compact and scan-friendly.
|
|
183
|
+
- Limit comments to the most important issues only, ideally 3 to 5 maximum.
|
|
184
|
+
- Prefer direct comments over long explanations.
|
|
185
|
+
- Group all issues under `Pontos de atenção` instead of expanding into many sections.
|
|
186
|
+
- If there is nothing meaningful to praise, omit `O que está bom`.
|
|
187
|
+
- If there is nothing meaningful to flag, omit `Pontos de atenção`.
|
|
195
188
|
- Always include file path and line when referencing code.
|
|
196
|
-
- Be constructive and direct, like a senior developer reviewing a PR.
|
|
197
|
-
- Explain why the change would improve readability, consistency, reuse, or project alignment.
|
|
198
|
-
- If there is nothing to comment in a dimension, omit that dimension.
|
|
199
189
|
- Do not invent issues that are not visible in the diff or verifiable from local patterns.
|
|
200
190
|
- The verdict must be clear and justified.
|
|
191
|
+
- Do NOT generate files, artifacts, logs, or review documents for this booster.
|
|
201
192
|
|
|
202
|
-
|
|
203
|
-
During your execution, create a state file at `@booster-generated/diff-review/<slug>.md` with the full review report.
|
|
204
|
-
|
|
205
|
-
- **Uniqueness rule:** If the slug already exists in `@booster-generated/diff-review/`, generate a new variation of the name instead of overwriting
|
|
206
|
-
- **Notification rule:** After writing, notify the user with: 📝 Review saved at `@booster-generated/diff-review/<slug>.md`
|
|
207
|
-
|
|
208
|
-
Do NOT update this file silently in the background.
|
|
209
|
-
|
|
210
|
-
**Reply:** On activation only, use the armed-mode banner above, check the Git state, report it clearly, and present the three review options. After the user selects the scope, load the required local rules and review intelligence, analyze the appropriate `git diff` as a senior code writing review, generate the report, notify the artifact path, and answer in the global language configured for the active LLM/environment.
|
|
193
|
+
**Reply:** On activation only, use the armed-mode banner above, check the Git state, report it clearly, and present the three review options. After the user selects the scope, load the required local rules and review intelligence, analyze the appropriate `git diff` as a senior code writing review, and answer concisely in the global language configured for the active LLM/environment.
|