Plantuml Syntax logo

Plantuml Syntax

CommunityPopular
tractorjuice
plantuml-syntax

PlantUML syntax reference, C4-PlantUML first, for writing or fixing a diagram in an artefact: sequence, class, activity, state, ER, component, deployment and use-case diagrams, skinparams and themes, C4 layout conflicts and rendering errors. Not needed for Mermaid (mermaid-syntax), or when the request is for a governed diagram artefact with document control, which /arckit:diagram produces.

Overview

Publishertractorjuice
Repositoryarc-kit
Skill nameplantuml-syntax
Stars
2.2K
Forks
280
Bundled files
11
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by tractorjuice on GitHub. Read the source before you install it.

Installation

Install the Plantuml Syntax AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tractorjuice/arc-kit.git /tmp/arc-kit
mkdir -p .claude/skills
cp -r /tmp/arc-kit/plugins/arckit-claude/skills/plantuml-syntax .claude/skills/plantuml-syntax
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Plantuml Syntax in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Plantuml Syntax on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Plantuml Syntax is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

PlantUML Syntax Reference

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.

Supported Diagram Types

Select the appropriate diagram type and read the corresponding reference file:

TypeReferenceArcKit Commands Using It
C4-PlantUMLc4-plantuml.md/arckit:diagram (C4 Context, Container, Component)
Sequence Diagramsequence-diagrams.md/arckit:diagram (Sequence mode)
Class Diagramclass-diagrams.md
Activity Diagramactivity-diagrams.md
State Diagramstate-diagrams.md
ER Diagramer-diagrams.md
Component Diagramcomponent-diagrams.md
Use Case Diagramuse-case-diagrams.md
Deployment Diagramdeployment-diagrams.md

Styling & Errors

TopicReference
Common Syntax Errorscommon-syntax-errors.md
Styling Guidestyling-guide.md

C4-PlantUML (Primary Use Case)

The C4-PlantUML reference is the most important file for ArcKit users. It covers:

  • Include URLs for C4 libraries
  • Element syntax (Person, System, Container, Component, and their variants)
  • Boundary syntax (System_Boundary, Container_Boundary)
  • Directional relationships (Rel_Down, Rel_Right, Rel_Up, Rel_Left, Rel_Neighbor)
  • Layout constraints (Lay_Right, Lay_Down, Lay_Distance)
  • LAYOUT CONFLICT RULES — critical rules to prevent rendering failures when layout hints contradict relationship directions
  • Tier-based layout patterns
  • Worked examples for Context, Container, and Component diagrams

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.

Common Syntax Gotchas

These are the most common PlantUML syntax errors encountered when generating diagrams:

GotchaProblemFix
Rel_Down contradicts Lay_RightLayout engine receives conflicting direction hints for the same element pairEnsure every Rel_* direction is consistent with any Lay_* constraint on the same pair
Missing @startuml/@endumlDiagram fails to render entirelyAlways wrap PlantUML code in @startuml and @enduml
Wrong !include URLC4 macros not found, syntax errors on Person/System/ContainerUse exact URL from plantuml-stdlib: https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
Generic Rel instead of directionalLayout engine places elements randomly without direction hintsAlways use Rel_Down, Rel_Right, etc. instead of plain Rel
Missing element declarationRelationship references an undeclared element IDDeclare ALL elements before ANY relationships
Spaces in element IDsParser fails on IDs with spaces or special charactersUse camelCase or underscores: paymentApi, payment_api
Nested boundaries without contentEmpty boundaries may cause rendering errorsEnsure every boundary contains at least one element
\n in descriptionsExpects literal \n text but PlantUML renders it as a line breakThis is expected behavior — PlantUML interprets \n as line breaks natively. Use \\n if literal text is needed

ArcKit Integration

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Plantuml Syntax AI skill do?

PlantUML syntax reference, C4-PlantUML first, for writing or fixing a diagram in an artefact: sequence, class, activity, state, ER, component, deployment and use-case diagrams, skinparams and themes, C4 layout conflicts and rendering errors. Not needed for Mermaid (mermaid-syntax), or when the request is for a governed diagram artefact with document control, which /arckit:diagram produces.

Why use Plantuml Syntax on TypingMind?

Because you install it once and use it with any model. Plantuml Syntax is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Plantuml Syntax in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/tractorjuice/arc-kit/tree/main/plugins/arckit-claude/skills/plantuml-syntax. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Plantuml Syntax?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Plantuml Syntax?

As many as you like. As long as a model supports skills, you can use Plantuml Syntax with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Plantuml Syntax AI skill free?

It is published on GitHub by tractorjuice. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