Skip to content
Back to skills

Arc42 Templates

ASecurity

"This skill should be used when the user asks to 'document architecture', 'create arc42 section',

  • 31 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 7, 2026
documentationgonodeapidatabasesecuritydocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add spec2ship/spec2ship --skill arc42-templates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Arc42 Templates?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Arc42 Templates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/spec2ship-arc42-templates/badge)](https://www.skillsdirectory.com/skills/spec2ship-arc42-templates)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: arc42 Architecture Templates
description: "This skill should be used when the user asks to 'document architecture', 'create arc42 section',
  'design component structure', 'write building blocks view', 'create context diagram'.
  Provides arc42 templates and patterns for standardized architecture documentation."
version: 0.1.0
---

# arc42 Architecture Templates

## Purpose

arc42 is a template for architecture documentation. This skill provides patterns and structure for documenting software architecture in a standardized, stakeholder-friendly way.

## When to Use This Skill

- Creating initial architecture documentation
- Documenting component boundaries
- Describing system interfaces
- Recording architectural decisions
- Communicating with stakeholders

## Core Concepts

- **12 Sections**: arc42 organizes architecture into 12 standardized sections covering context, building blocks, runtime, deployment, and quality
- **Decomposition Levels**: Systems decompose into Context (L0) → Containers (L1) → Components (L2)
- **Black/White Box**: External view (interfaces only) vs internal view (structure revealed)
- **Stakeholder Focus**: Documentation tailored for different audiences (developers, operators, business)

## arc42 Sections Quick Reference

| # | Section | Purpose | When to Use |
|---|---------|---------|-------------|
| 1 | Introduction | Goals, stakeholders, constraints | Project setup |
| 2 | Constraints | Technical/organizational limits | Initial design |
| 3 | Context | System boundaries, external interfaces | System scoping |
| 4 | Solution Strategy | Key decisions, technology choices | Architecture decisions |
| 5 | Building Blocks | Components, modules, structure | Design documentation |
| 6 | Runtime View | Scenarios, sequences, flows | Behavior documentation |
| 7 | Deployment | Infrastructure, nodes, mapping | Operations planning |
| 8 | Crosscutting | Security, logging, error handling | Quality implementation |
| 9 | Decisions | ADRs, rationale | Decision tracking |
| 10 | Quality | Quality goals, scenarios | Quality assurance |
| 11 | Risks | Technical risks, debt | Risk management |
| 12 | Glossary | Terms, definitions | Communication |

## Building Blocks Structure

```
Level 0: System Context
├── Your System (white box)
├── External System A
├── External System B
└── User

Level 1: Container View
├── Web Application
├── API Service
├── Database
└── Message Queue

Level 2: Component View (per container)
├── Controller Layer
├── Service Layer
├── Repository Layer
└── Domain Models
```

## Quick Templates

### Component Documentation
```markdown
### {Component Name}

**Purpose**: {one-line description}

**Responsibilities**:
- {responsibility 1}
- {responsibility 2}

**Interfaces**:
- `{interface}`: {description}

**Dependencies**:
- Uses: {component names}
- Used by: {component names}
```

### Interface Documentation
```markdown
### {Interface Name}

**Type**: {REST API | Event | gRPC | etc.}
**Protocol**: {HTTP | AMQP | etc.}

**Operations**:
| Operation | Input | Output | Description |
|-----------|-------|--------|-------------|
| {name} | {type} | {type} | {description} |
```

## References

For detailed patterns and examples, see:
- `references/building-blocks.md`
- `references/runtime-view.md`
- `references/deployment-view.md`
- `examples/sample-component.md`

## Integration with S2S

In Spec2Ship projects:
- Architecture goes in `.s2s/architecture.md` (single consolidated file)
- ADRs go in `.s2s/decisions/` (Section 9)

Files in this skill

  • SKILL.md3.5 KB
  • examples/sample-component.md8.1 KB
  • references/building-blocks.md6.9 KB
  • references/deployment-view.md6.9 KB
  • references/runtime-view.md6.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.