Command Palette

Search for a command to run...

Назад к скиллам
скилл № 65870

Repo Sweep

Run the hygiene catalog through one repo on one branch and resumable draft PR checklist (one commit per step, `/clear` between steps). Actions: `plan`…

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Repo Sweep в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

repo-sweep

Runs the skills in catalogs/hygiene.md, in file order, against the current repository. The catalog is the only home for which skills run, their order, arguments, applies-when tests, default checked state, and override text; changing a sweep means editing the catalog.

Invocation

Invocation Action Procedure
/playbooks:repo-sweep plan Recommend per entry, open the selection page, create the sweep branch and draft PR reference/plan.md
/playbooks:repo-sweep next Run the first unticked step: audit, review findings with the user, fix, one commit, tick reference/next.md
/playbooks:repo-sweep review Ask the user what went wrong, dispatch an independent reviewer on the last step, merge both lists, audit and file each problem after approval reference/review.md

No argument: run ${CLAUDE_SKILL_DIR}/scripts/state.sh (below). Exit 10 or 11 means plan; exit 0 means next. Say which you chose.

Read the matching procedure file before acting. Each action runs in a fresh session: next and review rebuild all state from the PR body and the branch, never from the conversation.

Sweeps run in worktree-isolated sessions. In procedures, call scripts by path (S/state.sh, not bash S/state.sh; they are executable) and run each git command as its own Bash invocation. File issue bodies from a path, not from stdin.

Record. Claim: a worktree-isolated session refused bash <script>, a chained git fetch ... && git merge --ff-only ..., and gh issue create --body-file - fed from a heredoc whose text mentioned git; direct script paths, one git command per call, and a body file were accepted. Basis: observed during the melodic-software/.github sweep (PR melodic-software/.github#153), recorded in #4537. Release notes have since changed which Bash forms isolation refuses, but neither the section below nor the release notes read through Claude Code 2.1.296 name these three forms, so all three stay unverified and the conservative procedure stays. Not re-probed in a live isolated session. The procedure files point here for these three forms; /source-control:worktree (if enabled) owns the general accepted shapes, under "Accepted command shapes for body-time and subagent Bash".

Scripts

All under ${CLAUDE_SKILL_DIR}/scripts/. Invoke by path, not through bash. Exit 2 is a usage error everywhere; codes 10 and up carry the meanings below; any other non-zero code is a failed gh, git, or jq call.

Script Does Exit codes
catalog.sh <catalog> TSV per entry: id, phase, skills, args, checked, issue, applies-when, prime (false skips orchestrate/use-your-skills in next). --override <id> / --notes <id> print that block 1 duplicate id, entry with no - skill: line, unknown id
skill-version.sh [--dir <loaded-dir>] <skill>... <skill>@<version>. plugin:skill: with --dir before it, the version of the copy the session loaded, from the nearest plugin.json or the plugin cache path, naming on stderr a version that differs from the install record; else the installed plugin's version, @unknown when not installed. REPO_SWEEP_PLUGIN_DIRS (colon-separated, as passed to --plugin-dir) overrides the install record. Bare name: @personal or @project when a skill of that name there replaces the bundled one, else @builtin-<claude --version>, @unknown when that prints none 2 --dir with no value or no skill after it
history.sh <catalog> TSV id, recommendation (run, rerun, rerun-optional), reason, from merged sweep PRs then Playbook-Step trailers 1 catalog error
render.sh --checklist <catalog> <selection-line> [<recs-tsv>] The PR checklist block plus Not run: 1 bad id, selection, or TSV
render.sh --page <catalog> <recs-tsv> The filled selection page on stdout 1 as above, or template missing
state.sh key value lines: pr, branch, pr-state, mergeable CONFLICTING, playbook, dirty, untick-committed <id> <sha> <skill@version>..., done-unverified <id>, next <id> in-progress|pending, sweep <n> <branch> 0 next step found; 1 no markers, or the open-PR listing reached its limit; 10 no sweep PR; 11 PR merged or closed; 12 dirty tree, step pending; 13 all done; 14 one open sweep on another branch; 15 several open sweeps
tick.sh <id> in-progress / [--partial <detail>] committed <sha> <skill@version>... / `[--partial
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • catalogs/hygiene.md
  • evals/evals.json
  • reference/next.md
  • reference/plan.md
  • reference/review.md
  • reference/send-user-file.md
  • scripts/apply-branding.mjs
  • scripts/catalog.sh
  • scripts/catalog.test.sh
  • scripts/guard.sh
  • scripts/guard.test.sh
  • scripts/history.sh
  • scripts/history.test.sh
  • scripts/render-branding.test.mjs
  • scripts/render-branding.test.sh
  • scripts/render.sh
  • scripts/render.test.sh
  • scripts/skill-version.sh
  • scripts/skill-version.test.sh
  • scripts/state.sh
  • scripts/state.test.sh
  • scripts/tick.sh
  • scripts/tick.test.sh

FAQ

Что делает скилл Repo Sweep?

Run the hygiene catalog through one repo on one branch and resumable draft PR checklist (one commit per step, `/clear` between steps). Actions: `plan` (selection page, draft PR), `next` (first unticked step), `review` (file last-step skill defects). Use when: 'repo sweep', 'run the hygiene playbook', 'next sweep step'.

Как установить скилл Repo Sweep?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Repo Sweep запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Repo Sweep с