← ClaudeAtlas

descope-sweeplisted

Sweep every one of the user's repos for stale references to something that was cut, renamed, ported, or scrapped (a dropped dependency, a superseded metric, a language/framework port, a rejected experiment, a renamed contract) — covering not just the obvious docs but the long tail (ADRs, .env.example, KB stubs an agent might index and speak, the sources of generated docs, stale metric cells, SYS-NNN/ADR-NNN ranges). Invoke via /descope-sweep <old-term> <what-it-changed-to>, or when the user mentions something was cut/replaced/ported and wants references cleaned up. Do NOT use for a single-file rename inside one PR — just fix that inline. This is for changes that cross, or could plausibly cross, repo boundaries.
sanlee-ys/agent-ops · ★ 0 · AI & Automation · score 62
Install: claude install-skill sanlee-ys/agent-ops
# De-scope sweep Codified as an architecture decision record (documentation-cascade). The pattern that keeps recurring: a de-scope correction lands cleanly on the primary surface (a top README, a repo description) and quietly survives everywhere else — ADRs, `.env.example`, KB stubs that get indexed and spoken by an agent, the source files that generate docs (portal source, docs-site bodies, diagram data), stale metric cells, and numbered ranges that don't grow. A full cross-repo audit found exactly this months after a dependency cut and a language port. The fix is a sweep that treats the long tail as the point, not an afterthought. ## How to run it 1. **Confirm the reconciliation target, not just the old term.** Get both sides from the user if they aren't already obvious: what's being searched for (e.g. "Kafka"), and what the *current truth* is to reconcile each hit against (e.g. "dropped, replaced by an in-process background task"). Don't guess the architecture decision. 2. **Sync before you grep.** Local clones can be stale — `git fetch`/`git pull` every repo before trusting what's on disk. For a repo with no local clone, search the remote directly rather than skipping it. 3. **Cast wide.** Grep every repo, but deliberately check these categories, not just READMEs — this is where past sweeps missed: - Top-level docs (README, CLAUDE.md) - ADRs / decision records (each repo's `decisions/`, the architecture repo's numbered decision docs) -