curate-next
БесплатноБез исполняемых скриптовНе проверенUse when asked to curate the next N disease curation issues already assigned to the current GitHub user. Filters open issues to those where the user is the…
от monarch-initiative★ 77 звёзд на GitHubОб этом скилле
curate-next
Curate the next N disease curation issues that are assigned solely to the current GitHub user and not yet covered by a PR. Dispatches /curate in parallel — one agent per disease.
When to use
- "Curate my next 3 diseases"
- "/curate-next 5"
- "Take the next available curation assignments off my plate"
Skip when:
- The user names a specific disease — invoke
/curate <name>directly instead. - The user has no open curation assignments — invoke
/claim-disease Nfirst to file issues. - The user wants to claim and curate in one step — that's a
/claim-diseasethen/curate-nextchain, not this skill alone.
Inputs
- Required positional argument N: number of diseases to curate in parallel. Must be a positive integer between 1 and 8 inclusive.
- Invoked as
/curate-next 3. If N is missing, non-integer,<= 0, or> 8, stop and ask the user to clarify rather than guess. The cap exists because each/curateflow is long-running and parallel sub-agents past 8 saturate the orchestrator's context.
Workflow
Validate N. Parse the positional argument. Reject if missing, non-integer,
<= 0, or> 8— ask the user rather than silently capping. Never default to a value the user did not provide.Resolve the current GitHub user:
USER=$(gh api user -q .login). Use that login as the assignee filter and never hardcode a username.Shortlist with the shared selector. One call does what used to be four hand-run filters:
just select-issues N --mine --lane new-entry--minekeeps issues assigned to the current user and nobody else. An issue assigned to bothaliceandbobis a team task, even if the current user isalice(ASSIGNED_OTHER); one assigned to nobody is not yours (NOT_MINE).--lane new-entrykeeps claim issues: theclaimlabel, or the titleCurate <label> (<MONDO_ID>)that/claim-diseasewrites.- The default
--prs activedrops an issue that an open PR will close or is linked to (PR_ACTIVE), from GitHub's own link and cross-reference records. A merged PR on a still-open issue is shown, not hidden. Runjust issue-prs <ISSUE_NUM>to see any issue's PRs on their own. KB_COVEREDdrops an issue whose MONDO ID or label the KB already curates, using the coverage indextidy-stubsuses. Agit grepfor the ID is too loose: it also matches a sibling entry'sdifferential_diagnoses, which is not curation, and skipped real candidates that way.OPEN_PRdrops an issue when an open PR names its MONDO ID or label.- Survivors are ranked oldest first (after any
high-prioritylabel), the conventional FIFO for a curation queue, and the first N are the picks. Fewer than N printsSHORTFALL; do not pad. TheEXCLUDEDblock gives the reason for every issue left out; carry it into the final report.
If the selector prints a NOTE that the checkout is behind
origin/main, rungit pullon main and re-run:KB_COVEREDreads the localkb/.Do NOT use
gh pr list --search "closes #${ISSUE_NUM}"as a PR-link check. GitHub's free-text search matches the literal string#${ISSUE_NUM}anywhere in a PR body or commit, includingORPHA:${ISSUE_NUM}. This produced a false positive in production on issue #2704 (Orphanet IDORPHA:2704in PR #1992's body matched#2704).Extract the disease label and MONDO ID from each title. Titles follow
Curate <label> (<MONDO_ID>); the selector prints the MONDO ID under each pick. A claim with no MONDO ID in its title (UNKEYED_CLAIMbeside it) cannot be passed to/curatesafely: skip it and note it in the final report rather than passing a garbled label.Search other issues for the same disease. The selector checks the KB and open PRs; it does not search other issues. Before dispatch:
gh issue list --repo monarch-initiative/dismech --state all \ --search "\"<MONDO_ID>\" OR \"<label>\"" \ --json number,title,state,url,labels --limit 100The current issue itself is expected in the results. A
DOUBLE_CLAIMnote beside a pick means another open claim already has the same MONDO ID. Skip the candidate if another issue already covers the same disorder, and report the skip.Dispatch /curate in parallel. In a single message, launch N Agent tool calls — one per disease — using
subagent_type: general-purposeso each agent has full tool access (Tools: *).claudeworks too on harnesses that register it as a catch-all type, butgeneral-purposeis the canonical name across harnesses; prefer it for portability. Each agent's prompt MUST:- State the disease label and MONDO ID verbatim.
- State that the duplicate preflight against the latest KB, open PRs, and all issues has already been performed, and tell the agent to repeat it before writing files if its worktree
Установить curate-next в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл curate-next?
Use when asked to curate the next N disease curation issues already assigned to the current GitHub user. Filters open issues to those where the user is the sole assignee and no PR exists yet, picks the first N, then dispatches /curate in parallel for each. Accepts a positional integer N between 1 and 8.
Как установить скилл curate-next?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл curate-next запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic