c4-deployment

Model deployment environments with C4 diagrams using Structurizr DSL.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/jrjsmrtn/c4-skills --skill c4-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: c4-deployment
Source: https://github.com/jrjsmrtn/c4-skills/tree/main/skills/c4-deployment
Command: npx skills add https://github.com/jrjsmrtn/c4-skills --skill c4-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you create and document deployment environments using C4 deployment diagrams and Structurizr DSL, streamlining the process of modeling infrastructure and deployment architecture.

Core Features & Use Cases

  • C4 Deployment Diagrams: Visualize the mapping of containers to physical or virtual infrastructure.
  • Structurizr DSL: Use Structurizr DSL syntax to define deployment environments and elements.
  • Use Case: Model a complex deployment environment with multiple nodes, instances, and infrastructure components, ensuring clarity and consistency in your documentation.

Quick Start

Use the c4-deployment skill to create a deployment diagram for your production environment.

Frequently Asked Questions about c4-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is a C4 deployment diagram and when do I need one?

A C4 deployment diagram visualizes the mapping of software containers to physical or virtual infrastructure nodes. You need one to document deployment environments, ensuring clarity in how infrastructure components support your systems.

How do I model a deployment environment using Structurizr DSL?

You model a deployment environment by writing Structurizr DSL syntax to define deployment nodes, infrastructure components, and container mappings. This approach applies C4 architecture principles to map software systems onto their underlying infrastructure.

Do I need prior knowledge of Structurizr DSL to create deployment diagrams?

Yes, creating deployment diagrams requires knowledge of Structurizr DSL syntax and deployment architecture concepts. This foundation is necessary to accurately define deployment nodes and map containers to infrastructure.

What's the best way to document infrastructure for a complex production environment?

The best way to document complex infrastructure is using C4 deployment diagrams to map multiple nodes, instances, and infrastructure components. This ensures consistency and clarity when visualizing how containers map to physical or virtual deployment environments.

Can I map multiple software containers to the same deployment node?

Yes, C4 deployment diagrams support mapping multiple containers to a single deployment node. This allows you to model complex deployment environments where multiple software systems or instances run on shared physical or virtual infrastructure.