/enterprise-architecture:enterprise-architecturefrom enterprise-architecture
Unified enterprise & software architecture skill using C4/Structurizr DSL, ArchiMate 3.x, TOGAF ADM, and arc42 + ADRs (MADR). Produces architecture diagrams as code, architecture docs, decision records, and enterprise models.
Ships in enterprise-architecture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A practical toolkit for doing real architecture work the way open-source EA standards intend it — diagrams as code, documentation as code, decisions as records, and a single traceable model underneath. It unifies four complementary frameworks so you reach for the right tool at the right altitude instead of forcing everything into one notation.
These frameworks are not competitors — they answer different questions. Knowing which one fits the question is most of the skill.
| Framework | Question it answers | Altitude | When to reach for it |
|---|---|---|---|
| C4 model | "How is this software system structured?" | System → code | A single system/service: context, containers, components |
| ArchiMate | "How does the whole enterprise hang together?" | Business → app → tech | Capabilities, app landscapes, cross-system flows |
| TOGAF ADM | "How do we deliver an architecture change?" | Process/governance | Running an architecture engagement end-to-end |
| arc42 + ADRs | "How do we write it down so others understand & decisions stick?" | Documentation | Documenting a system; recording a decision |
A useful rule of thumb: C4 zooms into one system, ArchiMate zooms out to the enterprise, TOGAF is the method for changing it, and arc42/ADR is how you narrate it. They compose: an arc42 doc embeds C4 diagrams and links ADRs; a TOGAF engagement produces ArchiMate models and ADRs as deliverables.
references/choosing-frameworks.md and answer with a grounded
recommendation that routes into the right mode.references/ before producing output. They
contain the real notation, element catalogs, templates, and gotchas. Do not work from
memory of the standards — load the reference so the output is correct and idiomatic.Triggers: "draw / diagram / visualize the architecture", "C4 container diagram", "Structurizr workspace", "show the components".
references/c4-structurizr.md.
references/archimate.md.Triggers: "document this system", "write an ADR / decision record", "arc42 docs", "design doc / RFC for X".
references/arc42.md. Use the
discover → generate → validate loop and the detail-level knob (LEAN / ESSENTIAL /
THOROUGH) so you write the right amount, not a 40-page tome nobody reads.references/adr-madr.md. Capture the context and
the options considered with trade-offs, not just the chosen answer — the value of an
ADR is the reasoning a future reader can't reconstruct.Triggers: "review my architecture", "is this design sound?", "assess this against best practice", "what are the risks in this design?".
references/review-rubric.md. Assess against quality attributes (the ISO/IEC
25010 set: performance, security, reliability, maintainability, etc.) and EA principles,
not personal taste.Triggers: "map our business capabilities", "application landscape", "capability → app → technology", "enterprise architecture model", "rationalize our app portfolio".
references/archimate.md) and TOGAF ADM for the method/structure of the engagement
(references/togaf-adm.md).Give every architectural element a stable, human-readable ID and reuse it across diagrams, docs, and ADRs. This is what turns a pile of pictures into an actual model.
ea:{org}:{system}:{kind}:{name}
ea:acme:checkout:container:payment-api, ea:acme:enterprise:capability:billingkind ∈ person, system, external, container, component, capability, app, node,
decision …architecture/ folder (one file per
significant artifact, or a Structurizr workspace as the model-of-record) so they're
diff-able and greppable. Reference the same ID from the arc42 doc and the ADRs.After generating diagrams or docs, sanity-check them. For cross-artifact consistency (IDs referenced but never defined, building blocks named in prose but missing from diagrams, quality goals with no scenario, ADRs not linked from any doc), run:
python scripts/ea_lint.py <path-to-architecture-dir-or-file>
It reports issues grouped by severity. Treat its output as advisory review feedback, not a hard gate — explain findings to the user rather than silently "fixing" their intent.
```mermaid,
```plantuml, or Structurizr DSL in ```text/a .dsl file). One view per block,
each with a one-line caption stating what it shows and for whom..puml/.dsl files referenced from the doc when a repo exists; inlined
otherwise.| File | Load when |
|---|---|
references/c4-structurizr.md | Any C4 diagram; Structurizr DSL; Mermaid/PlantUML C4 |
references/archimate.md | ArchiMate views; enterprise/cross-system modeling (Modes 1 & 4) |
references/togaf-adm.md | Running/structuring an architecture engagement; portfolio (Mode 4) |
references/arc42.md | Whole-system documentation (Mode 2) |
references/adr-madr.md | Writing a decision record (Mode 2) |
references/review-rubric.md | Reviewing/assessing an architecture (Mode 3) |
references/choosing-frameworks.md | "Which framework should I use?", framework comparisons, EA-approach strategy questions |
Templates live in assets/templates/; the consistency linter in scripts/ea_lint.py.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gauravs19/enterprise-architecture-skill --plugin enterprise-architectureOther plugins' skills for the same job