Tooluck logoTooluck
SKILL.md

brooks-sweep

Agent skill fromhyhmrright/brooks-lint

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.

How to install brooks-sweep

install brooks-sweep
# install the brooks-lint pack with the skills CLI
npx skills add hyhmrright/brooks-lint

# or add only this skill to Claude Code: copy the folder

skills/brooks-sweep/

# into

~/.claude/skills/brooks-sweep/ (all projects)

.claude/skills/brooks-sweep/ (one project)

skills/brooks-sweep/SKILL.md

MITFull file
1# Brooks-Lint — Full Sweep & Auto-Fix
2
3## Setup
4
5Read in order:
6
71. `../_shared/common.md` — Iron Law, Project Config, Report Template, Health Score
82. `../_shared/source-coverage.md` — book coverage, exceptions, tradeoffs
93. `../_shared/decay-risks.md` — production risk symptoms
104. `../_shared/test-decay-risks.md` — test risk symptoms
115. `sweep-guide.md` (this directory) — the unified scan and fix process
12
13## Process
14
15**Scope:** if the user did not specify a project or directory, apply Auto Scope Detection
16(`../_shared/common.md`) first.
17
181. Show the pre-flight consent notice and wait for one-time approval (Step 0 of the guide)
192. Enumerate scope and initialize pipeline state (Step 1 of the guide)
203. Run the four dimensions in sequence — review, test, debt, audit — each scanning, classifying, fixing, and verifying (Steps 2–5 of the guide)
214. Iterate over modified files and their consumers until a clean round or the cap (Step 6 of the guide)
225. Aggregate residual and unresolvable items and output the Full Sweep Report (Steps 7–8 of the guide)
23
24**Mode line in report:** `Full Sweep`

Excerpt shown under the repository's MIT license.

More skills in brooks-lint

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates