curate-grouping
БесплатноБез исполняемых скриптовНе проверенCreate, edit, review, or audit dismech disease groupings in kb/groupings/*.yaml. Use for Grouping records, member unions, grouping_basis and…
от monarch-initiative★ 77 звёзд на GitHubОб этом скилле
Curate a Disease Grouping
Treat kb/groupings/ as the source of truth. A grouping is an explicit curated
union of already-distinct diseases, modules, or other groupings. It validates
against Grouping, not Disease, and points down by listing members; it does
not recreate the MONDO hierarchy.
Discover relevant examples
rg --files kb/groupings -g "*.yaml" | sort
rg -il "<disease family or mechanism>" kb/groupings
sed -n "1,160p" kb/groupings/Mucopolysaccharidoses.yaml
Use Mucopolysaccharidoses for a NECESSARY criteria example and
Inherited_Arrhythmia_Syndromes for nested boolean logic with
NECESSARY_AND_SUFFICIENT criteria. Inspect the current YAML rather than
copying a static catalog.
Define the boundary
- Set
name, optionaldisplay_name,creation_date,description,grouping_basis,grouping_rationale,membership_criteria, andmembers. - Use
grouping_basisto record why the members belong together; inspect the schema for current enum values rather than inventing one. - Explain the lump/keep-split boundary in
grouping_rationale. A grouping sits over distinct entities, so do not put aLUMPflag on it. - An optional MONDO mapping is a cross-reference, not the source of membership.
Model membership criteria
Each membership_criteria block needs a human-readable description. Its
optional logic is a LogicalCriterion tree:
- Branch nodes use
operator: AND,OR, orNOTwithoperands. - Leaf nodes use
criterion_predicateand the matching payload:HAS_PHENOTYPE,HAS_GENE,CONFORMS_TO_MODULE,HAS_BIOLOGICAL_PROCESS,HAS_MOLECULAR_FUNCTION,HAS_CLASSIFICATION,HAS_INHERITANCE,HAS_MAPPING, orOTHER.Channelopathiesis the workedHAS_MOLECULAR_FUNCTIONexample: a NECESSARY GO activity criterion alongside a NECESSARY_AND_SUFFICIENT classification-tag criterion. AHAS_MOLECULAR_FUNCTIONcriterion checks the GO terms each entry curates, not the GO annotations of its causal genes. After adding or editing one, runjust grouping-gene-go-audit --grouping <name>(network, report-only) to see whether each member's causal genes carry the activity, either in GO's annotations or as a core function in their ai-gene-review review. AnUNSUPPORTEDmember is a lead: the member may not belong, its gene may not be reviewed yet, or the activity may sit on another gene. - Use
negated: trueto negate a leaf when clearer than aNOTbranch.
Choose criteria_semantics deliberately:
NECESSARY: member => criteria. Audit listed members for contradictions.SUFFICIENT: criteria => member. Discover candidate additions.NECESSARY_AND_SUFFICIENT: both directions; the criteria define membership.
Do not encode an acknowledged exception to a necessary condition. A listed member that fails a necessary criterion is a contradiction to resolve by correcting the member annotation, criterion, or membership.
HP and GO leaves are evaluated over is_a/part_of ontology closure;
HAS_GENE remains exact. The closure is read from the committed
cache/closure/<prefix>.csv files, so the audit is offline and deterministic.
A criterion term with no cached closure evaluates to UNKNOWN (never a
downgraded exact match, which would report false contradictions) and fails
--strict. After adding or changing an HP or GO criterion term, run
just build-grouping-closure-cache and commit cache/closure/; never
hand-edit those files. The cache is a snapshot: if a member's term was added
to the ontology after the last build it reads NOT_SATISFIED, so run
just build-grouping-closure-cache --refresh after an ontology release before
calling such a finding a contradiction. State the criterion at the intended
conceptual level rather than compensating for a missing annotation.
Add members and differentiators
Grouping members are diseases, named disease subtypes, or nested disease
groupings. Do not add a mechanism module as a member. Use a module reference
inside membership criteria or a differentiating mechanism when the module helps
define or distinguish diseases; use a ModuleCollection in
kb/module_collections/ when the task is to organize modules themselves.
members[].membermust resolve to a realDisease.nameor grouping name according tomember_type;SUBTYPEmembers name their parent disease.- Every referenced module and optional
#Node Namemust exist. - Use
differentiating_mechanismsfor what distinguishes a member from its siblings; bind genes, phenotypes, processes, or modules when appropriate. - Keep grouping names unique.
Nest a grouping inside another
A grouping can list another grouping as a member with member_type: GROUPING.
That declaration is the only source of hierarchy: the index page's tree, a
grouping page's "Where this grouping sits" strip, and the evaluator all read it
and nothing else (no MONDO inference).
- Nest only when every disease member of the child
Установить curate-grouping в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл curate-grouping?
Create, edit, review, or audit dismech disease groupings in kb/groupings/*.yaml. Use for Grouping records, member unions, grouping_basis and grouping_rationale, membership_criteria boolean logic, criteria_semantics, differentiating_mechanisms, grouping foreign keys, ontology-closure audits, or grouping validation and rendering. Do not use for a Disease entry's classifications block; use disease-classification for that.
Как установить скилл curate-grouping?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл curate-grouping запускает скрипты?
Нет, скилл состоит только из инструкций (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