dev-booster 1.13.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dev-booster",
3
- "version": "1.13.0",
3
+ "version": "1.15.0",
4
4
  "description": "Reusable AI development kit with manual boosters, governance, and project bootstrap",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -41,17 +41,26 @@ Report the current state clearly to the user:
41
41
  - Current branch
42
42
 
43
43
  ### PHASE 2 — SCOPE SELECTION
44
- Present the user with three review options based on the current Git state:
44
+ Present the user with three review options based on the current Git state using a vertical list format that renders clearly in narrow chat UIs:
45
45
 
46
- ```
46
+ ```md
47
47
  O que você quer revisar?
48
- [1] Unstaged changes (git diff)
49
- [2] Staged changes (git diff --cached)
50
- [3] Working tree + commits (git diff HEAD~N)
48
+
49
+ 1. Unstaged changes
50
+ `git diff`
51
+
52
+ 2. Staged changes
53
+ `git diff --cached`
54
+
55
+ 3. Working tree + commits
56
+ `git diff HEAD~N`
57
+
58
+ Se escolher `3`, eu vou te perguntar quantos commits atrás incluir.
51
59
  ```
52
60
 
53
- - If the user picks `[1]` or `[2]`, proceed directly to Phase 3 with the respective `git diff`.
54
- - If the user picks `[3]`, ask: *"Quantos commits atrás incluir? (padrão: 1)"*. Accept a numeric answer (e.g., `1`, `2`, `3`). Use `1` as default if the user does not specify. Then run `git diff HEAD~<N>` which includes both the working tree changes and the last N commits.
61
+ - Accept `1`, `2`, or `3` as the user's answer.
62
+ - If the user picks `1` or `2`, proceed directly to Phase 3 with the respective `git diff`.
63
+ - If the user picks `3`, ask: *"Quantos commits atrás incluir? (padrão: 1)"*. Accept a numeric answer (e.g., `1`, `2`, `3`). Use `1` as default if the user does not specify. Then run `git diff HEAD~<N>` which includes both the working tree changes and the last N commits.
55
64
 
56
65
  ### PHASE 3 — DIFF REVIEW EXECUTION
57
66
  After the user selects the scope:
@@ -145,57 +154,40 @@ Analyze the diff across these dimensions:
145
154
 
146
155
  ## 4. OUTPUT STRUCTURE (MANDATORY)
147
156
 
148
- Your response MUST use this exact format:
149
-
150
- ```md
151
- ## 🔍 Diff Review: [HEAD~N..HEAD]
157
+ Your response MUST be concise, decision-oriented, and written like a senior developer approving or blocking a PR. Prefer brevity over exhaustiveness.
152
158
 
153
- ### 📋 Files Analyzed
154
- - `file/path.ts` (X additions, Y deletions)
155
- - ...
159
+ Use this exact format:
156
160
 
157
- ### ✅ What Looks Good
158
- - [Positive observations about naming, consistency, reuse, or project alignment]
159
-
160
- ### ⚠️ Review Comments
161
- #### Naming
162
- - `[file:line]` — [comment and suggested direction]
163
-
164
- #### Duplication
165
- - `[file:line]` — [comment and suggested direction]
161
+ ```md
162
+ ## 🔍 Diff Review
166
163
 
167
- #### Project Patterns
168
- - `[file:line]` — [comment and suggested direction]
164
+ Escopo revisado: [unstaged changes | staged changes | working tree + N commits | N arquivos alterados]
169
165
 
170
- #### Responsibility Boundaries
171
- - `[file:line]` [comment and suggested direction]
166
+ ### O que está bom
167
+ - [1 to 3 short positive observations only if they are genuinely useful]
172
168
 
173
- #### Readability
174
- - `[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]
175
172
 
176
173
  ### 🏁 Verdict
177
174
  **APPROVED** | **MINOR SUGGESTIONS** | **NEEDS CHANGES**
178
175
 
179
- [Short justification for the verdict]
180
-
181
- 📝 Review saved at `@booster-generated/diff-review/<slug>.md`
176
+ [One short justification line]
182
177
  ```
183
178
 
184
179
  ### Output rules:
185
- - Group comments by dimension.
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`.
186
188
  - Always include file path and line when referencing code.
187
- - Be constructive and direct, like a senior developer reviewing a PR.
188
- - Explain why the change would improve readability, consistency, reuse, or project alignment.
189
- - If there is nothing to comment in a dimension, omit that dimension.
190
189
  - Do not invent issues that are not visible in the diff or verifiable from local patterns.
191
190
  - The verdict must be clear and justified.
191
+ - Do NOT generate files, artifacts, logs, or review documents for this booster.
192
192
 
193
- ## ARTIFACT GENERATION
194
- During your execution, create a state file at `@booster-generated/diff-review/<slug>.md` with the full review report.
195
-
196
- - **Uniqueness rule:** If the slug already exists in `@booster-generated/diff-review/`, generate a new variation of the name instead of overwriting
197
- - **Notification rule:** After writing, notify the user with: 📝 Review saved at `@booster-generated/diff-review/<slug>.md`
198
-
199
- Do NOT update this file silently in the background.
200
-
201
- **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.