Agent skill

033 Architecture Diagrams

by jabrena in jabrena/plinth

A skill your agent uses when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams…

Apache-2.0Auto-check passedDevelopment

Install 033 Architecture Diagrams

skills CLI
$ npx skills add jabrena/plinth --skill 033-architecture-diagrams -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jabrena/plinth 033-architecture-diagrams --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jabrena/plinth.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/033-architecture-diagrams .claude/skills/033-architecture-diagrams && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
033-architecture-diagrams
GitHub stars
447
Token cost
~3.1k tokens
SKILL.md length
1,434 words
Files
8 (incl. references)
Skills in repo
124
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams…

  • You need to generate Java project diagrams — including UML sequence diagrams
  • SKILL.md covers Constraints, When to use this skill, Workflow and Reference
  • Calls mvn
  • UML class diagrams

What it does

033 Architecture Diagrams is an agent skill from jabrena/plinth. Use when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams, ER (Entity Relationship) diagrams, and bounded-context diagrams — through a modular, step-based interactive process that adapts to your specific visualization needs. This should trigger for requests such as Generate UML diagram; Create sequence diagram; Create class diagram; Create state machine diagram; Create deployment diagram; Create…

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `references/033-architecture-diagrams-bounded-context.md`, `references/033-architecture-diagrams-c4.md` and `references/033-architecture-diagrams-deployment.md`).

It sits in Development, covering Diagrams. It works with Java. The repository describes itself as: Plinth is an AI-native engineering toolkit for modern Java enterprise SDLC, built around reusable Commands, Agents, Skills, and MCP Servers. The licence is Apache-2.0.

When your agent uses it

  • You need to generate Java project diagrams — including UML sequence diagrams
  • UML class diagrams
  • C4 model diagrams
  • UML state machine diagrams

Example prompts

  • “/033-architecture-diagrams”

What it can do on your machine

Read from SKILL.md and the folder at commit dca88dc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • mvn

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

033 Architecture Diagrams loads about 3.1k tokens when it runs, and up to ~23k if it reads all its reference files. Until then it costs about 160 tokens; SKILL.md has 1,434 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~160
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~23k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jabrena/plinth at commit dca88dc, republished under its Apache-2.0 licence (© jabrena). 1,434 words, ~3,123 tokens.

Download SKILL.mdSave it as .claude/skills/033-architecture-diagrams/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
033-architecture-diagrams
description
Use when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams, ER (Entity Relationship) diagrams, and bounded-context diagrams — through a modular, step-based interactive process that adapts to your specific visualization needs. This should trigger for requests such as Generate UML diagram; Create sequence diagram; Create class diagram; Create state machine diagram; Create deployment diagram; Create C4 diagram; Create bounded-context diagram; Create context-map diagram. Part of Plinth Toolkit
license
Apache-2.0
metadata.author
Juan Antonio Breña Moral
metadata.version
0.19.0

Java Diagrams Generator with modular step-based configuration

Generate comprehensive Java project diagrams through a modular, step-based interactive process that covers UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams, ER (Entity Relationship) diagrams, and bounded-context diagrams using PlantUML syntax. This is an interactive SKILL.

What is covered in this Skill?

  • UML sequence diagram generation for application workflows and API interactions
  • UML class diagram generation for package structure and class relationships
  • C4 model diagram generation for Context, Container, and Component diagrams
  • UML state machine diagram generation for entity lifecycles and business workflows
  • UML Deployment Diagram generation for runtime topology, nodes, execution environments, deployed components, data stores, queues, external systems, and communication paths
  • ER diagram generation from SQL schema (DDL, migrations) using PlantUML Chen notation
  • Bounded-context diagram generation for DDD context maps across one or more repositories
  • PlantUML syntax for all diagram types
  • File organization strategies: single-file, separate-files, or integrated with existing documentation
  • Final diagram validation with PlantUML syntax checking
  • PlantUML validation and PNG/SVG rendering with a trusted local PlantUML installation or repository-approved wrapper

Constraints

Before applying any diagram generation, ensure the project validates. If validation fails, stop immediately — do not proceed until all validation errors are resolved.

  • MANDATORY: Run ./mvnw validate or mvn validate before applying any diagram generation
  • SAFETY: If validation fails, stop immediately — do not proceed until all validation errors are resolved
  • BEFORE READING DIAGRAM REFERENCES: Run the question flow embedded in this SKILL.md first. Ask the diagram preference questions one by one, collect selected diagram families and output preferences, then read only the implementation references selected by the user's answers
  • C4 SCOPE: C4 diagrams are restricted to Context, Container, and Component diagrams
  • SUPPLY CHAIN: Generated PlantUML diagrams must use trusted local includes only; do not use remote !include URLs for C4 or icon libraries
  • TOOLING SAFETY: Use only trusted local PlantUML tooling or a repository-approved wrapper; do not pull or run remote container images as part of this skill

