agentleFS
embryossaembryossa/embryo-lab-data/.claude/skills/column-schema/SKILL.md

column-schema

Skill0 starsChanged 30 days agoMITView on GitHub

Canonical column schema, alias resolution rules, and transfer-outcome binarization logic for IVF lab data exports. Preload into agents that reconcile unknown columns or outcome strings.

The file

Files
SKILL.md

Каноническая схема и правила исхода

Источник соответствий — config/columns.yaml. Резолвер приводит любую входную колонку к канону; неизвестная -> предупреждение (не угадывать молча). Коллизии (2+ колонки в один канон) -> оставляется первая, выдаётся warning.

Важные различия:

  • embryos_d5 («Число эмбрионов 5 дня») ≠ bl_total («Число Bl»): первое — общее число эмбрионов на D5, второе — именно бластоцисты.
  • afc («Antral follicule count») ≠ follicles («N folicules OPU»): АФК — базовый, идёт в импутацию AMH; follicles — фолликулы на пункции, идёт в KPIScore.

Исход -> бинарь (normalize.py): Preg=1 = клиническая беременность ИЛИ утвердительное да/yes; всё прочее заполненное -> 0; пусто -> NaN (строка отсеивается фильтром). Новые варианты колонок/исходов добавлять в config/columns.yaml (секции canonical/outcome), арифметику KPI не трогать.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.