Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

donate-curation

БесплатноБез исполняемых скриптовНе проверен

Donate this Claude Code instance to dismech curation on a recurring local window (e.g. "8pm-12am every day"). Runs as an Anthropic cloud routine on the user's…

monarch-initiativeот monarch-initiative★ 77 звёзд на GitHub

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

donate-curation

Donate this Claude Code instance to dismech curation for a timeframe the user chooses. The skill produces PRs and keeps them unblocked during the window; the production pr-shepherd automation carries the long tail (review re-request, the deterministic auto-merge sweep) after the window closes.

Active concurrency is 1 in this version. The skill works one disease at a time and claims a new one only when no PR of the user's still needs the user's own work. Parked PRs (awaiting review, or approved+green waiting to auto-merge) may accumulate harmlessly; they do not block the next disease. The 8-parallel design that /curate-next supports is a deliberate later scale-up.

The skill never merges, dismisses reviews, or self-approves. Those are the reviewer's and the auto_merge_ready_prs.py sweep's job.

For a plain-language walkthrough aimed at a non-technical user (what to type, what happens each night, how to stop it), see docs/schedule-donation.md. This file is the technical orchestrator spec.

This skill composes the Claude Code cloud-routine API (RemoteTrigger) — the same mechanism as the built-in schedule skill — but wired to the dismech curation loop specifically. It is named donate-curation, not schedule, on purpose: a project skill named schedule collides with the built-in one, and /schedule resolves to the built-in generic routine-creator (which asks "what should the agent do?") rather than to this fixed claim→curate→PR loop. Always invoke it as /donate-curation.

Commands

  • /donate-curation — run once, now: reconcile against GitHub and either finish the one item that needs the user's work or (if nothing does) claim and curate one disease. No routine is registered.
  • /donate-curation <window> [<recurrence>] [for <expiry>] — register a recurring cloud routine for the window (see Schedule syntax), after a one-off proving fire.
  • /donate-curation status — show the active routine (cron / window / expiry) and the one in-flight item's state.
  • /donate-curation stop — disable the recurring routine and print the hard-delete link.

The one rule everything hangs on

Every invocation — manual /donate-curation, or a scheduled cloud fire — begins by reconciling against GitHub, which is the only state (there is no local ledger to go stale). The gate for claiming a new disease is:

No PR of the user's still needs the user's own work, and no un-PR'd claim issue exists.

A PR needs my work when it is CHANGES_REQUESTED, failing a required check, or conflicted. A PR does not need my work — it is parked — when it is awaiting review (green/pending checks) or approved + green waiting only for the auto-merge sweep. An un-PR'd claim issue always needs my work (a prior fire that crashed before pushing — resume it).

"Needs my work" is not "I can hand this off." The loop is an unattended curation hand-off, so a needs-work PR is either actionable (a routine curation fix the fire attempts) or deferred to the author (reported, never attempted). The reconcile module decides this from evidence the fetch passes it:

  • Deferred — a human (non-bot) reviewer requested changes. Their call is a design judgement the author owns. The automated reviewer (*[bot]) requesting changes is still actionable.
  • Deferred — the PR changes non-curation files (src/, tests/, scripts/, .github/, .claude/, conf/, docs/, CLAUDE.md, a *.justfile, …). A curation hand-off edits KB content; a code / schema / tooling / docs PR goes to the author.
  • Actionable — everything else that needs work: a bot-reviewer round, a failing check, or a conflict on a PR whose diff is pure KB content.

Only an actionable needs-work PR (or an un-PR'd claim issue) blocks a new claim. A deferred PR is the author's now, so it does not block the loop — it is surfaced each fire and left alone.

This classification is a pure, unit-tested function, not prose to re-interpret each run. Do not hand-classify PRs; call the module, and pass it the reviews and files it needs to make the deferral call.

Step 1 — reconcile (every invocation)

Fetch the user's in-flight work and classify it with dismech.schedule.reconcile:

# reviews (per-author state, to tell a human reviewer from the bot) and files
# (to tell a curation PR from a code one) feed reconcile's actionable/deferred
# call. `gh pr list --json` is a GraphQL call; if GraphQL is blocked in a
# session, use the REST fallback below.
gh pr list --author @me --state open \
  --json number,title,url,headRefName,reviewDecision,mergeable,statusCheckRollup,reviews,files \
  > /tmp/schedule_prs.json
# If a build's `gh` omits reviews/files from `pr list`, fill each PR in with:
#   gh api repos/$REPO/pulls/$N/reviews  --jq '[.[]|{state,login:.user.login}]'   # -> .revie
Полный SKILL.md на GitHub

Установить donate-curation в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл donate-curation?

Donate this Claude Code instance to dismech curation on a recurring local window (e.g. "8pm-12am every day"). Runs as an Anthropic cloud routine on the user's own subscription; each fire reconciles against GitHub and either finishes the one item that still needs the user's work or, if nothing does, claims and curates one new disease. Also `/donate-curation` (run once now), `/donate-curation status`, `/donate-curation stop`. Active concurrency is 1.

Как установить скилл donate-curation?

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

Скилл donate-curation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить donate-curation с