Synthèse automatique
Ce skill permet de créer et maintenir une documentation d'architecture logicielle en suivant le template arc42, via un serveur MCP dédié.
Points forts
- Structure claire et reconnue avec 12 sections couvrant tous les aspects architecturaux.
- Support multilingue et multi-format (AsciiDoc, Markdown).
- Automatisation de l'initialisation et du suivi de progression.
Limites
- Nécessite la configuration préalable du serveur MCP arc42.
- Ne génère pas de contenu automatiquement à partir du code source.
- Le niveau de détail dépend entièrement des informations fournies par l'utilisateur.
Quand vous devez produire une documentation d'architecture complète et structurée, notamment pour des systèmes complexes ou des revues d'architecture.
Pour une simple note technique informelle ou un diagramme ad-hoc sans besoin de formalisation.
Analyse de sécurité
SûrThe skill guides documentation creation using an MCP server for arc42, no risky commands or data exfiltration.
Aucun point d'attention détecté
Comment cette analyse est faiteExemples
Initialize arc42 documentation for my project "Inventory Manager" in English and Markdown format.Check the status of my arc42 documentation and tell me what's missing.Update the 'Building Block View' section with a description of the microservices architecture.name: arc42-docs description: Use this skill when the user asks to "create architecture documentation", "document the architecture", "arc42", "initialize arc42", "update architecture docs", discusses architecture documentation, or wants to document system design decisions, quality requirements, deployment views, building blocks, or any of the 12 arc42 sections. Also use when the user mentions ADRs (Architecture Decision Records) in the context of arc42. version: 2.0.0
Arc42 Architecture Documentation Skill
Guide for using the arc42-mcp-server MCP server to create and maintain architecture documentation following the proven arc42 template. The server provides 6 tools, supports 11 languages and 2 output formats (AsciiDoc, Markdown).
Prerequisites
The arc42-mcp-server MCP server must be configured and running. See setup instructions for installation and configuration.
Workflow: Starting Fresh
- Load the guide →
arc42-workflow-guide— understand the full arc42 structure and what belongs in each section - Initialize workspace →
arc42-init— creates directory structure with all 12 section files, config.yaml, and README - Check status →
arc42-status— see current progress, completeness percentage, and which sections need work - Generate template →
generate-template— get the detailed structure and guidance for a specific section before writing - Write content →
update-section— write or append content to a section - Review content →
get-section— read back existing content with metadata (word count, last modified)
Workflow: Existing Documentation
- Check status →
arc42-status— assess current state and identify gaps - Read sections →
get-section— review what's already documented - Generate template →
generate-template— understand expected structure for incomplete sections - Update sections →
update-section— fill gaps or improve existing content
Tool Reference
1. arc42-workflow-guide
Load the comprehensive arc42 documentation workflow guide. Always call this first when starting a new documentation effort — it explains what information belongs in each section.
| Parameter | Type | Required | Default | Description |
|------------|------|----------|--------------|----------------------------------------------------------------------------------|
| language | enum | No | "EN" | Language code: EN, DE, ES, FR, IT, NL, PT, RU, CZ, UKR, ZH |
| format | enum | No | "asciidoc" | Output format: asciidoc (or adoc), markdown (or md) |
Returns: Complete workflow guide text with section explanations, available languages, supported formats, and workspace root path.
2. arc42-init
Initialize the arc42 documentation workspace. Creates arc42-docs/ directory with all 12 section files, config.yaml, README, and a main documentation file.
| Parameter | Type | Required | Default | Description |
|----------------|---------|----------|----------------|--------------------------------------------------------------------|
| projectName | string | Yes | — | Name of the project being documented |
| language | enum | No | "EN" | Language code (see above) |
| format | enum | No | "asciidoc" | Output format: asciidoc/adoc or markdown/md |
| force | boolean | No | false | Force re-initialization even if workspace already exists |
| targetFolder | string | No | server default | Absolute path to target folder where arc42-docs/ will be created |
Returns: Workspace root path, sections created count, config (including arc42 template reference version, date, and commit SHA).
Created structure:
<targetFolder>/arc42-docs/
├── README.md
├── arc42-documentation.adoc (or .md)
├── config.yaml
├── sections/
│ ├── 01_introduction_and_goals.adoc (or .md)
│ ├── 02_architecture_constraints.adoc (or .md)
│ └── ... (all 12 sections)
└── images/
3. arc42-status
Check documentation completion status. Shows per-section progress with word counts, completeness percentages, and overall progress.
| Parameter | Type | Required | Default | Description |
|----------------|--------|----------|----------------|--------------------------------------------------|
| targetFolder | string | No | server default | Absolute path to folder containing arc42-docs/ |
Returns: Project name, initialized state, language and format info, arc42 template reference version, per-section status (exists, word count, completeness 0-100%, last modified), and overall completeness percentage.
4. generate-template
Generate a detailed template for a specific section. Always use this before writing content — it provides the expected structure, subsections, and guidance for what information to include.
| Parameter | Type | Required | Default | Description |
|------------|------|----------|--------------|-----------------------------------------------------|
| section | enum | Yes | — | Section ID (see section reference below) |
| language | enum | No | "EN" | Language code |
| format | enum | No | "asciidoc" | Output format: asciidoc/adoc or markdown/md |
Returns: Complete template content with guidance, section metadata (title, description, order), format details.
5. update-section
Write content to a specific section. Format is auto-detected from existing files or config.yaml.
| Parameter | Type | Required | Default | Description |
|----------------|--------|----------|----------------|-------------------------------------------------------------|
| section | enum | Yes | — | Section ID (see section reference below) |
| content | string | Yes | — | The content to write to the section |
| mode | enum | No | "replace" | "replace" overwrites, "append" adds to existing content |
| targetFolder | string | No | server default | Absolute path to folder containing arc42-docs/ |
Returns: Section title, file path, detected format, word count, and write mode used.
Important: Use mode: "append" when adding ADRs (Section 9) or adding incremental content to avoid overwriting existing entries.
6. get-section
Read content from a specific section, including metadata.
| Parameter | Type | Required | Default | Description |
|----------------|--------|----------|----------------|--------------------------------------------------|
| section | enum | Yes | — | Section ID (see section reference below) |
| targetFolder | string | No | server default | Absolute path to folder containing arc42-docs/ |
Returns: Section content, language, format, title, description, and file metadata (path, last modified timestamp, word count, file size in bytes).
The 12 Arc42 Sections
| # | Section ID | Name | Key Content |
|----|-------------------------------|--------------------------|-------------------------------------------------------------------|
| 1 | 01_introduction_and_goals | Introduction and Goals | Requirements overview, quality goals, stakeholders |
| 2 | 02_architecture_constraints | Architecture Constraints | Technical, organizational, and political constraints |
| 3 | 03_context_and_scope | Context and Scope | Business context, technical context, external interfaces |
| 4 | 04_solution_strategy | Solution Strategy | Technology decisions, top-level decomposition, quality approaches |
| 5 | 05_building_block_view | Building Block View | Static decomposition (Level 1, 2, 3) of the system |
| 6 | 06_runtime_view | Runtime View | Key scenarios, sequence diagrams, process flows |
| 7 | 07_deployment_view | Deployment View | Infrastructure, deployment diagrams, node mapping |
| 8 | 08_concepts | Cross-cutting Concepts | Security, persistence, logging, error handling patterns |
| 9 | 09_architecture_decisions | Architecture Decisions | ADRs with context, decision, status, and consequences |
| 10 | 10_quality_requirements | Quality Requirements | Quality tree, quality scenarios |
| 11 | 11_technical_risks | Risks and Technical Debt | Known risks, technical debt items |
| 12 | 12_glossary | Glossary | Domain terms and definitions |
Recommended Documentation Order
Start with the most impactful sections. You do NOT need to document all 12 sections sequentially.
| Priority | Section | Why | |----------|--------------------------------------------------|-----------------------------------------------------------------------| | 1st | Section 1 — Introduction and Goals | Always start here: establishes scope, quality goals, and stakeholders | | 2nd | Section 3 — Context and Scope | Define system boundaries and external interfaces early | | 3rd | Section 4 — Solution Strategy | Capture key technology and design decisions | | 4th | Section 5 — Building Block View | Document the system's static structure | | 5th | Section 9 — Architecture Decisions | Record important ADRs while decisions are fresh | | Then | Section 2 — Constraints | Document technical/organizational constraints | | Then | Sections 6–8 — Runtime, Deployment, Concepts | Fill in dynamic behavior, infrastructure, cross-cutting concerns | | Last | Sections 10–12 — Quality, Risks, Glossary | Complete the documentation |
Behavioral Guidelines
Before Writing Any Section
- Generate the template first — call
generate-templatefor the section to understand the expected structure and subsections - Ask clarifying questions — never assume project details; ask the user about their specific context, technologies, and decisions
- Check existing content — call
get-sectionto see if there's already content to build upon - Respect the configured format — call
arc42-statusto check whether the project uses AsciiDoc or Markdown, then write content in that format
Content Quality
- Document WHY, not just WHAT — focus on rationale and trade-offs behind decisions
- Include diagrams — use Mermaid or PlantUML syntax for context diagrams, building block views, deployment views, and sequence diagrams
- Be specific — use concrete technology names, version numbers, and measurable quality attributes
- Keep sections focused — each section has a distinct purpose; avoid duplicating information across sections
- Use proper formatting — match the output format (AsciiDoc uses
=headings, admonitions withNOTE:,TIP:; Markdown uses#headings)
ADR Best Practices (Section 9)
- Always use
mode: "append"when adding new ADRs to avoid overwriting existing ones - Always call
get-sectionfirst to read existing ADRs and determine the next ADR number - Follow a consistent ADR structure: Title with number, Status, Context, Decision, Consequences (positive and negative)
Using Tool Responses
Every tool response includes:
success— boolean indicating whether the operation succeededmessage— human-readable summary of what happeneddata— structured response data (varies by tool)nextSteps— array of suggested follow-up actions; use these to guide the user on what to do next
Multi-Language Support
11 languages are supported. Set the language during arc42-init; it persists in config.yaml and applies to all subsequent operations.
| Code | Language | Code | Language |
|------|----------|-------|------------|
| EN | English | PT | Portuguese |
| DE | German | RU | Russian |
| ES | Spanish | CZ | Czech |
| FR | French | UKR | Ukrainian |
| IT | Italian | ZH | Chinese |
| NL | Dutch | | |
Multi-Format Support
| Format | Aliases | Extension | Best For |
|------------------------|--------------------|-----------|--------------------------------------------------------------------------------------|
| AsciiDoc (default) | asciidoc, adoc | .adoc | Professional docs — supports includes, admonitions, cross-references, TOC generation |
| Markdown | markdown, md | .md | Simplicity — widely supported, GitHub/GitLab rendering |
Set the format during arc42-init. The update-section tool auto-detects the format from existing files or config.yaml. Format aliases (md/adoc) are accepted anywhere a format parameter is used.
Examples
See references/examples.md for detailed usage examples covering:
- Starting a new project from scratch
- Documenting a specific section (e.g., deployment view)
- Adding Architecture Decision Records (ADRs) with proper append mode
- Documenting cross-cutting concepts
- Multi-language documentation
- Reviewing and improving existing documentation
- Re-initializing an existing workspace
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/arc42-architecture-documentation-mmk3nhbg/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/arc42-architecture-documentation-mmk3nhbg' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/arc42-architecture-documentation-mmk3nhbg/download' --output '.skill-downloads/arc42-architecture-documentation-mmk3nhbg/SKILL.md.part' && mv '.skill-downloads/arc42-architecture-documentation-mmk3nhbg/SKILL.md.part' '.skill-downloads/arc42-architecture-documentation-mmk3nhbg/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Extrait original : Prerequisites
The arc42-mcp-server MCP server must be configured and running. See setup instructions for installation and configuration.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/arc42-architecture-documentation-mmk3nhbg/SKILL.md' && test -s '.skill-downloads/arc42-architecture-documentation-mmk3nhbg/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/arc42-docs' && cp -R '.skill-downloads/arc42-architecture-documentation-mmk3nhbg' '.claude/skills/arc42-docs'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/arc42-architecture-documentation-mmk3nhbg'openskills read 'arc42-architecture-documentation-mmk3nhbg'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/arc42-architecture-documentation-mmk3nhbg/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Rédaction de docs Supabase
Documentation
Rédigez, éditez et révisez le contenu de la documentation Supabase : guides, tutoriels, références et partiels. Suivez les guides de style et les règles de validation MDX/TOML.
Créer un enregistrement de décision d'architecture
Documentation
Créer un nouveau ADR avec numérotation séquentielle, l'enregistrer dans le graphe AgentDB et le lier aux ADR associés.
Mise à jour de plan avec recherche approfondie
Documentation
Met à jour un document de plan en lançant des sous-agents en parallèle pour analyser un sujet sur tous les passes du compilateur, puis consolide les résultats.