← ClaudeAtlas

archetype-authoringlisted

This skill should be used when the user asks to "create", "edit", "specialize", "review / remediate", "write the rationale for", or "translate / localise" an openEHR archetype, 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 · ★ 3 · API & Backend · score 79
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("archetypes/principles") guide_get("archetypes/rules") guide_get("archetypes/adl-syntax") ``` Load additional guides as needed: - `guide_get("archetypes/structural-constraints")` — for cardinality, occurrences, existence rules - `guide_get("archetypes/terminology")` — for terminology binding patterns - `guide_get("archetypes/anti-patterns")` — to avoid common mistakes - `guide_get("archetypes/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. **For deep reuse surveys** (unfamiliar domain, or the first few hits look marginal), dispatch the `ckm-scout` agent instead of running searches inline. It runs 3 parallel phrasings, ranks candidates, and returns a reuse/specialize/new recommendation — keeping CKM search noise out of this skill's context. ### Consult gold-standard reference archetypes (when applicable) For a s