Skip to content

A collection of instructions and prompts to utilize LLMs for creating documentation that follow the arc42 standard.

License

Notifications You must be signed in to change notification settings

MSiccDev/awesome-arc42-copilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Awesome arc42 Copilot

arc42 License: MIT PRs Welcome

Production-ready arc42 architecture documentation system optimized for AI coding assistants (GitHub Copilot, Cursor, Claude Code, and other LLM tools).

Create professional software architecture documentation with AI assistance using the proven arc42 template. This repository provides comprehensive instructions and prompts specifically designed for Large Language Models to generate high-quality, standards-compliant architecture documentation.


โœจ Features

  • โœ… Complete arc42 Coverage - All 12 sections with detailed instructions
  • ๐Ÿค– LLM-Optimized - Specially crafted prompts for GitHub Copilot, Cursor, and Claude Code
  • ๐Ÿ“Š Q42 Quality Model - Integrated quality framework with 492 attributes across 8 properties
  • ๐ŸŽฏ Three Detail Levels - LEAN (minimal), ESSENTIAL (core), THOROUGH (comprehensive)
  • โœ… Quality Assurance - Built-in review protocol for validation
  • ๐Ÿ“š Official Standards - Based on arc42.org, docs.arc42.org, and quality.arc42.org
  • ๐Ÿ”„ Flexible & Pragmatic - "All sections optional" - use what you need
  • ๐ŸŒ Open Source - Free to use, modify, and contribute

๐ŸŽฏ What is arc42?

arc42 is the proven, open-source template for software architecture documentation created by Dr. Gernot Starke and Dr. Peter Hruschka. Used in thousands of projects worldwide, it provides a pragmatic, tool-agnostic approach to documenting software architectures.

Core Philosophy:

  • Document economically but continuously
  • "Painless documentation" - only what stakeholders truly need
  • All sections are optional - use what fits your project
  • Suitable for agile and traditional environments

๐Ÿš€ Quick Start

For GitHub Copilot / Cursor / Claude Code Users

  1. Clone or download this repository

    git clone https://github.com/MSicc/awesome-arc42-copilot.git
  2. Choose your section (e.g., Section 1: Introduction and Goals)

    • Open prompts/arc42-section-01-prompt.md
    • Read the input template
    • Fill in your project details
  3. Let your AI assistant generate the documentation

    • Copy the prompt into your AI coding assistant
    • Provide your project-specific information
    • Review and refine the generated output

Example Workflow

1. Read: instructions/arc42-section-01-instructions.md
   โ†’ Understand what Section 1 should contain

2. Use: prompts/arc42-section-01-prompt.md
   โ†’ Generate documentation with your AI assistant

3. Review and refine the generated output
   โ†’ Iterate with your AI assistant until satisfied

Note: The quality/REVIEW-PROMPT.md is for maintainers to validate the instruction and prompt files themselves, not for reviewing your generated documentation.


๐Ÿ“‚ Repository Structure

awesome-arc42-copilot/
โ”‚
โ”œโ”€โ”€ README.md                          # This file
โ”œโ”€โ”€ LICENSE                            # MIT License
โ”œโ”€โ”€ CONTRIBUTING.md                    # Contribution guidelines
โ”‚
โ”œโ”€โ”€ instructions/                      # Human-readable guidelines
โ”‚   โ”œโ”€โ”€ arc42-global-instructions.md  # Overview and philosophy
โ”‚   โ”œโ”€โ”€ arc42-section-01-instructions.md
โ”‚   โ”œโ”€โ”€ arc42-section-02-instructions.md
โ”‚   โ””โ”€โ”€ ... (sections 03-12)
โ”‚
โ”œโ”€โ”€ prompts/                           # LLM-optimized prompts
โ”‚   โ”œโ”€โ”€ arc42-section-01-prompt.md    # Introduction & Goals
โ”‚   โ”œโ”€โ”€ arc42-section-02-prompt.md    # Constraints
โ”‚   โ”œโ”€โ”€ arc42-section-03-prompt.md    # Context & Scope
โ”‚   โ””โ”€โ”€ ... (sections 04-12)
โ”‚
โ””โ”€โ”€ quality/
    โ””โ”€โ”€ REVIEW-PROMPT.md               # QA protocol for validating instruction/prompt files

Note: The quality/ folder contains the systematic review protocol used to ensure the instruction and prompt files meet arc42 standards. This is for repository maintainers, not for end-users validating their generated documentation.


๐Ÿ“– The 12 arc42 Sections

