class-generation SKILL.md skillA
class-generation from openehr/ai-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openehr/ai-plugins/class-generation@git:20261009.a9028b9Pins git:20261009.a9028b9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openehr/ai-plugins
- Path
plugins/openehr-specs/skills/class-generation/SKILL.md- Versions recorded
- 8
- Latest version
- git:20261009.a9028b9, committed Oct 9, 2026
- First version recorded
- Jun 5, 2026
- Size
- 8,117 bytes
- Repository stars
- 3
- License
- Apache-2.0
Generate openEHR class documentation — class-definition tables, effective views, and UML class/package diagrams — from BMM schemas with `bmm-publisher`, for `specifications-XX` repos. This skill should be used when the user asks to regenerate or refresh class tables or diagrams, run bmm-publisher, generate class docs from BMM/P_BMM, or replace hand-written or MagicDraw-derived class docs. Not for editing the BMM itself (use bmm-authoring), spec prose (use content-patterns), document…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# openEHR Class Documentation Generation (BMM) Treat the per-class definition tables and the UML class/package diagrams embedded in `specifications-XX` documents as **generated output**, never hand-written. Generate them from the component's **BMM** (Basic Meta-Model) schema, serialised as [P_BMM](https://specifications.openehr.org/releases/LANG/latest/bmm_persistence.html) JSON, with 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 - **bmm-authoring** — write or change the BMM schema itself, and check it before generating - **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 …
Read the whole file at its exact version.
How to install
mdr add openehr/ai-plugins/class-generation@sha256:9ed9af3e0afe7457The line at the top of this page pins the label git:20261009.a9028b9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_4stgfhpst2iuac44)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 8 versions of this file, between Jun 5, 2026 and Oct 9, 2026, about one every 18 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261009.a9028b9 latest | 2026-10-09 | a9028b9 | 8,117 B | A | view · diff |
| git:20261009.45315cf | 2026-10-09 | 45315cf | 7,695 B | A | view · diff |
| git:20261009.0877cb6 | 2026-10-09 | 0877cb6 | 8,035 B | A | view · diff |
| git:20261009.ba8a258 | 2026-10-09 | ba8a258 | 7,613 B | A | view · diff |
| git:20261008.21e6807 | 2026-10-08 | 21e6807 | 7,294 B | A | view · diff |
| git:20261007.405e68d | 2026-10-07 | 405e68d | 6,284 B | A | view · diff |
| git:20261007.d097047 | 2026-10-07 | d097047 | 6,286 B | A | view · diff |
| git:20260605.b66fd15 | 2026-06-05 | b66fd15 | 5,579 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8117 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openehr/ai-plugins · 3 stars · license Apache-2.0 · pushed 2026-10-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4stgfhpst2iuac44 GET https://markdownregistry.com/api/v1/resolve?ref=openehr/ai-plugins/class-generation GET https://markdownregistry.com/api/v1/blob/9ed9af3e0afe745700308582483308b46e475b19acd378b7490f7cb1eb63eeba
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.