← ClaudeAtlas

archetype-authoringlisted

This skill should be used when the user asks to "create", "edit", "specialize", "review / remediate", "write the rationale for", "translate / localise", or "fix the ADL syntax of" an openEHR archetype (including "this archetype won't parse / won't validate"), or to import a CKM archetype into the workspace for reuse. It covers the full author → review (lint → fix → re-lint) → rationale → translate lifecycle. To merely explain an existing archetype with no edits, use `/openehr-explain` instead.
Cadasto/openehr-assistant-plugin · ★ 4 · Code & Development · score 78
Install: claude install-skill Cadasto/openehr-assistant-plugin
# Archetype Authoring ## Conflict Resolution When guides conflict, apply this priority (highest first): 1. Rules and structural constraints 2. Syntax specifications 3. Anti-patterns 4. Principles and examples 5. Convenience ## Step 1: Load Guides (MANDATORY) Before any archetype work, load the authoritative guides: ``` guide_get("openehr://guides/archetypes/principles") guide_get("openehr://guides/archetypes/rules") guide_get("openehr://guides/archetypes/adl-syntax") ``` Load additional guides as needed: - `guide_get("openehr://guides/archetypes/structural-constraints")` — for cardinality, occurrences, existence rules - `guide_get("openehr://guides/archetypes/terminology")` — for terminology binding patterns - `guide_get("openehr://guides/archetypes/anti-patterns")` — to avoid common mistakes - `guide_get("openehr://guides/archetypes/reference-formatting")` — for ADL formatting conventions ## Step 2: Research Before Creating Before creating a new archetype, ALWAYS search CKM first: ``` ckm_archetype_search("<concept>") ``` **Reuse-first principle**: If a suitable archetype exists, use it. Only create new archetypes when no existing archetype covers the concept. If a close match exists, consider specialization instead. **If CKM has nothing**, check the secondary channel before concluding "new": GitHub repositories tagged with the **`openehr-content`** topic (`topic:openehr-content`) publish project-level archetypes and templates outside CKM. These are **un-governed