Section Name Purpose Required?
1 Introduction and Goals Requirements overview, quality goals, stakeholders Quality goals mandatory
2 Constraints Technical, organizational, political boundaries Optional
3 Context and Scope System boundary and external interfaces Recommended
4 Solution Strategy Fundamental decisions and approaches Recommended
5 Building Block View Static structure (Level-1 mandatory) Level-1 mandatory
6 Runtime View Dynamic behavior scenarios Optional
7 Deployment View Infrastructure and deployment Optional
8 Crosscutting Concepts Overarching patterns and rules Optional
9 Architecture Decisions ADRs with rationale Recommended
10 Quality Requirements Detailed quality scenarios Recommended
11 Risks and Technical Debt Known problems and risks Optional
12 Glossary Domain and technical terminology Recommended

๐ŸŽจ Three Documentation Approaches

๐Ÿƒ LEAN (Agile/Minimal)

Best for: Agile teams, time-constrained projects, evolving systems

Characteristics:

  • 1-3 pages per section maximum
  • Focus on essential information only
  • "Dare to leave gaps" philosophy

Minimum sections:

  • Section 1.2: Quality Goals
  • Section 3: Context
  • Section 5.1: Building Block Level-1
  • Section 9: Key Decisions
  • Section 12: Glossary

๐Ÿ“‹ ESSENTIAL (Core Information)

Best for: Most projects - balanced approach

Characteristics:

  • Non-negotiable minimum for production systems
  • Critical architectural information
  • Enables basic understanding

Includes: LEAN plus requirements overview, stakeholders, constraints, solution strategy

๐Ÿ“š THOROUGH (Comprehensive)

Best for: Critical systems, formal environments, audit requirements, large teams

Characteristics:

  • Complete documentation across all sections
  • Detailed scenarios and specifications
  • Multiple refinement levels
  • Extensive validation

Includes: All 12 sections fully documented


๐Ÿ”ง How to Use with AI Tools

GitHub Copilot

1. Open prompt file in your editor
2. Fill in project-specific details
3. Use Copilot Chat to generate documentation
4. Refine with follow-up prompts

Cursor

1. Open prompt file in Cursor
2. Select the prompt template
3. Use Cursor's AI to fill in details
4. Iterate until satisfied

Claude Code

1. Reference prompt file in your project
2. Provide project context
3. Ask Claude to generate section
4. Review and validate output

Other LLM Tools

The prompts are designed to work with any LLM tool that supports:

  • Markdown understanding
  • Structured templates
  • Context-aware generation

๐ŸŒŸ Key Benefits

For Architects

  • โœ… Save 60-80% documentation time
  • โœ… Consistent, high-quality output
  • โœ… Standards-compliant documentation
  • โœ… Focus on decisions, not formatting

For Teams

  • โœ… Shared vocabulary and structure
  • โœ… Easy onboarding for new members
  • โœ… Reduced documentation debt
  • โœ… Better stakeholder communication

For Organizations

  • โœ… Standardized architecture documentation
  • โœ… Knowledge preservation
  • โœ… Improved audit readiness
  • โœ… Scalable documentation process

๐Ÿ“Š Q42 Quality Model Integration

This system integrates the Q42 quality model - a comprehensive framework with 492 quality attributes organized into 8 properties:

Property Attributes Focus
#reliable 97 Availability, Fault Tolerance, Accuracy
#flexible 50 Adaptability, Maintainability, Extensibility
#efficient 71 Response Time, Throughput, Resource Usage
#usable 103 Learnability, Operability, Accessibility
#safe 28 Risk-free, Fail-safe, Hazard Warnings
#secure 36 Confidentiality, Integrity, Authentication
#suitable 52 Functional Completeness, Testability
#operable 55 Installability, Monitorability, Deployability

Learn more: quality.arc42.org


๐Ÿค Contributing

We welcome contributions! Here's how you can help:

  • ๐Ÿ› Report bugs - Found an issue? Open a bug report
  • ๐Ÿ’ก Suggest improvements - Have ideas? Share them in discussions
  • ๐Ÿ“ Improve documentation - Fix typos, add examples, clarify instructions
  • ๐ŸŒŸ Share examples - Submit real-world usage examples
  • ๐Ÿ”ง Enhance prompts - Improve LLM prompt effectiveness

๐Ÿ“– Read our Contributing Guide โ†’ for detailed guidelines on how to get started.


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Note: arc42ยฎ is a registered trademark of Dr. Gernot Starke and Dr. Peter Hruschka. This project is based on the freely available arc42 template and is not officially affiliated with arc42.org.


โš ๏ธ How This Project Was Created

