plantuml-renderer

Render PlantUML diagrams to various image formats with theme and styling support

509 stars

Best use case

plantuml-renderer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Render PlantUML diagrams to various image formats with theme and styling support

Teams using plantuml-renderer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/plantuml-renderer/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/software-architecture/skills/plantuml-renderer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/plantuml-renderer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How plantuml-renderer Compares

Feature / Agentplantuml-rendererStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Render PlantUML diagrams to various image formats with theme and styling support

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# PlantUML Renderer Skill

## Overview

Renders PlantUML source files to images supporting sequence, class, component, and deployment diagrams with custom themes and batch processing.

## Capabilities

- Render PlantUML to PNG, SVG, PDF, and EPS formats
- Support sequence, class, component, deployment, activity, and state diagrams
- Apply custom themes and styling
- Batch rendering of multiple diagrams
- Generate image maps for interactive diagrams
- Support PlantUML preprocessor directives

## Target Processes

- c4-model-documentation
- ddd-strategic-modeling
- event-storming
- data-architecture-design

## Input Schema

```json
{
  "type": "object",
  "required": ["source"],
  "properties": {
    "source": {
      "type": "string",
      "description": "PlantUML source code or file path"
    },
    "outputFormat": {
      "type": "string",
      "enum": ["png", "svg", "pdf", "eps"],
      "default": "png"
    },
    "outputPath": {
      "type": "string",
      "description": "Output file path"
    },
    "theme": {
      "type": "string",
      "description": "PlantUML theme name (e.g., 'cerulean', 'superhero')"
    },
    "config": {
      "type": "object",
      "properties": {
        "skinParams": {
          "type": "object",
          "description": "PlantUML skinparam settings"
        },
        "scale": {
          "type": "number",
          "default": 1
        }
      }
    }
  }
}
```

## Output Schema

```json
{
  "type": "object",
  "properties": {
    "outputPath": {
      "type": "string",
      "description": "Path to rendered image"
    },
    "format": {
      "type": "string"
    },
    "dimensions": {
      "type": "object",
      "properties": {
        "width": { "type": "number" },
        "height": { "type": "number" }
      }
    },
    "metadata": {
      "type": "object"
    }
  }
}
```

## Usage Example

```javascript
{
  kind: 'skill',
  skill: {
    name: 'plantuml-renderer',
    context: {
      source: '@startuml\nAlice -> Bob: Hello\n@enduml',
      outputFormat: 'svg',
      outputPath: 'docs/diagrams/sequence.svg',
      theme: 'cerulean'
    }
  }
}
```