Architecture-catalog new-entry
Create a new registry entry with guided wizard. Supports components, data-objects, functions, services, and other ArchiMate element types.
install
source · Clone the upstream repo
git clone https://github.com/ea-toolkit/architecture-catalog
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ea-toolkit/architecture-catalog "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/new-entry" ~/.claude/skills/ea-toolkit-architecture-catalog-new-entry && rm -rf "$T"
manifest:
.claude/skills/new-entry/SKILL.mdsource content
Create New Registry Entry
Guide the user through creating a properly structured registry entry.
Arguments
- Element type: component, software-system, data-concept, data-aggregate, data-entity, domain-event, api-endpoint, etc.$1
- Element name (can have spaces)$2+
If arguments not provided, ask the user:
- What type of element?
- What is the element name?
- Which domain does it belong to?
Element Type to Folder Mapping
Do NOT hardcode paths. Always discover dynamically:
- Read
models/registry-mapping.yaml - Find the element type under
elements: - Use the
field for that type to determine the target directoryfolder: - Prepend
to the folder pathregistry-v2/
This ensures the skill works even if users rename layers, types, or restructure folders.
Workflow
- Determine element type and target folder
- Read
in the target folder for structure_template.md - Read 1-2 existing entries in target folder for pattern reference
- Create filename: kebab-case of name (e.g., "Payment Record" -> "payment-record.md")
- Fill frontmatter:
- name: [provided name]
- owner: TBD
- status: draft
- [type-specific fields and relationships from template]
- Write file to correct folder
- Run validation:
python scripts/validate.py
Response Format
**Created:** registry-v2/<layer>/<type-folder>/element-name.md **Frontmatter:** --- type: <element-type> name: <Element Name> owner: TBD status: draft <type-specific fields from template> --- **Next Steps:** 1. Fill in TBD fields 2. Add description in the body 3. Run /validate to verify Would you like me to help fill in any of the TBD fields?
Domain-Specific Fields
For data elements (concepts, aggregates, entities), also include:
- Relationship to parent element (data concept -> aggregate -> entity chain)
- classification: internal/business-confidential/pii
For software elements (systems, subsystems), also include:
- sourcing: in-house/vendor/hybrid
- vendor: (if vendor)
- realizes_component: Which component this system supports
Notes
- Always use kebab-case for filenames
- Mark unknown fields as TBD rather than guessing
- Run validation after creation to catch issues early
- Suggest wiring relationships as a follow-up action