← ClaudeAtlas

sweeplisted

Systematic codebase sweeps: cleanup, quality passes, coverage improvements, docs-sync. Absorbs the old cleanup circuit and ratchet workflow. Phases: Frame -> Survey -> Queue/Triage -> Batch execute -> Verify -> Deferred review -> Close. Scans broadly, triages by confidence x risk, batches by risk order, defers ambiguous cases.
petekp/circuit · ★ 2 · Code & Development · score 71
Install: claude install-skill petekp/circuit
# Sweep Cleanup, quality passes, coverage sweeps, docs-sync. The maintenance workflow. ## Phases Frame -> Survey -> Queue/Triage -> Batch execute -> Verify -> Deferred review -> Close ## Entry The router passes: task description, rigor profile (Lite, Standard, Deep, Autonomous), and sweep objective (cleanup, quality improvement, coverage, docs-sync). **Direct invocation:** When invoked directly via `/circuit:sweep` (not through the router), bootstrap the run root if one does not already exist: Derive `RUN_SLUG` from the task description: lowercase, replace spaces and special characters with hyphens, collapse consecutive hyphens, trim to 50 characters. Example: "Dead Code Cleanup Sprint" produces `dead-code-cleanup-sprint`. ```bash RUN_SLUG="dead-code-cleanup-sprint" # derived from task description RUN_ROOT=".circuit/circuit-runs/${RUN_SLUG}" mkdir -p "${RUN_ROOT}/artifacts" "${RUN_ROOT}/phases" ln -sfn "circuit-runs/${RUN_SLUG}" .circuit/current-run ``` Write initial `${RUN_ROOT}/artifacts/active-run.md` with Workflow=Sweep, Rigor=Standard (or as specified), Current Phase=frame. If the router already set up the run root, skip bootstrap and proceed to the current phase. ## Phase: Frame Write `artifacts/brief.md`: ```markdown # Brief: <sweep objective> ## Objective <what we are sweeping for and why> ## Sweep Type <cleanup | quality | coverage | docs-sync> ## Scope <target directory, modules, or repo-wide> ## Output Types <code, tests, docs -- check all that apply>