/brooks-sweep
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
One skill from brooks-lint.
shell
$ npx -y skills add hyhmrright/brooks-lint --skill brooks-sweep --agent claude-codeInstalls just this skill. Get the whole plugin for auto-invocation.
How it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/brooks-sweep
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
Stats
Stars1,248
Forks59
LanguageJavaScript
LicenseMIT
Ships with brooks-lint
SKILL.md
brooks-sweep.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. --- # Brooks-Lint โ Full Sweep & Auto-Fix ## Setup 1. Read `../_shared/common.md` for the Iron Law, Project Config, Report Template, and Health Score rules 2. Read `../_shared/source-coverage.md` for book-level coverage, exceptions, and tradeoffs 3. Read `../_shared/decay-risks.md` for production risk symptom definitions 4. Read `../_shared/test-decay-risks.md` for test risk symptom definitions 5. Read `sweep-guide.md` in this directory for the unified scan and fix process
