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

C4 Generator

skill-wesleyegberto-software-engineering-skills-c4-generator · by wesleyegberto

Generate C4 diagrams from project analysis.

— No reviews yet
0 installs
0 views
— view→install

Install

$ agentstack add skill-wesleyegberto-software-engineering-skills-c4-generator

✓ 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-wesleyegberto-software-engineering-skills-c4-generator)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 27d 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 Generator? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Objective

Enable AI agents to automatically generate C4 diagrams (C1, C2, C3, and C4 levels) from project analysis.

Process Steps

  1. Project Structure Analysis
  • Identify the general architecture, main modules, components, and purpose of the system.
  1. Package/Folder Structure and Organization Analysis
  • Map the directory hierarchy, logical groupings, and responsibilities of each package/folder.
  1. Analysis of Integrations with External Systems and Resources
  • Detect connections with APIs, queues, files, databases, and other external systems.
  1. Dependency Analysis
  • Identify relevant libraries, frameworks, and external dependencies for the architecture.
  1. C4 Diagram Generation
  • Generate diagrams for each level (C1, C2, C3, C4) in Mermaid format.
  1. User Interaction
  • If there are doubts or ambiguous points, ask the user for clarification before finalizing the diagrams.
  1. Final Markdown Generation
  • Create a markdown file containing:
  • Analysis summary
  • Mermaid diagrams for each level (C1, C2, C3, C4)

Example of Generated Markdown Structure


C4 Analysis of Project

Analysis Summary

  • General project structure
  • Main packages and responsibilities
  • External integrations
  • Dependencies

C4 Diagram - Level 1 (Context)

C4Context
    ...

C4 Diagram - Level 2 (Container)

C4Container
    ...

C4 Diagram - Level 3 (Component)

C4Component
    ...

C4 Diagram - Level 4 (Code)

C4Dynamic
    ...

Observations

  • Always question the user if any point of the analysis is not clear.
  • Use the actual project structure to detail the diagrams.
  • Adapt the diagrams according to the complexity and context of the analyzed project.

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.