Agent skill

Arc42 Documentation

by oocx in oocx/tfplan2md

Create comprehensive architecture documentation using the arc42 template structure (12 sections covering introduction, constraints, context, solution strategy, building blocks, runtime, deployment…

MITAuto-check passedDevelopment

Install Arc42 Documentation

skills CLI
$ npx skills add oocx/tfplan2md --skill arc42-documentation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oocx/tfplan2md arc42-documentation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oocx/tfplan2md.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/arc42-documentation .claude/skills/arc42-documentation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
arc42-documentation
GitHub stars
174
Token cost
~2.2k tokens
SKILL.md length
1,024 words
Files
2
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Create comprehensive architecture documentation using the arc42 template structure (12 sections covering introduction, constraints, context, solution strategy, building blocks, runtime, deployment…

  • Works in 10 steps: Initialize Todo Tracking → Assess Documentation Scope → Create Directory Structure → …
  • Development work in your project
  • SKILL.md covers Purpose, When to Use This Skill, arc42 Template Overview and Hard Rules, plus 4 more sections
  • Calls git

What it does

Arc42 Documentation is an agent skill from oocx/tfplan2md. Create comprehensive architecture documentation using the arc42 template structure (12 sections covering introduction, constraints, context, solution strategy, building blocks, runtime, deployment, concepts, decisions, quality, risks, and glossary).

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `templates/arc42-template.md`).

It sits in Development. The repository describes itself as: Convert terraform plans (json) into human readable markdown for easier review of changes in pull requests. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/arc42-documentation”

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Initialize Todo Tracking
  2. Assess Documentation Scope
  3. Create Directory Structure
  4. Generate arc42 Document
  5. Fill Core Sections (Iteratively)
  6. Add Visual Diagrams
  7. Link Existing ADRs
  8. Validate Completeness
  9. Update Documentation Index
  10. Commit the Documentation

What it can do on your machine

Read from SKILL.md and the folder at commit 88d5240. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • arc42.org
    • docs.arc42.org
    • github.com
    • isaqb.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Arc42 Documentation loads about 2.2k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 1,024 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from oocx/tfplan2md at commit 88d5240, republished under its MIT licence (© oocx). 1,024 words, ~2,182 tokens.

Download SKILL.mdSave it as .claude/skills/arc42-documentation/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
arc42-documentation
description
Create comprehensive architecture documentation using the arc42 template structure (12 sections covering introduction, constraints, context, solution strategy, building blocks, runtime, deployment, concepts, decisions, quality, risks, and glossary).

arc42 Architecture Documentation

Purpose

Generate complete, structured architecture documentation following the proven arc42 template (https://arc42.org/). The template provides 12 standardized sections covering all aspects of software architecture, from stakeholder requirements to technical implementation details.

When to Use This Skill

  • Starting a new project that needs comprehensive architecture documentation
  • Documenting existing systems that lack structured architecture descriptions
  • Creating architecture overviews for stakeholders with different technical levels
  • Preparing architecture documentation for certification (e.g., iSAQB)
  • Establishing a consistent documentation standard across multiple projects

arc42 Template Overview

The arc42 template consists of 12 sections:

  1. Introduction and Goals - Requirements overview, quality goals, stakeholders
  2. Constraints - Technical and organizational limitations
  3. Context and Scope - System boundaries, external interfaces
  4. Solution Strategy - Fundamental architectural decisions
  5. Building Block View - Static decomposition (components, modules)
  6. Runtime View - Dynamic behavior (scenarios, workflows)
  7. Deployment View - Infrastructure and technical environment
  8. Crosscutting Concepts - Recurring patterns and principles
  9. Architecture Decisions - Important ADRs with rationale
  10. Quality Requirements - Quality tree and scenarios
  11. Risks and Technical Debt - Known issues and limitations
  12. Glossary - Domain and technical terminology

Hard Rules

Must
  • Use the todo tool to track progress through the arc42 documentation workflow
  • Prefer search/*, read/*, and edit/* tools over terminal commands for file operations
  • Create documentation in docs/architecture/arc42/ directory
  • Use the template structure provided in templates/arc42-template.md
  • Fill in all 12 sections (mark sections as "TBD" if information is not yet available)
  • Include references to existing ADRs in Section 9 (Architecture Decisions)
  • Update docs/architecture.md to reference the new arc42 documentation
  • Tailor content to the specific project context (remove boilerplate explanations)
  • Use Mermaid diagrams for visual representations (context, building blocks, deployment)
  • Keep stakeholder-focused sections (1, 3, 10) accessible to non-technical readers
  • Minimize terminal approvals by using editor tools instead of shell commands
  • Ensure arc42 documentation stays synchronized with existing ADRs and feature specifications
  • Ask the user for clarification when information is missing or unclear (one question at a time)
  • Base all documented requirements, constraints, and quality goals on actual specifications or user input
Must Not
  • Use terminal commands for file editing when edit/* tools are available
  • Skip using the todo tool for multi-step workflows
  • Copy arc42 help text verbatim into the final document
  • Create documentation that duplicates existing ADRs without adding value
  • Skip sections without marking them as "TBD" or "Not Applicable"
  • Use arc42 as a substitute for code-level documentation
  • Create arc42 docs for trivial features (use standard ADRs instead)
  • Invent or fabricate requirements, constraints, quality goals, or technical details
  • Proceed with incomplete information when user clarification is available

Actions

1. Initialize Todo Tracking

Create a todo list with the todo tool to track your progress through the arc42 workflow:

  • Assess documentation scope
  • Create directory structure
  • Generate arc42 document from template
  • Fill core sections (1, 3, 4, 5)
  • Add visual diagrams
  • Link existing ADRs
  • Validate completeness
  • Update documentation index
  • Commit documentation
2. Assess Documentation Scope

Ask the maintainer one question at a time:

  • Is this for the entire system or a specific subsystem/feature?
  • Are there existing ADRs that should be referenced in Section 9?
  • What level of detail is needed (high-level overview vs. detailed technical spec)?
  • Who are the primary stakeholders (developers, architects, management)?
3. Create Directory Structure

Use edit/createFile tool (not terminal commands) to create the directory and initial file.

4. Generate arc42 Document
  • Use read/* tool to read templates/arc42-template.md
  • Use edit/createFile to create the customized version at docs/architecture/arc42/architecture.md
  • Do NOT use terminal commands like cp or cat - prefer editor tools
Show full SKILL.md (454 more words)Show less
5. Fill Core Sections (Iteratively)

Update your todo list as you complete each section.

Work through sections in recommended order:

  1. Use search/* tools to find relevant content in docs/spec.md and feature specifications
  2. Start with Section 1 (Introduction and Goals) - easiest to fill from spec.md
  3. Add Section 3 (Context and Scope) - define system boundaries
  4. Document Section 4 (Solution Strategy) - key architectural decisions
  5. Complete Section 5 (Building Block View) - component structure
  6. Fill remaining sections based on available information

Progressive approach: It's acceptable to mark sections as "TBD" and fill them over time. The document is a living artifact.

Use edit/editFiles to make changes, NOT terminal text editors or sed/awk commands.

6. Add Visual Diagrams

Update your todo as you add diagrams.

For key sections, create Mermaid diagrams using edit/editFiles:

  • Section 3: Context diagram (C4 Level 1)
  • Section 5: Component diagram (C4 Level 2/3)
  • Section 6: Sequence diagrams for critical scenarios
  • Section 7: Deployment diagram

Use the mcp-mermaid tool to preview diagrams before committing.

Update your todo when complete.

Use search/codebase to find all ADR files matching adr-*.md, then in Section 9 (Architecture Decisions):

  • List all existing ADRs
  • Provide a brief summary of each decision
  • Link to the full ADR file

Use edit/editFiles to update the section.

8. Validate Completeness

Review and check your todo list:

  • All 12 sections exist (even if marked TBD)
  • At least sections 1, 3, 4, 5 are filled with meaningful content
  • Diagrams are included for context and building blocks
  • Glossary includes domain-specific terms
  • No arc42 help text remains in the document
9. Update Documentation Index

Use edit/editFiles to add reference to the arc42 document in docs/architecture.md:

markdown
## Comprehensive Architecture Documentation

For a complete architecture overview following the arc42 standard, see:
- [arc42 Architecture Documentation](architecture/arc42/architecture.md)
10. Commit the Documentation

Mark your todo complete, then use terminal for git operations only:

bash
git add docs/architecture/arc42/ docs/architecture.md
git commit -m "docs: add arc42 architecture documentation"

Maintenance Guidelines

The arc42 document should be:

  • Updated when: Major architectural changes occur, new quality requirements emerge, significant risks are identified
  • Reviewed: During sprint planning or architecture review meetings
  • Versioned: Commit changes with clear messages linking to features/ADRs
  • Evolved: It's better to have incomplete sections marked "TBD" than to skip documentation entirely

References

ResourceDescription
arc42.orgOfficial arc42 website with downloads and examples
arc42 DocsDetailed explanations of each section with practical tips
arc42 by ExampleReal-world architecture documentation examples
arc42 on GitHubTemplate source repository
iSAQB CurriculumCertification program that uses arc42

Tips for Success

  1. Start small: Fill sections 1, 3, 4 first, then expand
  2. Use diagrams: A good context diagram is worth 1000 words
  3. Link, don't duplicate: Reference existing ADRs, don't copy them
  4. Tailor to audience: Adjust detail level per section based on stakeholders
  5. Keep it current: Update when architecture changes, not on a schedule
  6. Version control: Commit documentation with related code changes

© oocx, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/arc42-documentation of oocx/tfplan2md.

  • SKILL.md
  • templates/arc42-template.md

Open the folder on GitHubat commit 88d5240

Compare with similar skills

Arc42 Documentation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Arc42 Documentation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Arc42 Documentation this skilloocx/tfplan2md174—~2.2kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Simple Englishmoeru-ai/airi50k2 repos~4.6kAutomated safety check: PassMIT
Mole CLI Release Flowtw93/Mole70k—~2.5kAutomated safety check: PassGPL-3.0
Babysit PR To Pass CIsgl-project/sglang37k2 repos~3kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Runbook for assessing and executing a Mole CLI release: distribution channels, pre-flight checks, capital-V tags, build artifacts and the handoff to curated release notes.

    70k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Babysit PR To Pass CI

    sgl-project/sglang

    Start and persistently pursue a goal to babysit an SGLang pull request until selected GitHub Actions workflows pass on the latest PR head.

    37k GitHub starsUsed in 2 repos~3k tokens
    DevelopmentAuto-check passed
  • Load Ansible project development guidelines, testing conventions, PR review processes, and code structure reference into context

    71k GitHub stars~427 tokensUpdated today
    DevelopmentAuto-check passed

More from oocx/tfplan2md

All 28 skills in this repo
  • Create Agent Skill

    oocx/tfplan2md

    Create a new Agent Skill following project standards and templates.

    174 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Detect and analyze edge crossings and overlaps in SVG workflow diagrams using geometric intersection algorithms and visual analysis.

    174 GitHub stars~4.3k tokensUpdated today
    Auto-check passed
  • Generate PNG screenshots for release notes using the repository's HtmlRenderer and ScreenshotGenerator tools.

    174 GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Git Rebase Main

    oocx/tfplan2md

    Safely rebase the current feature branch on top of the latest origin/main.

    174 GitHub stars~456 tokensUpdated today
    Auto-check passed
  • Next Issue Number

    oocx/tfplan2md

    Determine the next available issue number across all change types (feature, fix, workflow, website) by checking both local docs and remote branches, then reserve it by pushing an empty branch.

    174 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Run Uat

    oocx/tfplan2md

    Run User Acceptance Testing by creating a PR with rendered markdown on GitHub or Azure DevOps.

    174 GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Arc42 Documentation

What does Arc42 Documentation do?

Create comprehensive architecture documentation using the arc42 template structure (12 sections covering introduction, constraints, context, solution strategy, building blocks, runtime, deployment…. Arc42 Documentation is an agent skill from oocx/tfplan2md. Create comprehensive architecture documentation using the arc42 template structure (12 sections covering introduction, constraints, context, solution strategy, building blocks, runtime, deployment, concepts, decisions, quality, risks, and glossary).

When should I use Arc42 Documentation?

Arc42 Documentation fits situations like: development work in your project.

How do I install Arc42 Documentation in Claude Code?

Run `npx skills add oocx/tfplan2md --skill arc42-documentation -a claude-code`. Or copy the skill folder (.agents/skills/arc42-documentation in oocx/tfplan2md) into .claude/skills/arc42-documentation in your project. Claude Code loads it when a task matches its description.

How do I install Arc42 Documentation in Codex?

Run `npx skills add oocx/tfplan2md --skill arc42-documentation -a codex`. Or copy the skill folder (.agents/skills/arc42-documentation in oocx/tfplan2md) into .agents/skills/arc42-documentation in your project. Codex loads it when a task matches its description.

Can I use Arc42 Documentation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oocx/tfplan2md --skill arc42-documentation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/arc42-documentation, .gemini/skills/arc42-documentation, .github/skills/arc42-documentation and .opencode/skills/arc42-documentation in your project.

What does Arc42 Documentation need to run?

Going by SKILL.md and its folder, Arc42 Documentation needs the command-line tools its instructions call (git).

Does Arc42 Documentation access the network?

SKILL.md names 4 domains. As links in the text: arc42.org, docs.arc42.org, github.com and isaqb.org. This is read from the text; nothing was executed.

Is Arc42 Documentation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Arc42 Documentation use?

Arc42 Documentation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Arc42 Documentation use?

About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Arc42 Documentation?

Skills that share tags, products or a category with Arc42 Documentation: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Code Design Rationale Investigator (cursor/plugins, 10k stars), Simple English (moeru-ai/airi, 50k stars) and Mole CLI Release Flow (tw93/Mole, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Arc42 Documentation?

oocx (a GitHub user) maintains it in oocx/tfplan2md, which has 174 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 7, 2026.

Source: oocx/tfplan2md on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.