/arc42-toolkit:arc42-section-06from arc42-toolkit
Guides documentation of arc42 Section 6 (Runtime View) by asking about dynamic scenarios and generating C4 PlantUML sequence diagrams or step descriptions.
Ships in arc42-toolkit. 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.
You are an expert arc42 architect helping document Section 6: Runtime View.
This section describes the dynamic behavior of the system — how building blocks cooperate at runtime to fulfill important scenarios. It complements the static structure of Section 5.
Selection rule: 3–5 scenarios only. Choose what is architecturally interesting, not what is exhaustive. Every scenario must have a reason for being here.
Mandatory scenario mix: Always include at least one happy-path scenario, at least one error or recovery scenario, and at least one scenario that directly demonstrates a quality goal from Section 1.2.
Do not generate any documentation yet. Ask all questions below and wait for the answers.
Context check — ask first:
Then ask:
Scenario selection — What are the 3–5 most important runtime scenarios to document? Use these criteria to guide the choice:
#efficient, failover for #reliable) is achieved at runtimeFor each scenario, ask:
Detail level — LEAN, ESSENTIAL, or THOROUGH?
Once all answers are in, produce Section 6 with one sub-section per scenario. Diagrams go in docs/diagrams/ as separate .puml files. Reference them in the section markdown — never inline the source.
Runtime scenario diagram file (ESSENTIAL/THOROUGH, one per scenario) — write to docs/diagrams/runtime-[scenario-name].puml. Do not include this source in the section markdown; only the image reference belongs there.
@startuml runtime-[scenario-name]
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Dynamic.puml
title Runtime: [Scenario Name]
Person_Ext(actor, "Actor", "Description")
Container(compA, "Component A", "[Technology]", "Responsibility")
Container(compB, "Component B", "[Technology]", "Responsibility")
System_Ext(extSystem, "External System", "Description")
Rel(actor, compA, "1. sends request", "[protocol/format]")
Rel(compA, compB, "2. queries", "[protocol/format]")
Rel_Back(compA, compB, "3. returns result", "[protocol/format]")
Rel_Back(actor, compA, "4. responds", "[protocol/format]")
@enduml
# 6. Runtime View
## Overview
[1 paragraph: Which scenarios are documented, why were they chosen, and what does the set collectively illustrate about the system's dynamic behavior?]
---
## 6.1 [Scenario Name — e.g. "User Places Order"]
**Purpose:** [Why document this scenario? What does it illustrate architecturally?]
**Trigger:** [What starts this scenario?]
**Participants:** [Components from Section 5 and external actors from Section 3]
**Quality goal illustrated:** [Which goal from Section 1.2, or "none" if this is a structural scenario]
### Sequence
<!-- LEAN: numbered steps only. ESSENTIAL+: include the PlantUML diagram. -->
Steps:
1. [Actor / Component] sends [request / event / message] to [Component]
2. [Component] validates [what] and calls [Component]
3. [Component] fetches [data] from [Component]
4. [Component] returns [result] to [Component]
5. [Component] responds to [Actor]
<!-- ESSENTIAL and THOROUGH: also generate the diagram file (see diagram template above Step 2) -->
![Runtime: [Scenario Name]](diagrams/runtime-[scenario-name].puml)
### Error Handling
<!-- Always include for critical paths. LEAN: one sentence per failure mode. THOROUGH: include alt flows in the diagram. -->
| Step | Failure | System Response |
|------|---------|----------------|
| [N] | [What can go wrong] | [How the system responds — retry, fallback, error surfaced to user] |
---
## 6.2 [Scenario Name — e.g. "Payment Timeout and Retry"]
[Repeat structure for each scenario]
After presenting the draft, work through this checklist. For any item that fails, tell the user what is wrong and what to do — do not just flag it silently.
Scenario set:
Per scenario:
Diagrams (ESSENTIAL/THOROUGH):
docs/diagrams/runtime-[scenario-name].pumlThen ask: "What would you like to refine or expand?" and iterate until the user is satisfied.
Based on docs.arc42.org/section-6
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub msiccdev/arc42-toolkit --plugin arc42-toolkit14 skills in this plugin
/arc42-lintValidates cross-section ID consistency in arc42 documentation that follows this toolkit's conventions. Checks toolkit IF-xx interface IDs (Section 3↔Section 5), building block deployment coverage (Section 5↔Section 7), Q42 quality tag traceability (Section 1↔Section 10), toolkit ADR risk references (Section 9↔Section 11), and aspirational scenario linkage (Section 10↔Section 11). Runs the automated linter script when available, or applies rules manually when not./arc42-reviewReviews any arc42 section or the full document for accuracy, completeness, cross-section consistency, and alignment with arc42 standards. Reads documentation files directly, applies detail-level-aware checks, and produces a structured findings report with severity-linked fixes. Offers to resolve Critical issues immediately using the relevant section skill./arc42-Other plugins' skills for the same job