plantuml
Installation
SKILL.md
Infer the operation mode from $ARGUMENTS:
| Pattern | Mode | Example |
|---|---|---|
create ... |
Create new diagram | create sequence diagram for contract ingestion |
edit <path> ... |
Modify existing diagram | edit docs/diagrams/data-model-0.puml add user table |
render <path> |
Re-render .puml to image |
render docs/diagrams/api-structure-0.puml |
render all |
Re-render all .puml files |
render all |
| (anything else) | Create (default) | contract lifecycle state machine |
Step 0: Setup
REPO_ROOT="$(git rev-parse --show-toplevel)"
mkdir -p "$REPO_ROOT/docs/diagrams"