Command Palette

Search for a command to run...

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

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от 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 N first to file issues.
  • The user wants to claim and curate in one step — that's a /claim-disease then /curate-next chain, 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 /curate flow is long-running and parallel sub-agents past 8 saturate the orchestrator's context.

Workflow

  1. 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.

  2. Resolve the current GitHub user: USER=$(gh api user -q .login). Use that login as the assignee filter and never hardcode a username.

  3. Shortlist with the shared selector. One call does what used to be four hand-run filters:

    just select-issues N --mine --lane new-entry
    
    • --mine keeps issues assigned to the current user and nobody else. An issue assigned to both alice and bob is a team task, even if the current user is alice (ASSIGNED_OTHER); one assigned to nobody is not yours (NOT_MINE).
    • --lane new-entry keeps claim issues: the claim label, or the title Curate <label> (<MONDO_ID>) that /claim-disease writes.
    • The default --prs active drops 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. Run just issue-prs <ISSUE_NUM> to see any issue's PRs on their own.
    • KB_COVERED drops an issue whose MONDO ID or label the KB already curates, using the coverage index tidy-stubs uses. A git grep for the ID is too loose: it also matches a sibling entry's differential_diagnoses, which is not curation, and skipped real candidates that way.
    • OPEN_PR drops an issue when an open PR names its MONDO ID or label.
    • Survivors are ranked oldest first (after any high-priority label), the conventional FIFO for a curation queue, and the first N are the picks. Fewer than N prints SHORTFALL; do not pad. The EXCLUDED block 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, run git pull on main and re-run: KB_COVERED reads the local kb/.

    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, including ORPHA:${ISSUE_NUM}. This produced a false positive in production on issue #2704 (Orphanet ID ORPHA:2704 in PR #1992's body matched #2704).

  4. 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_CLAIM beside it) cannot be passed to /curate safely: skip it and note it in the final report rather than passing a garbled label.

  5. 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 100
    

    The current issue itself is expected in the results. A DOUBLE_CLAIM note 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.

  6. Dispatch /curate in parallel. In a single message, launch N Agent tool calls — one per disease — using subagent_type: general-purpose so each agent has full tool access (Tools: *). claude works too on harnesses that register it as a catch-all type, but general-purpose is 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
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

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

Сравнить curate-next с