agentleFS
AnmarHaniAnmarHani/SwarmVault/skills/swarm-review/SKILL.md

swarm-review

Skill5 starsChanged 4 months agoMITView on GitHub

Milestone review sweep — a strong model audits everything since the last sweep against the spec: requirement fulfillment, standards, simplification, risk. Use when a milestone's tickets are done, before opening the next milestone, or when asked to review/audit/validate completed work.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Update flow-state either way (J1).

    line 52

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

swarm-review — the milestone gate

Reviews against the spec, not just the code — that is the difference between this and a linter. Expect a top-tier model; warn if the session runs less. Milestone cadence only (token economy): not per-commit.

Scope: the milestone's diff (git log since last sweep), its tickets, and its FR specs.

The four lenses, in order

  1. Fulfillment (the one that matters most): every Must-FR of the milestone, individually — no sampling. Are the acceptance criteria actually met? Do the tests assert the criteria (not just execute the code)? Is the FR → ticket → commit → test chain intact?
  2. Standards: naming, error handling (exceptions handled, not swallowed), comment discipline (light, constraint-stating), test quality (behavior asserted, not implementation), commit hygiene — audited against swarm-implement's references/clean-code.md where available, including its dogma traps: fragment soup, one-implementation abstractions, pattern theater, and SRP shrapnel are findings, not compliance. End-user text shipped in the milestone (UI strings, README, release notes, marketing) is audited against the project's voice.md and the audience firewall — load swarm-write for the criteria.
  3. Simplification: duplicated logic to merge, needless abstraction to delete, blocks that could be simpler or generalized. If a fix is obvious and small, still ticket it — see the rule below.
  4. Risk: input validation gaps, security smells, and a devil's-advocate pass — "what assumption, if wrong, hurts most?"

Findings

One per issue, compact (machine lane): severity (blocker/major/minor), FR link, file:line evidence, concrete suggested fix. Write the report to 30 Plans/<P>/reviews/M<N>-sweep.md (human-lane summary + machine-lane findings), then one ticket per accepted finding — findings that stay chat messages die in scrollback.

Never auto-fix. Reporting and fixing in the same pass corrupts the review; fixes are swarm-implement's job via the tickets.

Closing the gate

  • Gated mode: present the report; the user decides what's waived; milestone closes on their word.
  • Auto mode: the sweep IS the gate — blocker/fulfillment findings must be fixed and re-swept before the next milestone opens; the user reads the report in the vault at their leisure. Minor findings may carry forward as open tickets.

Update flow-state either way (J1).


Influences: Pocock's code-review (two-axis); Jeffallan's code-reviewer & security-reviewer & the-fool; superpowers verification-before-completion; euxx code-simplifier — see CREDITS.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.