This repository is itself a demonstration of AI-assisted technical writing. The instructions and prompts were created through an iterative collaboration between a human architect (Marco) and Claude (Anthropic's AI assistant).

Creation Process:

  1. Research Phase - Extensive review of official arc42 sources (arc42.org, docs.arc42.org, quality.arc42.org, faq.arc42.org)
  2. Instruction Development - Section-by-section creation of comprehensive guidelines based on official arc42 standards
  3. LLM Optimization - Crafting prompts specifically designed for AI coding assistants
  4. Quality Assurance - Systematic review against arc42 standards using a structured validation protocol
  5. Iterative Refinement - Multiple review cycles to ensure accuracy and completeness

Key Principles:

  • โœ… Authenticity First - All content based on official arc42 sources, not invented
  • โœ… Standards Compliance - Validated against docs.arc42.org and quality.arc42.org
  • โœ… Human Oversight - Human architect provided direction, requirements, and validation
  • โœ… AI Efficiency - AI assistant handled research, synthesis, and structured content creation
  • โœ… Systematic Quality - Built-in review protocol ensures ongoing accuracy

This collaboration model demonstrates how AI can accelerate documentation work while maintaining professional standards - exactly what this repository enables for architecture documentation.

Transparency Note:

We believe in transparency about AI involvement in content creation. This repository was:

  • Researched by AI from authoritative arc42 sources
  • Structured by AI following arc42 methodology
  • Directed by human expertise in software architecture
  • Validated through systematic quality reviews
  • Maintained with ongoing human oversight

The result is production-ready content that respects the original arc42 creators' work while making it more accessible through modern AI tools.


๐Ÿ™ Acknowledgments

  • arc42 Template - Created by Dr. Gernot Starke and Dr. Peter Hruschka
  • Official Sources:
  • Claude (Anthropic) - AI assistant used in creating this repository's content
  • Contributors - See CONTRIBUTORS.md for everyone who has helped make this project better

๐Ÿ”— Related Resources


๐Ÿ“ž Support


โญ Star History

If you find this project helpful, please consider giving it a star! โญ


๐Ÿ“ˆ Project Status

  • โœ… Version 1.0 - Complete arc42 coverage (all 12 sections)
  • โœ… Production Ready - Quality assured and validated
  • โœ… Actively Maintained - Regular updates and improvements
  • โœ… Community Driven - Open to contributions

๐Ÿ—บ๏ธ Roadmap

Phase 1: Quality Refinement (In Progress)

Goal: Incorporate improvements identified during systematic quality reviews

  • ๐Ÿ”„ Refine Instructions - Address findings from section-by-section validation
  • ๐Ÿ”„ Enhance Prompts - Improve LLM effectiveness based on review feedback
  • ๐Ÿ”„ Update Examples - Add more concrete, real-world examples
  • ๐Ÿ”„ Cross-Section Consistency - Ensure perfect alignment between related sections

Phase 2: Real-World Validation (Next)

Goal: Battle-test the system on an actual project

  • ๐Ÿ“‹ Use Case: persona-template MCP Server
    • Project: Developer tool for managing persona preferences and projects across AI providers
    • Purpose: Document MCP (Model Context Protocol) server architecture
    • Benefit: Validate arc42-copilot system on real infrastructure project
    • Output: Complete example arc42 documentation in repository

What is persona-template? An upcoming project that provides developers an easy way to move persona preferences and software projects between AI providers (GitHub Copilot, Cursor, Claude, etc.). The MCP server architecture will be documented using this arc42-copilot system, serving as both:

  • Real-world validation of our methodology
  • Reference implementation for others
  • Example of arc42 documentation for AI infrastructure

Phase 3: Community Growth (Future)

Goal: Expand examples and community contributions

  • ๐Ÿ“š More Examples - Additional real-world documentation samples
  • ๐ŸŽฏ Domain-Specific Templates - Variations for microservices, embedded systems, data platforms
  • ๐ŸŒ Community Contributions - User-submitted examples and improvements
  • ๐Ÿ“– Tutorial Content - Video walkthroughs and step-by-step guides
  • ๐Ÿ”Œ Tool Integrations - Plugins for popular IDEs and documentation tools

How You Can Help

  • ๐Ÿงช Test it - Use the system on your project and share feedback
  • ๐Ÿ“ Contribute examples - Submit your arc42 documentation as examples
  • ๐Ÿ› Report issues - Help us identify and fix problems
  • ๐Ÿ’ก Suggest improvements - Share ideas for better prompts or instructions
  • โญ Star the repo - Help others discover this resource

Made with โค๏ธ for the software architecture community

Bringing AI-powered efficiency to architecture documentation while maintaining the highest standards of quality and compliance.

About

A collection of instructions and prompts to utilize LLMs for creating documentation that follow the arc42 standard.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published