shepherd
БесплатноБез исполняемых скриптовНе проверенUse when asked to shepherd, babysit, monitor, or poll open pull requests or merge requests, including triaging review feedback, CI failures, and routine…
от chrisbanes★ 1 172 звезды на GitHubОб этом скилле
Shepherd
Core principle
Batch each target's actionable feedback into one verified push. Resolve addressed threads after replying and pushing. Merge only with authority.
Procedure
Identify the platform from
git remote get-url origin. Useghfor GitHub orglabfor GitLab. Escalate ambiguous targets or platforms. For a one-off inspection or no open targets, report the state and stop. Project controllers and ticket agents follow Project waiting rules. Otherwise, when the host offers PR event wakes, load its monitor tools (including deferred tools such as Claude Desktop'sccd_pr) and follow host-managed monitoring.Establish targets and a handled-ID snapshot. Every external comment, review, or thread absent from that snapshot is new, including pre-session feedback. After each poll record feedback IDs, CI state, and this controller's comments. For a
deliver-issuePR, send the finding, current head and delivery record to delivery to resumeimplement-with-subagents. Use the reviewed repair for the next push. Return scope changes for replanning. For other PRs, retain the implementation owner and reuse the delivery record or PR snapshot. Verify scope, base/head, prior verdicts, findings and dispositions. Mark missing evidence unknown. Only when no workflow owner exists may the authorized controller take a repair. Verify the target checkout, head and absence of competing writers, then record that decision before edits or handoff. Never infer ownership from commit authorship. Hold writes on an unresolved claim or unavailable owner until prior work is reconciled and writers are quiescent. A read-only audit can inspect the frozen candidate meanwhile. Report uncertainty and preserve publication gates. Reconcile applicable current-head review initiation under PR review timing on acquisition and relevant wakes, even without repairs; one-off inspections stay read-only.Read routine evidence in the controller. Delegate only a specific diagnostic question about a large failed CI log to a read-only helper. Use the handoff reference. Supply the target, head, failed job, log and question. Request a diagnosis with log references and uncertainty. Keep monitoring and remote actions with the authorized controller.
Compare complete reviews, comments and checks against the snapshot using provider commands. Under host monitoring, read once per wake. Act only on new evidence and skip status-only comments.
Triage new evidence before remote mutation. Verify review comments as hypotheses rather than treating bot severity labels as mandatory inline fixes. Fix verified in-scope defects and narrow formatting, lint, compile, or test failures; answer clear questions in-thread. Apply Behavioral review and repair for hypothesis dispositions, pre-patch altitude checks, related boundary cases, convergence audits,
rethinkrouting, review coverage and browser failure evidence. Use the reporting context and repair owner resolved in step 2; the authorized controller retains remote mutations. Escalate material maintainer direction, architectural or contradictory feedback, unfamiliar failures, non-obvious fixes, and out-of-scope conflicts. Classify GitLab manual jobs using the provider's candidate checks in step 4.Repair each target in its own head checkout, in this order:
- Inspect the failed log and identify local equivalents from the check configuration. If evidence is missing, request the exact check name, log, PR diff, head and configuration. Identify unavailable or unknown checks.
- Batch the fix with that target's clear review requests. Run affected CI-equivalent checks on the required host and reuse still-valid evidence. Broaden checks when impact is unknown.
- Run required full checks on the integrated candidate. Required CI on the pushed head may supply the same suite when repository and provider rules allow it. That CI gates acceptance and merge. Use focused checks for slice commits unless a wider check is required there. Use CI to confirm the locally verified integrated repair, never as an iterative test runner.
- Renew affected checks and independent review on each changed head under PR review timing. Push once all pre-push requirements pass. Use CI to confirm the repair. Reply to the finding and resolve only after the reply and any required push succeed. Resolve automated bot threads declined or deferred with primary evidence the same way; for a declined or deferred human reviewer thread, reply with the evidence and leave the thread unresolve
Установить shepherd в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл shepherd?
Use when asked to shepherd, babysit, monitor, or poll open pull requests or merge requests, including triaging review feedback, CI failures, and routine follow-up.
Как установить скилл shepherd?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл shepherd запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub