Command Palette

Search for a command to run...

Назад к скиллам
скилл № 61624

arc42-framework

Generate arc42 architecture documentation from a codebase. Read the repository into a structured evidence base, then author the 12 arc42 sections — emitting…

БесплатноБез исполняемых скриптов
florianbuetowот florianbuetow★ 22 звезды на GitHub

Установить arc42-framework в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Origin: plugin-original

arc42-framework

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.


Recipe overview

  1. Build the evidence base. Parse manifests, import/dependency graphs, configs, IaC, route tables, and naming conventions into fact records (F-NNN) with a precise source and an extraction_method. This is the only place facts enter the system.
  2. Author sections in dependency order (see Waves). Each sub-section pulls from the fact base, cites fact ids per claim, and chooses a diagram per references/diagram-conventions.md.
  3. Flag, never fabricate. Where the code cannot answer, emit GAP:human-input; where evidence should exist but was not found, emit GAP:no-evidence. All gaps aggregate into _gaps.md.
  4. Lint and check consistency. Apply 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.


Evidence-tier table

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.


Generation waves (code-derivable first)

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.

  • Wave 0 — Evidence base. Extract fact records from the repo. Precedes all sections.
  • Wave 1 — §3 Context and Scope, §5 Building Block View, §7 Deployment View, §12 Glossary. These four sections are code-derivable (structure readable directly from manifests, import graphs, IaC, and route tables). They run first with no prior wave output, in parallel.
  • Wave 2 — §6 Runtime View, §8 Crosscutting Concepts, §4 Solution Strategy, §9 Architecture Decisions, §2 Constraints. These five sections receive Wave 1 output as upstream context where available. Because §1 is not yet generated, upstream deps that reference §1 are absent and treated as best-effort. All five run in parallel.
  • Wave 3 — §1 Introduction and Goals, §10 Quality, §11 Risks and Technical Debt. These synthesis sections are authored last, after the structural and dependent sections are complete. §10 and §11 receive Wave 2 output. All three run in parallel.

Why the knowledge base is derived, not copied

The references/ corpus is rewritten from the arc42 material rather than bundled verbatim, for four reasons:

  • Licensing. arc42 material is CC BY-SA 4.0. Derived, reworded, attributed references keep the plugin's obligations clean and auditable instead of shipping large verbatim excerpts.
  • Portability. The plugin ships self-contained reference files with no runtime dependency on the upstream arc42 site or its asset tree; generation work
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/COVERAGE.md
  • references/consistency-rules.md
  • references/diagram-conventions.md
  • references/expected-topics.md
  • references/kb-version.txt
  • references/keyword-tags.md
  • references/lint-checklist.md
  • references/output-conventions.md
  • references/sections/01-introduction-and-goals.md
  • references/sections/02-constraints.md
  • references/sections/03-context-and-scope.md
  • references/sections/04-solution-strategy.md
  • references/sections/05-building-block-view.md
  • references/sections/06-runtime-view.md
  • references/sections/07-deployment-view.md
  • references/sections/08-crosscutting-concepts.md
  • references/sections/09-architecture-decisions.md
  • references/sections/10-quality.md
  • references/sections/11-risks-and-technical-debt.md
  • references/sections/12-glossary.md

FAQ

Что делает скилл arc42-framework?

Generate arc42 architecture documentation from a codebase. Read the repository into a structured evidence base, then author the 12 arc42 sections — emitting Mermaid diagrams where the code gives high-confidence structure, and explicit typed GAP flags where human input is needed, never fabricating. Use when asked to create, scaffold, or update arc42 docs, an architecture document, or per-section architecture views (building block view, runtime view, deployment view, etc.) for a project.

Как установить скилл arc42-framework?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл arc42-framework запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить arc42-framework с