When to use this skill

  • Generate UML diagram
  • Create sequence diagram
  • Create class diagram
  • Create state machine diagram
  • Create deployment diagram
  • Create C4 diagram
  • Generate ER diagram
  • Create bounded-context diagram
  • Create context-map diagram

Workflow

  1. Validate project state

Run ./mvnw validate or mvn validate before applying any diagram generation.

Step constraints:

  • If validation fails, stop and ask to resolve errors first
  1. Ask diagram assessment questions before reading references

Run this XML-included question flow before reading any diagram-family implementation reference. Ask questions one-by-one in strict order, wait for the user's answer to each question, and record selected diagram families, C4 scope, bounded-context repository scope, output organization, file format, and documentation preference before continuing.

IMPORTANT: You MUST ask these questions in the exact order and wording shown here. The very first question to the user MUST be "Question 1: What diagrams do you want to generate?". Do not ask any other questions prior to it.

Diagrams Selection

Conditional Flow Rules:

  • Based on your selection here, only the relevant diagram generation steps will be executed.
  • If you choose "Skip", no diagrams will be generated.
  • Each diagram type has its own conditional follow-up questions.

Question 1: What diagrams do you want to generate?

Options:

  • UML sequence diagrams
  • UML class diagrams
  • UML state-machine diagrams
  • C4 model diagrams (Context, Container, Component)
  • UML Deployment Diagrams
  • ER diagrams (Entity Relationship)
  • Bounded-context diagrams
  • All diagrams
  • Skip

Question 2: For UML sequence diagrams, which types would you like to generate? Ask this question only if you selected "UML sequence diagrams" or "All diagrams" in Question 1.

Options:

  • Main application flows (user journeys, authentication, core features)
  • API interactions (REST endpoints, request/response patterns)
  • Complex business logic flows (multi-step processes, transactions)
  • All sequence diagram types
  • Skip

Question 3: For UML class diagrams, which scope would you like to cover? Ask this question only if you selected "UML class diagrams" or "All diagrams" in Question 1.

