Command Palette

Search for a command to run...

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

curate-series

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

Use when asked to curate or review one dismech series by name, usually a series assigned by `just partition-entries --by dismech-series`. A series is a…

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

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

curate-series

Bring one dismech series up to date as a unit. The only input is the series name, exactly as it appears in a just partition-entries --by dismech-series series list (for example Osteogenesis Imperfecta or Bardet-Biedl Syndrome).

A series is one of:

  • a disorder entry with two or more has_subtypes rows (kb/disorders/<Slug>.yaml, matched on its name), together with any other entries those rows point at (curated_in, a shared MONDO term, or a matching name); or
  • a grouping in kb/groupings/ that does not cross-cut another grouping, together with every member entry, including members of groupings nested in it.

A row in the series list can read A + B. That means the two series share an entry and were assigned together. Curate them both, in one session or one after the other.

When to use

  • "Curate the series Osteogenesis Imperfecta"
  • /curate-series Glycogen Storage Diseases
  • A participant working through the series list they were assigned

Skip when:

  • The target is a single disorder with no subtypes. Use /curate <name>.
  • The task is to create or redesign a grouping's criteria. Use curate-grouping. This skill uses that one, but its scope is the members.

Inputs

  • Series name (required). If it matches neither a disorder name nor a grouping name, stop and say so. Do not guess at a near match: two entries can differ only by a subtype qualifier.
rg -l "^name: <Series Name>$" kb/disorders kb/groupings

Workflow

Work in a worktree on a branch of your own (see CLAUDE.md, Use worktrees). Use a fresh session per series. A large series can take several PRs (see step 6).

1. Inventory the series

List what dismech already holds:

  • For a disorder series: the entry, each has_subtypes row (name, subtype_term, genes, curated_in), and every entry the rows point at.
  • For a grouping series: expand members, including nested groupings (just check-groupings kb/groupings/<Slug>.yaml evaluates and prints each member), and note any subtyped member entries inside it.

Write the inventory as a table (member, MONDO ID, gene(s), dismech location: own entry, subtype row, or missing). Every later step works from it.

2. Align with OMIM

Find the matching OMIM phenotypic series, if one exists:

uv run runoak -i sqlite:obo:omim search "l~<series keyword>"     # candidate OMIMPS:nnnnnn
uv run runoak -i sqlite:obo:omim info OMIMPS:<n>
uv run runoak -i sqlite:obo:omim descendants -p i OMIMPS:<n>     # the series' OMIM members

The first sqlite:obo:omim call downloads the OMIM build (about 44 MB compressed, 244 MB unpacked), so expect a pause. In that build the OMIM members of a series are linked to it by rdfs:subClassOf, so descendants -p i lists them. If it returns nothing for a series that info resolves, check the series page on omim.org before concluding the series has no members. An empty result is a fact about the build, not about the series.

Also check the series' MONDO term for an skos:exactMatch to an OMIMPS: identifier. Then compare members both ways:

  • OMIM member with no dismech counterpart. This goes to step 3.
  • dismech member absent from the OMIM series. It may be a non-OMIM disease (acquired, somatic, or not yet in OMIM), a broader or narrower concept, or a misplaced member. Decide which, and say why in the PR.
  • No phenotypic series at all. This is a valid answer. Record it, along with the queries you ran, in the PR body. Do not force a mapping.

When a series matches, record it in mappings.omimps_mappings on the entry or grouping. Use the canonical OMIM series label and choose the predicate after comparing scope (skos:exactMatch for the same family, skos:relatedMatch when equating would overstate it). Write a mapping_justification that names the OMIM members you compared against. CLAUDE.md, Disease Groupings → OMIM phenotypic series, sets the rules. OMIMPS:n and OMIM:n are different records.

3. Every member disorder has an entry

For each member that is missing:

  1. Check it is not curated under another name (rg the MONDO ID and the label across kb/) and that nobody has claimed it (just fetch-claims, then just next-unclaimed or a search of open claim issues).
  2. Decide where it belongs:
    • Its own entry, curated with /curate <name> (the initiate-new-disorder-creation skill). Claim it first with a claim issue (claim-disease).
    • A has_subtypes row on the series entry, when it does not earn a separate entry (CLAUDE.md, Subtype Naming Conventions, and the granularity rules for cancer and infectious disease).
    • A pointer subtype: when a member has its own entry and belongs under the series entry, add a subtype row with curated_in: <file stem>.
  3. For a grouping series, add new entries to members and run just check-groupings. A qualifying entry that i
Полный SKILL.md на GitHub

Установить curate-series в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл curate-series?

Use when asked to curate or review one dismech series by name, usually a series assigned by `just partition-entries --by dismech-series`. A series is a disorder entry with subtypes, or a grouping that is not a thematic cross-cut. Covers aligning the series with its OMIM phenotypic series, making sure every member disorder has an entry, completing each member's phenotypes, and checking subtype assignments, then opening PRs. Takes one argument, the series name.

Как установить скилл curate-series?

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

Скилл curate-series запускает скрипты?

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

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

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