c4

    1

    Scaffold, model, and export C4 architecture diagrams using Structurizr DSL and Nygard ADRs.

    $5

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    c4

    Example session with this skill installed

    We just added a Redis cache between the API gateway and the Postgres DB. Update the C4 workspace to reflect this and export it as a Mermaid diagram.

    • Read your context and instructions
    • Compiled the output

    I have updated the workspace.dsl to include the new Redis cache container and established the relationships between the API Gateway and the PostgreSQL database. I also generated the updated Mermaid diagram files.

    Architecture Update

    ActionComponentDescription
    AddedcacheRedis container for session storage and query caching.
    Updatedapi_gatewayAdded dependency on cache for read-aside operations.
    UpdateddatabaseMaintained as primary persistence layer.
    ExportedmermaidGenerated container-diagram.mmd for documentation.
    graph TD
      subgraph "System Boundary"
        gateway[API Gateway]
        cache[(Redis Cache)]
        db[(Postgres DB)]
      end
    
      gateway -->|Reads/Writes| cache
      gateway -->|Persists| db
      cache -.->|Invalidates| db
    

    Next steps

    1. Review the new relationships in workspace.dsl.
    2. Commit the generated .mmd file to the docs/architecture directory.
    3. Run c4 preview if you want to see the updated styles in your browser.
    $5/mo

    Subscription · always the latest version

    • Secure checkout via Stripe
    • Cancel anytime
    • Delivered live via MCP

    About this skill

    Architecture diagrams often rot because the friction of updating DSLs or manual drawing is too high. This skill automates the creation and maintenance of C4 model architecture using the Structurizr DSL, ensuring your system design stays in sync with your implementation.

    What it does

    • Scaffold workspaces by generating the initial Structurizr DSL structure, ADR folders, and documentation templates.
    • Model infrastructure to map codebases, AWS environments, or Kubernetes clusters into C4 containers and components.
    • Manage ADRs using the Nygard format to record, supersede, and track architectural decisions alongside the model.
    • Export diagrams into multiple formats including Mermaid, PlantUML, JSON, and static HTML sites for documentation.
    • Live preview diagrams in a local browser with auto-reload capabilities during the editing process.
    • Validate syntax to catch Structurizr DSL errors before they break your CI/CD or documentation pipeline.

    How it works

    1. Dispatch by identifying if the project needs a new workspace, an update to an existing model, or a validation check.
    2. Apply conventions to ensure ADR numbering, naming, and style guides match the project's architectural standards.
    3. Execute workflows to modify workspace.dsl, add views, or update deployment environments.
    4. Render and export the final visual assets for use in READMEs, wikis, or stakeholder presentations.

    Frameworks & tools

    This tool uses the Structurizr DSL, Nygard Architecture Decision Records (ADRs), PlantUML, and Mermaid. It interacts with the local filesystem and Docker for rendering and validation.

    Why this beats prompting it yourself

    Generic LLMs often hallucinate DSL syntax or ignore strict ADR numbering conventions. This skill follows specific workflows for validation and style consistency, preventing the broken relationships and syntax errors common in manual prompting.

    Use cases

    • Scaffold a new architecture-as-code repository for a microservices project.
    • Update a C4 container diagram after adding a new database or message queue.
    • Export Mermaid diagrams from a DSL to embed directly into GitHub READMEs.
    • Track a major technology shift by recording a Nygard ADR that supersedes a previous decision.

    Known limitations

    Requires a local environment capable of running Bash and Docker for full rendering and validation features. DSL files must be structured according to the tool's expected workspace layout.

    Requires Bash and Docker for rendering and validation. Works best with projects following the Structurizr DSL and Nygard ADR standards.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Permissions

    Terminal / Shell
    Network Access
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    This skill automates the creation of C4 model diagrams using Structurizr DSL and tracks architectural evolution through Nygard ADRs, preventing 'documentation rot' by keeping your visual models in sync with your codebase.

    The skill exports to several industry-standard formats, including Mermaid, PlantUML, JSON, and static HTML, making it easy to embed your diagrams directly into GitHub READMEs, wikis, or internal presentations.

    Yes, the skill is designed to manage Nygard-style ADRs, allowing you to record new decisions, track historical changes, and automatically handle the 'superseded' status of older architectural records.

    You will need a local environment capable of running Bash and Docker, as these are required for the full rendering, syntax validation, and live preview functionalities.

    Unlike generic prompts, this skill uses specific validation workflows and strict style guides to prevent syntax hallucinations and broken relationships within your Structurizr DSL files.

    The skill is compatible with most major AI agent platforms that support filesystem access and command-line tool execution, allowing it to interact with your local workspace.

    New in Technical Documentation