Options:

  • All packages (complete project structure)
  • Core business logic packages only
  • Specific packages (I'll specify which ones)
  • Skip

Question 4: For UML class diagrams, what level of detail do you prefer? Ask this question only if you selected "UML class diagrams" or "All diagrams" in Question 1 and did not select "Skip" in Question 3.

Options:

  • High-level (classes and relationships only)
  • Detailed (include key methods and attributes)
  • Full detail (all public methods, attributes, and annotations)

Question 5: For C4 model diagrams, which levels would you like to generate? Ask this question only if you selected "C4 model diagrams" or "All diagrams" in Question 1.

Options:

  • Complete C4 model (Context, Container, Component)
  • High-level diagrams only (Context and Container)
  • Component diagrams only
  • Specific C4 levels (Context, Container, and/or Component)
  • Skip

Question 6: For UML state-machine diagrams, which types would you like to generate? Ask this question only if you selected "UML state-machine diagrams" or "All diagrams" in Question 1.

Options:

  • Entity lifecycles (domain object state transitions like Order, User, Document)
  • Business workflows (process state machines like approval, payment, shipping)
  • System behaviors (component operational states like connections, jobs, transactions)
  • User interactions (UI component state transitions like forms, wizards, dialogs)
  • All state machine types
  • Skip

Question 7: For ER diagrams, which schema scope would you like to cover? Ask this question only if you selected "ER diagrams (Entity Relationship)" or "All diagrams" in Question 1.

Show full SKILL.md (562 more words)Show less

Options:

  • Complete database schema (all tables)
  • Core domain tables only
  • Specific tables (I'll specify which ones)
  • Skip

Question 8: For bounded-context diagrams, which repositories should be represented? Ask this question only if you selected "Bounded-context diagrams" or "All diagrams" in Question 1.

Options:

  • Current repository only
  • One or more local repository paths (I'll provide paths)
  • One or more repository URLs (I'll provide URLs)
  • A named repository list (I'll provide names and context)
  • Skip

For each repository in scope, collect what is available: repository name or path, bounded context, domain or subdomain, owning team, application type, owned data store, exposed interfaces, consumed interfaces, and known relationships.


Question 9: For UML Deployment Diagrams, what source material should be used first? Ask this question only if you selected "UML Deployment Diagrams" or "All diagrams" in Question 1.

Options:

  • Existing deployment diagram image or topology sketch (I'll provide the image)
  • System description file (I'll provide the file path)
  • Repository documentation, configuration, or deployment descriptors
  • Ask me for missing deployment topology details
  • Skip

When a deployment image or system description file is provided, use it as source material before asking fallback questions. Ask only for missing or ambiguous deployment facts such as actors, services, CI/CD systems, runtime nodes, execution environments, deployed artifacts or components, external systems, data stores, queues, protocols, ports, relationships, and infrastructure or network boundaries.


Question 10: How would you like to organize the generated diagram files?

Options:

  • Single directory (all diagrams in /diagrams folder)
  • Organized by type (separate folders for each diagram type)
  • Organized by package/domain (group related diagrams together)
  • Integrated with existing documentation structure

Question 11: What file format would you prefer for the diagrams?

Options:

  • PlantUML source files (.puml) only
  • PlantUML with markdown documentation
  • Both PlantUML and generated images (requires PlantUML rendering)
  • Integrated into existing documentation files

Question 12: Would you like to include explanatory documentation with the diagrams?

Options:

  • Yes, comprehensive explanations for each diagram
  • Yes, brief descriptions and usage notes
  • No, just the diagrams
  • Integrate explanations into existing documentation

After all applicable questions are answered, confirm the selections and map them to references:

  • If UML sequence diagrams are selected, read references/033-architecture-diagrams-uml-sequence.md.
  • If UML class diagrams are selected, read references/033-architecture-diagrams-uml-class.md.
  • If C4 model diagrams are selected, read references/033-architecture-diagrams-c4.md.
  • If UML state-machine diagrams are selected, read references/033-architecture-diagrams-state-machine.md.
  • If UML Deployment Diagrams are selected, read references/033-architecture-diagrams-deployment.md.
  • If ER diagrams are selected, read references/033-architecture-diagrams-er.md.
  • If bounded-context diagrams are selected, read references/033-architecture-diagrams-bounded-context.md.
  • If All diagrams is selected, read all seven focused diagram-family references.
  • If Skip is selected for a diagram family, do not read that diagram-family reference.
  • Do not read unselected diagram-family references.
  1. Read selected references and generate PlantUML diagrams

Create requested diagrams in PlantUML syntax using only the selected focused references, project inputs, and repository context.

  1. Validate and finalize outputs

Check generated diagrams for syntax correctness and consistency with selected scope before final delivery.

Use an already installed PlantUML CLI or a repository-approved wrapper to validate and render generated .puml files. If PlantUML is not available, report the missing trusted tool and provide setup guidance instead of downloading or running remote execution artifacts.

Validate PlantUML syntax without generating images:

bash
plantuml -checkonly diagrams

Render PNG images:

bash
plantuml -tpng diagrams

Render SVG images:

bash
plantuml -tsvg diagrams

Point the command at the directory or .puml file containing generated diagrams. Do not pull or run external container images during validation.

Reference

For detailed guidance, examples, and constraints, see:

© jabrena, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in skills/033-architecture-diagrams of jabrena/plinth.

  • SKILL.md
  • references/033-architecture-diagrams-bounded-context.md
  • references/033-architecture-diagrams-c4.md
  • references/033-architecture-diagrams-deployment.md
  • references/033-architecture-diagrams-er.md
  • references/033-architecture-diagrams-state-machine.md
  • references/033-architecture-diagrams-uml-class.md
  • references/033-architecture-diagrams-uml-sequence.md

Open the folder on GitHubat commit dca88dc

Compare with similar skills

033 Architecture Diagrams next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

033 Architecture Diagrams compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
033 Architecture Diagrams this skilljabrena/plinth447—~3.1kAutomated safety check: PassApache-2.0
Drawio ChartSnailclimb/AIGuide675—~687Automated safety check: PassNone
Code To Diagramzebbern/claude-code-guide4.7k—~972Automated safety check: PassMIT
CodeScope Codebase Graph AnalysisQwenLM/qwen-code28k1 repos~9.3kAutomated safety check: PassApache-2.0
Technology Stack Blueprint Generatorgithub/awesome-copilot40k1 repos~2.5kAutomated safety check: PassMIT
Code To Chartrongxinzy/RongxinAI154—~596Automated safety check: PassMIT

Similar skills

  • Drawio Chart

    Snailclimb/AIGuide

    Draw.io 配图专家:用于生成和导出 .drawio 图表。在用户要求 draw.io、diagrams.net、流程图、架构图、时序图、ER 图、状态图、思维导图,或明确提到 .drawio、PNG、SVG、PDF 导出、技术文章配图时使用。默认输出专业技术风格,并遵循 floracat-architecture-diagram 的视觉规范。

    675 GitHub stars~687 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Code To Diagram

    zebbern/claude-code-guide

    Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts.

    4.7k GitHub stars~972 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Answers questions about code structure, history, bugs and PR risk using a CodeScope knowledge graph and semantic index built from the repository.

    28k GitHub starsUsed in 1 repo~9.3k tokens
    DevelopmentAuto-check passed
  • Official

    Comprehensive technology stack blueprint generator that analyzes codebases to create detailed architectural documentation.

    40k GitHub starsUsed in 1 repo~2.5k tokens
    DevelopmentAuto-check passed
  • Code To Chart

    rongxinzy/RongxinAI

    解析代码仓库的 import/依赖关系,自动生成架构图、流程图和组织架构图,输出 Mermaid 文本或 SVG 图片。支持 Python、JavaScript、TypeScript、Go 和 Java 项目。当用户需要可视化代码结构、分析模块依赖、生成架构文档,或提及“代码架构图”、“依赖关系图”、“流程图”、“组织架构图”、“Mermaid 图”等关键词时触发。

    154 GitHub stars~596 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Archify Diagrams

    tt-a1i/archify

    Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.

    82k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed

More from jabrena/plinth

All 124 skills in this repo
  • A skill your agent uses when you need to add or review fuzz testing for Java APIs with CATS — including contract-driven negative testing, malformed payload validation, boundary input exploration, CI…

    447 GitHub stars~874 tokensUpdated 3 days ago
    Auto-check passed
  • A skill your agent uses when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning…

    447 GitHub stars~3.2k tokensUpdated 3 days ago
    Auto-check passed
  • A skill your agent uses when you need to set up JMeter performance testing for a Java project — including creating the run-jmeter.sh script from the exact template, configuring load tests with…

    447 GitHub stars~842 tokensUpdated 3 days ago
    Auto-check passed
  • A skill your agent uses when you need to set up Java application profiling to detect and measure performance issues — including trusted preinstalled async-profiler v4.x setup, problem-driven…

    447 GitHub stars~903 tokensUpdated 3 days ago
    Auto-check passed
  • A skill your agent uses when you need to generate a checklist document with embedded commands inventory, following the embedded template exactly and producing INVENTORY-COMMANDS-JAVA.md in the…

    447 GitHub stars~697 tokensUpdated 3 days ago
    Auto-check passed
  • 002 Agents Inventory

    jabrena/plinth

    A skill your agent uses when you need to generate a checklist document with embedded agents inventory, following the embedded template exactly and producing INVENTORY-AGENTS-JAVA.md in the project…

    447 GitHub stars~675 tokensUpdated 3 days ago
    Auto-check passed

Works with

Categories

Questions about 033 Architecture Diagrams

What does 033 Architecture Diagrams do?

A skill your agent uses when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams…. 033 Architecture Diagrams is an agent skill from jabrena/plinth. Use when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams, ER (Entity Relationship) diagrams, and bounded-context diagrams — through a modular, step-based interactive process that adapts to your specific visualization needs.

When should I use 033 Architecture Diagrams?

033 Architecture Diagrams fits situations like: you need to generate Java project diagrams — including UML sequence diagrams; UML class diagrams; C4 model diagrams; UML state machine diagrams.

How do I install 033 Architecture Diagrams in Claude Code?

Run `npx skills add jabrena/plinth --skill 033-architecture-diagrams -a claude-code`. Or copy the skill folder (skills/033-architecture-diagrams in jabrena/plinth) into .claude/skills/033-architecture-diagrams in your project. Claude Code loads it when a task matches its description.

How do I install 033 Architecture Diagrams in Codex?

Run `npx skills add jabrena/plinth --skill 033-architecture-diagrams -a codex`. Or copy the skill folder (skills/033-architecture-diagrams in jabrena/plinth) into .agents/skills/033-architecture-diagrams in your project. Codex loads it when a task matches its description.

Can I use 033 Architecture Diagrams in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jabrena/plinth --skill 033-architecture-diagrams -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/033-architecture-diagrams, .gemini/skills/033-architecture-diagrams, .github/skills/033-architecture-diagrams and .opencode/skills/033-architecture-diagrams in your project.

What does 033 Architecture Diagrams need to run?

Going by SKILL.md and its folder, 033 Architecture Diagrams needs the command-line tools its instructions call (mvn).

Does 033 Architecture Diagrams access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 033 Architecture Diagrams safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 033 Architecture Diagrams use?

033 Architecture Diagrams is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 033 Architecture Diagrams use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 20k tokens, read only when the agent opens those files.

What are the alternatives to 033 Architecture Diagrams?

Skills that share tags, products or a category with 033 Architecture Diagrams: Drawio Chart (Snailclimb/AIGuide, 675 stars), Code To Diagram (zebbern/claude-code-guide, 4.7k stars), CodeScope Codebase Graph Analysis (QwenLM/qwen-code, 28k stars) and Technology Stack Blueprint Generator (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 033 Architecture Diagrams?

jabrena (a GitHub user) maintains it in jabrena/plinth, which has 447 GitHub stars. The repository holds 124 skills in this directory. The repository was last updated on October 7, 2026.

Source: jabrena/plinth on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.