Back to Skills

security

Create security architecture diagrams using PlantUML syntax with identity, encryption, firewall, and compliance stencil icons. Best for IAM flows, zero-trust models, encryption pipelines, and threat detection architectures.

2,960stars177forksUpdated 6/15/2026

Security Assessment

Safe(100/100)
Security Score100/100

About security

The security skill generates security architecture diagrams using PlantUML syntax with specialized stencils for identity, encryption, firewall, and compliance components. It solves the challenge of visualizing complex security architectures by providing a text-based diagramming approach that clearly illustrates IAM flows, zero-trust models, encryption pipelines, and threat detection systems. The skill uses the mxgraph.aws4 stencil library to render professional security diagrams directly in markdown environments.

This skill provides comprehensive stencil categories covering identity and access management (IAM, Cognito, STS), encryption and secrets management (KMS, Secrets Manager, Certificate Manager), network security (firewalls, WAF, Shield, security groups), and threat detection and compliance (GuardDuty, Security Hub, CloudTrail, Config). It supports multiple connection types including solid arrows for authentication flows, dashed arrows for audit events, and labeled connections for protocol descriptions. The diagrams automatically apply default styling without requiring manual color specification.

Security architects, cloud engineers, compliance teams, and DevSecOps professionals use this skill to document security postures, design zero-trust architectures, illustrate encryption key hierarchies, map audit trails, and communicate security controls. The text-based approach enables version control integration, collaborative editing, and rapid iteration on security designs. Generated diagrams can be embedded in documentation, shared in compliance reports, or used in security design reviews.

FAQ

What code fence syntax must I use for diagrams to render?

Always use plantuml or puml code fences. Never use text as it will not render the diagram. Every diagram must start with @startuml and end with @enduml.

How do I organize components into security zones?

Use rectangle "Trust Boundary" { ... } syntax to group components into security zones. Use 'left to right direction' for access flows showing User → AuthN → AuthZ → Resource patterns.

What connection types are available for security flows?

Use --> for authentication flows and access requests (solid arrows), ..> for audit events and asynchronous detection (dashed arrows), -- for trust relationships (solid lines), and add : "label" after connections to describe protocols or credentials.

Where can I find the complete list of available security stencils?

The full stencil reference with 9500+ icons is available in stencils/README.md. The security skill provides pre-categorized stencils for identity, encryption, network security, and compliance components using mxgraph.aws4.* syntax.

Do I need to specify colors for diagram elements?

No, default colors are applied automatically. You do not need to specify fillColor or strokeColor properties. The skill handles styling to maintain consistent visual appearance across security diagrams.

All Files

9 files
examples/network-security.md2.4 KB
View
examples/compliance-audit.md2.3 KB
View
examples/iam-authn.md2.2 KB
View
examples/data-protection.md2.3 KB
View
examples/zero-trust.md2.4 KB
View
examples/multi-account-governance.md2.5 KB
View
examples/threat-detection.md2.2 KB
View
examples/encryption-pipeline.md2.4 KB
View
SKILL.md5.5 KB
View

Install security

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill