Skip to content
CommandImported

create-architecture-documentation

Generate comprehensive architecture documentation with diagrams, ADRs, and interactive visualization

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 5.4 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/create-architecture-documentation.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/create-architecture-documentation.zip -d ~/.claude/commands

Instructions

Architecture Documentation Generator

Generate comprehensive architecture documentation: $ARGUMENTS

Current Architecture Context

  • Project structure: !find . -type f -name "*.json" -o -name "*.yaml" -o -name "*.toml" | head -5
  • Documentation exists: @docs/ or @README.md (if exists)
  • Architecture files: !find . -name "*architecture*" -o -name "*design*" -o -name "*.puml" | head -3
  • Services/containers: @docker-compose.yml or @k8s/ (if exists)
  • API definitions: !find . -name "*api*" -o -name "*openapi*" -o -name "*swagger*" | head -3

Task

Generate comprehensive architecture documentation with modern tooling and best practices:

  1. Architecture Analysis and Discovery

    • Analyze current system architecture and component relationships
    • Identify key architectural patterns and design decisions
    • Document system boundaries, interfaces, and dependencies
    • Assess data flow and communication patterns
    • Identify architectural debt and improvement opportunities
  2. Architecture Documentation Framework

    • Choose appropriate documentation framework and tools:
      • C4 Model: Context, Containers, Components, Code diagrams
      • Arc42: Comprehensive architecture documentation template
      • Architecture Decision Records (ADRs): Decision documentation
      • PlantUML/Mermaid: Diagram-as-code documentation
      • Structurizr: C4 model tooling and visualization
      • Draw.io/Lucidchart: Visual diagramming tools
  3. System Context Documentation

    • Create high-level system context diagrams
    • Document external systems and integrations
    • Define system boundaries and responsibilities
    • Document user personas and stakeholders
    • Create system landscape and ecosystem overview
  4. Container and Service Architecture

    • Document container/service architecture and deployment view
    • Create service dependency maps and communication patterns
    • Document deployment architecture and infrastructure
    • Define service boundaries and API contracts
    • Document data persistence and storage architecture
  5. Component and Module Documentation

    • Create detailed component architecture diagrams
    • Document internal module structure and relationships
    • Define component responsibilities and interfaces
    • Document design patterns and architectural styles
    • Create code organization and package structure documentation
  6. Data Architecture Documentation

    • Document data models and database schemas
    • Create data flow diagrams and processing pipelines
    • Document data storage strategies and technologies
    • Define data governance and lifecycle management
    • Create data integration and synchronization documentation
  7. Security and Compliance Architecture

    • Document security architecture and threat model
    • Create authentication and authorization flow diagrams
    • Document compliance requirements and controls
    • Define security boundaries and trust zones
    • Create incident response and security monitoring documentation
  8. Quality Attributes and Cross-Cutting Concerns

    • Document performance characteristics and scalability patterns
    • Create reliability and availability architecture documentation
    • Document monitoring and observability architecture
    • Define maintainability and evolution strategies
    • Create disaster recovery and business continuity documentation
  9. Architecture Decision Records (ADRs)

    • Create comprehensive ADR template and process
    • Document historical architectural decisions and rationale
    • Create decision tracking and review process
    • Document trade-offs and alternatives considered
    • Set up ADR maintenance and evolution procedures
  10. Documentation Automation and Maintenance

    • Set up automated diagram generation from code annotations
    • Configure documentation pipeline and publishing automation
    • Set up documentation validation and consistency checking
    • Create documentation review and approval process
    • Train team on architecture documentation practices and tools
    • Set up documentation versioning and change management

Files

  • LICENSE1 KB
  • create-architecture-documentation.md4.3 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/documentation/create-architecture-documentation.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • CommandImported

    add-changelog

    Generate and maintain project changelog with Keep a Changelog format

    MITFiles: 1

  • CommandImported

    add-to-changelog

    Add entry to project changelog following Keep a Changelog format

    MITFiles: 1

  • CommandImported

    changelog-demo-command

    Demonstrate changelog automation features with real examples and validation

    MITFiles: 1

  • CommandImported

    code-explain

    Explain complex code, algorithms, and design patterns with step-by-step breakdowns, visual diagrams, and interactive examples

    MITFiles: 1

  • CommandImported

    context-prime

    Load project context by reading README.md and listing the tracked files

    MITFiles: 1

  • CommandImported

    doc-generate

    Generate API, architecture, code, and user documentation from a codebase and automate keeping it current

    MITFiles: 1