Skip to content
Back to skills

Brooks Sweep

ASecurity

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user wants to "fix everything", "sweep the codebase", "auto-fix all issues", "clean up the whole project", or asks for a single command that both diagnoses and remediates quality problem...

  • 1,597 stars
  • 0 votes
  • 1 copy
  • 4 views
  • Added May 26, 2026
developmentkubernetesdatabase

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 16, 2026

npx -y skills add hyhmrright/brooks-lint --skill brooks-sweep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Brooks Sweep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Brooks Sweep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hyhmrright-brooks-sweep/badge)](https://www.skillsdirectory.com/skills/hyhmrright-brooks-sweep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: brooks-sweep
description: >
  Full-sweep mode: runs a unified analysis across all quality dimensions — code decay,
  architecture, tech debt, and test quality — then applies fixes directly to the
  codebase. Safe changes are auto-applied; risky changes are confirmed before
  execution. Drawing on twelve classic engineering books.
  Triggers when: user wants to "fix everything", "sweep the codebase", "auto-fix all
  issues", "clean up the whole project", or asks for a single command that both
  diagnoses and remediates quality problems.
  Do NOT trigger for: read-only audits or health reports where the user only wants
  findings without code changes; single-dimension reviews (use the focused skill
  instead: brooks-review / brooks-audit / brooks-debt / brooks-test); server health
  checks, HTTP /health endpoints, Kubernetes probes, database health, or application uptime.
metadata:
  opencode/slash: "true"
---

# Brooks-Lint — Full Sweep & Auto-Fix

## Setup

Read in order:

1. `../_shared/common.md` — Iron Law, Project Config, Report Template, Health Score
2. `../_shared/source-coverage.md` — book coverage, exceptions, tradeoffs
3. `../_shared/decay-risks.md` — production risk symptoms
4. `../_shared/test-decay-risks.md` — test risk symptoms
5. `sweep-guide.md` (this directory) — the unified scan and fix process
6. Read each focused guide at its pass: `../brooks-review/pr-review-guide.md`,
   `../brooks-test/test-guide.md`, `../brooks-debt/debt-guide.md`,
   `../brooks-audit/architecture-guide.md`, then `../brooks-health/health-guide.md`

## Process

**Scope:** if the user did not specify a project or directory, apply Auto Scope Detection
(`../_shared/common.md`) first.

1. Confirm scope and existing edit authorization; obtain approval only if missing (Step 0 of the guide)
2. Enumerate scope and initialize pipeline state (Step 1 of the guide)
3. Run the four dimensions in sequence — review, test, debt, audit — each scanning, classifying, fixing, and verifying (Steps 2–5 of the guide)
4. Iterate over modified files and their consumers until a clean round or the cap (Step 6 of the guide)
5. Aggregate residuals, run the health dashboard from the final snapshot, and output the Full Sweep Report (Steps 7–8 of the guide)

**Mode line in report:** `Full Sweep`

Files in this skill

  • SKILL.md2.3 KB
  • sweep-guide.md12.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.