trim-spec

Installation
SKILL.md

Trim Spec

A long spec is usually not verbose — it is duplicated. The same rule sits in a decision, in the outline, and in an AC, and the copies have drifted apart. The method is one column, restated_at: for every claim, where else is this stated?

Input

  • Target — a file path or a spec folder (meta/specs/NNN-slug/), trimmed in place.
  • Precondition — a consistency audit has run on this target. If not, run one first (the reviewer agent, criteria: any two statements of one rule that disagree). De-duplicating an unaudited doc can delete the correct copy and keep the stale one.
  • Class — PIPELINE when another skill greps this file, else STANDALONE. The class decides the shape answer in Step 2 and whether Step 4's anchor pass runs.

Steps

Step 1 — Inventory every claim, extract only

Fan out general-purpose agents partitioned by section (3 for ~700 lines). Each returns one row per normative claim:

claim | at | type | restated_at | conf
Installs
6
GitHub Stars
4
First Seen
Jul 30, 2026
trim-spec — preetamnath/agent-skills