/arc42:arc42-frameworkfrom arc42
Generates arc42 architecture documentation from a codebase by building an evidence base of facts, then authoring all 12 sections with Mermaid diagrams and typed GAP flags where human input is needed.
Ships in arc42. 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.
Read when SKILL.md points to them.
Origin: plugin-original
This skill is the knowledge base behind the arc42 plugin. It turns a target codebase into arc42 architecture documentation by (1) reading the repo into a fact base and (2) authoring the twelve arc42 sections from that evidence. It does not copy arc42's prose; it routes each generated claim to recorded evidence, an explicit inference, or a typed GAP flag.
The bundled references under references/ are the plugin's working knowledge; the generated
output format is fixed by references/output-conventions.md.
F-NNN) with a precise source and an
extraction_method. This is the only place facts enter the system.references/diagram-conventions.md.GAP:human-input; where evidence
should exist but was not found, emit GAP:no-evidence. All gaps aggregate into _gaps.md.references/lint-checklist.md (per-section rules) and
references/consistency-rules.md (cross-section invariants) before delivery.The exact output layout, YAML front-matter, fact-record schema, per-sub-section arc42-meta
blocks, per-claim anchors, and typed GAP flags are specified in references/output-conventions.md.
Each section is classed by how far the code alone can carry it. The tier sets the default
provenance and confidence, and decides whether a missing answer becomes a Mermaid diagram, a
caveated diagram, or a GAP:human-input.
| Tier | Meaning | Default output when evidence is thin | Sections |
|---|---|---|---|
| code-derivable | Structure is read directly from manifests, import graphs, configs, or route tables (high confidence) | Emit Mermaid directly; GAP:no-evidence only if the artifact is genuinely absent | §3 Context, §5 Building Block, §6 Runtime, §7 Deployment, §8 Crosscutting, §12 Glossary |
| code-inferable | Reasoned from conventions, naming, or framework patterns (medium confidence) | Emit with an inline "derived from conventions — confirm" caveat | §2 Constraints, §4 Solution Strategy, §9 Architecture Decisions |
| human-input | Business, quality, or intent decisions the code cannot reveal | Emit GAP:human-input with a specific question | §1 Introduction & Goals, §10 Quality, §11 Risks & Technical Debt |
These tiers are recorded per section in references/sections/NN-*.md under ## Evidence tier.
Sections are generated in three waves by the generate command. The wave order is
code-derivable structural sections first → dependent sections → synthesis, not a strict
topological sort of the Depends on edges declared in references/sections/NN-*.md.
Cross-section consistency is enforced post-hoc by the consistency-checker (Phase C) —
particularly the §3↔§5 interface symmetry (interfaces-match). Other Depends on edges are
best-effort cross-references: a section may be authored before all of its declared upstream
sections exist, and that is expected. Do not assume that all inputs pre-exist when a section
is dispatched.
The references/ corpus is rewritten from the arc42 material rather than bundled verbatim, for
four reasons:
Every arc42-derived reference file MUST keep sourcing from the crawled corpus snapshot
(.../crawl-arc42-doc/data/output), MUST carry a Source: line citing the corpus-relative paths
it derives from, MUST be reworded (no verbatim runs from the source), and MUST be accounted for in
references/COVERAGE.md (every corpus file maps to a destination or a justified dropped:
reason). Plugin-original files (this SKILL.md, output-conventions.md, COVERAGE.md) are marked
Origin: plugin-original and need no Source:. The gate is
plugins/arc42/tests/check_corpus_contract.py; keep it green and keep its --corpus pointed at
the corpus root.
arc42 is the work of Dr. Gernot Starke and Dr. Peter Hruschka; this knowledge base is derived from the arc42 framework material, used under CC BY-SA 4.0.
references/COVERAGE.md (opens in a new tab)references/consistency-rules.md (opens in a new tab)references/diagram-conventions.md (opens in a new tab)references/expected-topics.md (opens in a new tab)references/kb-version.txt (opens in a new tab)references/keyword-tags.md (opens in a new tab)references/lint-checklist.md (opens in a new tab)references/output-conventions.md (opens in a new tab)references/sections/01-introduction-and-goals.md (opens in a new tab)references/sections/02-constraints.md (opens in a new tab)references/sections/03-context-and-scope.md (opens in a new tab)references/sections/04-solution-strategy.md (opens in a new tab)references/sections/05-building-block-view.md (opens in a new tab)references/sections/06-runtime-view.md (opens in a new tab)references/sections/07-deployment-view.md (opens in a new tab)references/sections/08-crosscutting-concepts.md (opens in a new tab)references/sections/09-architecture-decisions.md (opens in a new tab)references/sections/10-quality.md (opens in a new tab)references/sections/11-risks-and-technical-debt.md (opens in a new tab)references/sections/12-glossary.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub florianbuetow/claude-code --plugin arc42Other plugins' skills for the same job