@christianmorup/review-intent 0.1.0 → 0.1.3
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/README.md +11 -8
- package/dist/render.js +1306 -259
- package/dist/review-order.js +78 -0
- package/dist/skill.js +18 -13
- package/dist/themes.js +176 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,10 +92,12 @@ self-contained inline SVG (no charting dependency, deterministic output):
|
|
|
92
92
|
that carry agent rationale (the completeness contract, visualized).
|
|
93
93
|
4. **Reach ripple** — the reach graph as concentric rings: changed files at the
|
|
94
94
|
centre, importers rippling outward.
|
|
95
|
-
5. **
|
|
96
|
-
reach) on the x-axis
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
5. **Change map** — the signature view: one dot per changed file, placed by
|
|
96
|
+
measured *downstream reach* (how many repo files import it) on the x-axis
|
|
97
|
+
against measured *churn* (± lines) on the y-axis, sized by hunk count and
|
|
98
|
+
coloured red when the file carries a complexity hotspot. Files in the shaded
|
|
99
|
+
top-right corner are the largest and most depended-on — the review-first
|
|
100
|
+
targets, picked out instead of being averaged into a single PR-wide score.
|
|
99
101
|
|
|
100
102
|
`npm run sample` builds and writes a representative `sample-output.html` you can
|
|
101
103
|
open to see the whole page.
|
|
@@ -206,7 +208,7 @@ whether the intent is genuine reasoning or post-hoc rationalization is the whole
|
|
|
206
208
|
ballgame. `review-intent` ships a Claude Code skill that teaches the agent to
|
|
207
209
|
author the artifact **honestly** (real rejected alternatives, stated
|
|
208
210
|
assumptions, incidental changes marked as incidental) when it finishes a change
|
|
209
|
-
set, then
|
|
211
|
+
set, then render it.
|
|
210
212
|
|
|
211
213
|
```sh
|
|
212
214
|
review-intent skill install # ~/.claude/skills/review-intent-authoring (all repos)
|
|
@@ -215,9 +217,10 @@ review-intent skill uninstall # remove user-scoped skill
|
|
|
215
217
|
review-intent skill uninstall --local # remove repo-scoped skill
|
|
216
218
|
```
|
|
217
219
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
remove a hand-edited skill file.
|
|
220
|
+
Once the artifact is written the skill tells the agent to *run* `review-intent`
|
|
221
|
+
and open the review — not to ask first, since invoking the skill already means a
|
|
222
|
+
review is wanted. Add `--force` to overwrite or remove a hand-edited skill file.
|
|
223
|
+
User and `--local` scopes are independent.
|
|
221
224
|
|
|
222
225
|
The honesty contract is the point: a fluent rationalization is worse than
|
|
223
226
|
nothing because it lowers the reviewer's guard while adding no signal. The skill
|