Class Diagram — Development skill for Claude Code
Draw a class diagram of a package, module or set of classes from the real Java types and relationships.
How to install Class Diagram
Installs to ~/.claude/skills/cloudsufi-claude_java_skills-class-diagram/SKILL.md
mkdir -p ~/.claude/skills/cloudsufi-claude_java_skills-class-diagram && curl -fsSL https://raw.githubusercontent.com/cloudsufi/Claude_java_skills/HEAD/commands/class-diagram.md -o ~/.claude/skills/cloudsufi-claude_java_skills-class-diagram/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Class Diagram does
description: Draw a class diagram of a package, module or set of classes from the real Java types and relationships argument-hint: "[package | module | classes]" allowed-tools: Read, Grep, Glob, Write, Edit, Bash(plantuml:*), Bash(mmdc:*) disable-model-invocation: true
Class diagram
**Scope:** $ARGUMENTS
Draw the types in scope and how they relate, extracted from the source. If no scope is given, list the module's packages with their type counts and ask which one to draw.
1. Ext
Alternatives in Development
- Module Build — Build and package a module for distribution (compile assets + zip) 407 ★
- Symfony Doctrine Relations — Guide for implementing Doctrine entity relationships (OneToMany, ManyToMany) 206 ★
- Draw Architecture — A skill to turn any system architecture into an interactive, explorable canvas diagram 146 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Sequence Diagram
Trace a real Java call path and draw it as a sequence diagram in Mermaid and PlantUML
Draftsman
Draw a UML class diagram of this codebase (facts from a parser, not guesses)
Javadoc
Write or fix Javadoc and package-info for a class, package or module, or build the searchable HTML API site
Code Graph
Query the code graph for functions, classes, files, and call relationships
Sp1cyreverse
Agent skill for reconstructing Java classes from JVM memory dumps - HotSpot metaspace, bytecode de-quickening,
Drawio Diagram Skill
A Claude Code skill that produces diagrams as draw.io files, then validates and renders them so the result is
Related Agents
Lld Designer
Low-level design and machine-coding agent trained on Gaurav Sen's InterviewReady LLD course. Use to produce a
Java Codebase Walker
Enrich Java (Gradle / Maven) packages, modules, and APIs after the deterministic package scan. Both build syst
Java Modules Guardian
Audits Java Modules module-info.java files across the Vidocq ecosystem. Use proactively when adding/modifying