addlightness-reviewlisted
Install: claude install-skill 88plug/addlightness
# /addlightness-review -- read-only weight report
Measure code weight and surface removable "fat" candidates. This is the
**diagnostic** half of addlightness: it reports, it never edits. For actual
trimming use `/addlightness`; for performance numbers use `/addlightness-bench`.
## Scope -- READ-ONLY
**This skill NEVER modifies files.** It reads, measures, and reports. Period.
- No `Edit`, no `Write`, no in-place fixes, no "I went ahead and removed it".
- Output is a report the human reads and decides on.
- If the user wants the trims applied, tell them to run `/addlightness <file...>`
(which spawns the edit-capable `code-trimmer` agent behind an equivalence gate).
- When in doubt, do less: describe the candidate, do not touch the code.
Repeat this contract back to the user if they ask you to "just fix it" here --
review reports, `/addlightness` edits.
## How to run
For each target file, get its weight metrics from the zero-dependency engine.
Two equivalent paths -- prefer the agent for multi-file work, the direct call
for a single quick read:
1. **Via the agent (preferred for >1 file or a fat-candidate narrative):**
spawn the `weight-analyst` agent. It is read-only by contract (its prompt
forbids mutating Bash commands; it has no Edit/Write) and returns the metrics
table plus a ranked fat list and a KEEP list. The agent analyzes one file per
invocation — spawn one weight-analyst invocation per file and aggregate the
JSON yourself.
2. **Direct (single