/caddis-extras:plantumlfrom caddis-extras
Brand-themed PlantUML diagrams for project documentation
Ships in caddis-extras. 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.
None: SKILL.md is the whole skill.
Generate PlantUML diagrams for architecture, API flows, and process visualization using project branding.
Project Context — Read
project-config.mdin the repo root for brand tokens, color palette, and project metadata.
Use this block at the start of your .puml files for consistent brand styling:
@startuml
skinparam backgroundColor #F8F9FA
skinparam defaultFontSize 14
skinparam defaultFontColor #1F2937
skinparam rectangle {
BackgroundColor #FFF7ED
BorderColor #F97316
FontColor #1F2937
}
skinparam participant {
BackgroundColor #F0F9FF
BorderColor #0EA5E9
}
skinparam database {
BackgroundColor #ECFDF5
BorderColor #10B981
}
skinparam arrow {
Color #1F2937
}
skinparam arrowColor #E10A0A
' Use arrowColor for key flows; Color for default
@enduml
For sequence diagrams, you can add:
skinparam sequenceArrowColor #E10A0A
skinparam sequenceLifeLineBorderColor #1F2937
skinparam sequenceParticipantBackgroundColor #F8F9FA
skinparam sequenceParticipantBorderColor #E10A0A
When documenting systems, use consistent participant names where applicable:
| Participant | Use case |
|---|---|
| Streamlit App | Streamlit dashboards |
| FastAPI | API services |
| SQL Server | Data layer |
| Redis / Cache | Caching layer |
| User | End user / operator |
Example:
@startuml
actor User
participant "Streamlit App" as app
participant "FastAPI" as api
database "SQL Server" as db
User -> app : Request
app -> api : API call
api -> db : Query
db --> api : Result
api --> app : Response
app --> User : Display
@enduml
| Type | Best For |
|---|---|
| Sequence | API calls, request/response flows |
| Class | OOP design, data models |
| Component | System architecture, microservices |
| Activity | Workflows, business logic |
| State | State machines, lifecycles |
| Deployment | Infrastructure, network topology |
Use the brand theme above for all diagram types. Syntax reference follows.
@startuml
class User {
+id: int
+email: str
+name: str
+authenticate(password): bool
}
class Order {
+id: int
+total: Decimal
+status: OrderStatus
+calculate_total(): Decimal
}
class OrderItem {
+quantity: int
+unit_price: Decimal
}
User "1" -- "*" Order : places >
Order "1" *-- "*" OrderItem : contains
@enduml
Relationship arrows:
| Arrow | Meaning |
|---|---|
--> | Dependency |
-- | Association |
*-- | Composition |
o-- | Aggregation |
<|-- | Inheritance |
..|> | Implementation |
@startuml
package "Frontend" {
[React App] as web
}
package "Backend" {
[API Gateway] as gw
[User Service] as users
}
package "Data" {
database "PostgreSQL" as pg
database "Redis" as redis
}
web --> gw : HTTPS
gw --> users
gw --> orders
users --> pg
orders --> pg
gw --> redis : cache
@enduml
@startuml
start
:Receive request;
if (Authenticated?) then (yes)
:Validate input;
if (Valid?) then (yes)
:Process request;
:Return 200 OK;
else (no)
:Return 400;
endif
else (no)
:Return 401;
endif
stop
@enduml
@startuml
[*] --> Draft
Draft --> PendingReview : submit()
PendingReview --> Approved : approve()
PendingReview --> Rejected : reject()
Rejected --> Draft : revise()
Approved --> Published : publish()
Published --> [*]
@enduml
@startuml
actor User
node "CDN" as cdn
node "Load Balancer" as lb
node "App Server 1" as app1
node "App Server 2" as app2
database "Primary DB" as db1
database "Replica" as db2
User --> cdn
cdn --> lb
lb --> app1
lb --> app2
app1 --> db1
app2 --> db1
db1 --> db2 : replication
@enduml
plantuml diagram.puml # PNG (default)
plantuml -tsvg diagram.puml # SVG
plantuml -txt diagram.puml # ASCII art
plantuml -utxt diagram.puml # Unicode ASCII
plantuml -tsvg diagrams/ # Batch process folder
plantuml -syntax diagram.puml # Syntax check only
left to right direction for horizontal layouts..puml files; they diff well.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub saajunaid/caddis-plugin --plugin caddis-extrasOther plugins' skills for the same job
81 skills in this plugin
/adopt-rbacPointer to the org's RBAC adoption skill. Use for "add RBAC to this app" or "adopt rbac-kit"./agent-md-refactorRefactor bloated agent instruction files (AGENTS.md, .cursorrules, .github/ files) into linked, progressively disclosed docs./agent-orchestrationBlueprint for orchestrating the agent pipeline from spec to planning, implementation, testing and debugging, plus when a second model is worth it, the intent→model map and cost guardrails.