← ClaudeAtlas

class-generationlisted

Generate openEHR class documentation — class-definition tables, effective views, and UML class/package diagrams — from BMM schemas with the `bmm-publisher` tool, for `specifications-XX` repos and their `docs/UML/` content. This skill should be used when the user asks to regenerate class tables, run bmm-publisher, generate class docs from BMM/P_BMM, or render a spec's class diagrams. Not for spec prose (use content-patterns), document scaffolding (use authoring), or archetype/template work (openehr-assistant plugin).
openEHR/ai-plugins · ★ 2 · AI & Automation · score 75
Install: claude install-skill openEHR/ai-plugins
# openEHR Class Documentation Generation (BMM) openEHR specification class documentation — the per-class definition tables and the UML class/package diagrams embedded in `specifications-XX` documents — is **generated, not hand-written**. The source of truth is the component's **BMM** (Basic Meta-Model) schema, serialised as [P_BMM](https://specifications.openehr.org/releases/LANG/latest/bmm_persistence.html) JSON, and the generator is the [`bmm-publisher`](https://github.com/openEHR/bmm-publisher) CLI tool. > **Replaces MagicDraw.** Class tables and diagrams were historically extracted from MagicDraw > `.mdzip` UML models. That mechanism is retired; `bmm-publisher` is the current BMM-based generator. ## Related Skills - **authoring** — document scaffolding and repo layout; explains where generated class docs are included - **review** — the ADOC-03 check enforces that class tables are generated, not hand-written - **content-patterns** — prose around classes (semantics, rationale) that the generated tables do *not* cover For the full command, option, and schema reference, see `references/bmm-publisher.md`. ## When to Regenerate Regenerate class documentation when: - A component's BMM schema changes (new/renamed/removed classes, properties, functions, or types) - A spec needs its `docs/UML/classes/` tables refreshed before a release - Class diagrams (SVGs) are stale relative to the model Never hand-edit the generated output — change the BMM schema upstream and regenerat