AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

C4 Diagram

skill-vijayjoshi24-ea-agent-skills-c4-diagram · by vijayjoshi24

>

No reviews yet
0 installs
38 views
0.0% view→install

Install

$ agentstack add skill-vijayjoshi24-ea-agent-skills-c4-diagram

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-vijayjoshi24-ea-agent-skills-c4-diagram)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of C4 Diagram? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

C4 Diagram

Generate interactive C4 model diagrams at the right zoom level for your audience. Read references/notation.md before rendering any diagram.


The Four Levels

| Level | Audience | Shows | |---|---|---| | 1 — Context | Business, executives | The system + its users + external systems | | 2 — Container | Architects, tech leads | Deployable units inside the system | | 3 — Component | Engineering teams | Structural building blocks inside one container | | 4 — Code | Developers | Class/interface level — skip unless explicitly requested |


Step 1 — Determine Level and Extract Elements

If the user hasn't specified a level, default to Context first.

Extract from the user's description:

Context: system in scope · people/actors · external systems · relationships Container: containers (with technology) · external systems they call · relationships with protocols Component: which container to zoom into · components (with pattern/technology) · internal + external relationships

State any assumptions you make (e.g. "Assumed: auth is delegated to the API Gateway").


Step 2 — Render the Diagram

Use the show_widget visualiser. Follow references/notation.md exactly for:

  • Shapes and colours per element type
  • Label format: name · [type] · description (one sentence)
  • Relationship arrows: one direction, labelled with intent + technology
  • Title: {Level} Diagram — {System Name}
  • Legend in bottom-right corner

Make every element clickable to drill down:

  • Container in Context → sendPrompt('Draw the Container diagram for {system}')
  • Container in Container → sendPrompt('Draw the Component diagram for {container}')
  • External system → sendPrompt('Explain the {system} integration')

Max 10 elements per diagram. If more exist, scope to the most relevant and note omissions.


Step 3 — Quality Gate

Before delivering, verify:

  • [ ] Title present
  • [ ] Every element: name + [type] + description
  • [ ] Every relationship: directional arrow + intent label
  • [ ] External systems visually distinct (grey)
  • [ ] People distinct from systems
  • [ ] Legend present
  • [ ] ≤10 elements

Step 4 — Offer Navigation

After Context → offer Container After Container → offer Component for a specific container After Component → offer Structurizr DSL export or ArchiMate equivalent


Reference Files

  • references/notation.md — canonical colours, shapes, label rules per level. Read before every render.
  • references/archetypes.md — worked examples for FS, SaaS, agentic AI, microservices.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.