Post-hoc review for prose an AI agent has already written. The generation-time rules shipped via CLAUDE.md / AGENTS.md tilt the model; this skill is the opt-in second pass that catches whatever the first pass missed.
| Shape | Behavior |
|---|---|
/style-review FILE |
Audit FILE against all 21 rules. Show per-rule scorecard. Ask the user: "produce a polished draft at FILE.reviewed.md?" On yes, write revised file and print diff. |
/style-review A.md B.md |
A/B compare. Emit per-rule delta. No polish, no ask. Used for benchmarking. |
Mode is inferred from argument count. No flags.
agent-style review --audit-only FILE. Capture the canonical JSON. Mechanical rules (RULE-B, D, G, I, 12, 05, 06) and structural rules (RULE-A, C, E) return concrete violations with line numbers and excerpts.status: "skipped" with detector semantic (RULE-01, 03, 04, 07, 08, 11, F, H), run a per-rule judgment using the rule's directive plus its BAD/GOOD examples from .agent-style/RULES.md as the judge prompt. Parse the host model's response into the same violation schema.references/revision-prompt.md + the violation list + .agent-style/RULES.md. Invoke the host model. Write the output to FILE.reviewed.md. Never touch FILE.agent-style review --audit-only FILE.reviewed.md. Show before → after scorecard.diff FILE FILE.reviewed.md so the user can accept or discard hunks.agent-style review --mechanical-only --compare A.md B.md.No ask, no polish, no file writes. This is the benchmark / regression-check shape.
The revision prompt enforces these in its template (see references/revision-prompt.md):
FILE.reviewed.md. Never in-place.references/rule-detectors.md: per-rule detection approach (mechanical regex + structural heuristics + semantic judge prompts).references/revision-prompt.md: the polish-pass template with hard invariants above.When asked "is style-review active?", reply on one line using this exact format:
style-review active: audit 21 rules (deterministic: RULE-B, D, G, I, 12, 05, 06, A, C, E; semantic via host: RULE-01, 03, 04, 07, 08, 11, F, H); workflow at skills/style-review/SKILL.md.