/arckit:plantuml-syntaxfrom ArcKit
Provides PlantUML syntax reference with C4-PlantUML focus for writing or fixing diagrams: sequence, class, activity, state, ER, component, deployment, use-case. Includes skinparams, themes, and C4 layout conflict resolution.
Ships in ArcKit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A comprehensive reference for PlantUML diagram types with a focus on C4-PlantUML for architecture diagrams. This skill provides syntax documentation adapted from the SpillwaveSolutions/plantuml project, supplemented with ArcKit-specific C4 layout conflict rules and best practices.
This skill ships reference material, not runnable scripts. Read the relevant reference file with Read, apply the syntax, and write the diagram into the user's artefact. Do not Bash-execute anything from references/ — they are PlantUML/C4 syntax docs, not commands.
Select the appropriate diagram type and read the corresponding reference file:
| Type | Reference | ArcKit Commands Using It |
|---|---|---|
| C4-PlantUML | c4-plantuml.md | /arckit:diagram (C4 Context, Container, Component) |
| Sequence Diagram | sequence-diagrams.md | /arckit:diagram (Sequence mode) |
| Class Diagram | class-diagrams.md | — |
| Activity Diagram | activity-diagrams.md | — |
| State Diagram | state-diagrams.md | — |
| ER Diagram | er-diagrams.md | — |
| Component Diagram | component-diagrams.md | — |
| Use Case Diagram | use-case-diagrams.md | — |
| Deployment Diagram | deployment-diagrams.md | — |
| Topic | Reference |
|---|---|
| Common Syntax Errors | common-syntax-errors.md |
| Styling Guide | styling-guide.md |
The C4-PlantUML reference is the most important file for ArcKit users. It covers:
For C4 layout science (Sugiyama algorithm, edge crossing targets, declaration ordering), also see the Mermaid skill's c4-layout-science.md — Section 7 covers PlantUML directional hints.
These are the most common PlantUML syntax errors encountered when generating diagrams:
| Gotcha | Problem | Fix |
|---|---|---|
Rel_Down contradicts Lay_Right | Layout engine receives conflicting direction hints for the same element pair | Ensure every Rel_* direction is consistent with any Lay_* constraint on the same pair |
Missing @startuml/@enduml | Diagram fails to render entirely | Always wrap PlantUML code in @startuml and @enduml |
Wrong !include URL | C4 macros not found, syntax errors on Person/System/Container | Use exact URL from plantuml-stdlib: https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml |
Generic Rel instead of directional | Layout engine places elements randomly without direction hints | Always use Rel_Down, Rel_Right, etc. instead of plain Rel |
| Missing element declaration | Relationship references an undeclared element ID | Declare ALL elements before ANY relationships |
| Spaces in element IDs | Parser fails on IDs with spaces or special characters | Use camelCase or underscores: paymentApi, payment_api |
| Nested boundaries without content | Empty boundaries may cause rendering errors | Ensure every boundary contains at least one element |
\n in descriptions | Expects literal \n text but PlantUML renders it as a line break | This is expected behavior — PlantUML interprets \n as line breaks natively. Use \\n if literal text is needed |
This skill handles conversational PlantUML syntax questions — quick lookups, syntax examples, troubleshooting rendering issues, and learning about diagram types.
For formal architecture diagram generation with document control, project integration, layout science, and governance compliance, use the /arckit:diagram command instead. It generates versioned diagram artifacts saved to your project directory with full traceability to requirements and architecture principles.
references/activity-diagrams.md (opens in a new tab)references/c4-plantuml.md (opens in a new tab)references/class-diagrams.md (opens in a new tab)references/common-syntax-errors.md (opens in a new tab)references/component-diagrams.md (opens in a new tab)references/deployment-diagrams.md (opens in a new tab)references/er-diagrams.md (opens in a new tab)references/sequence-diagrams.md (opens in a new tab)references/state-diagrams.md (opens in a new tab)references/styling-guide.md (opens in a new tab)references/use-case-diagrams.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
plantuml, c4-plantuml, diagram-syntax, architecture-diagrams
npx claudepluginhub tractorjuice/arc-kit --plugin arckit5 skills in this plugin
/architecture-workflowRecommends which /arckit:* commands to run, and in what order, for a new or in-flight architecture project, from a short triage of sector, project type, current stage and timeline. Backs /arckit:start. Not needed when the user has already named the command they want, or is asking about the content of an artefact rather than the sequence./arckit-buildBulk-builds a project's ArcKit artefacts in parallel from a YAML recipe: computes the artefact dependency DAG, dispatches one subagent per target per wave, validates each output, commits the wave and persists progress to .arckit/state.json so a build can resume. Manual only: run /arckit:arckit-build with --plan, --resume, --target, --refresh or --recipe. Not needed for a single artefact; run that /arckit:* command directly./mermaid-syntaxMermaid syntax reference for writing or fixing a diagram in an artefact: flowchart, sequence, class, state, ER, Gantt, C4, mindmap, timeline and the other diagram types, node shapes, styling, theming, and why a diagram fails to render. Not needed for PlantUML (plantuml-syntax), or when the request is for a governed diagram artefact with document control, which /arckit:diagram produces./wardley-mappingWardley Mapping reference for a map, a positioning question or a strategic read: value-chain decomposition, evolution stages, OnlineWardleyMaps syntax, gameplay, doctrine and climatic patterns, build-versus-buy and inertia. Also loaded while a WARD artefact is being written. Not needed when the request is for a governed Wardley artefact with document control; the /arckit:wardley, wardley.value-chain, wardley.doctrine, wardley.gameplay and wardley.climate commands produce those.2 plugins ship this exact skill · first indexed Oct 2, 2026
Other plugins' skills for the same job