S

security

by @markdown-viewerv
4.5(437)

This skill helps you create professional security architecture diagrams using PlantUML syntax. It provides rich icons for identity, encryption, firewall, and compliance, making it ideal for designing IAM flows, zero-trust architectures, encryption pipelines, compliance auditing, and threat detection scenarios, clarifying complex systems at a glance.

securityarchitecturediagramsplantumliamGitHub
Installation
npx skills add markdown-viewer/skills --skill security
compare_arrows

Before / After Comparison

1
Before

Without a standardized tool, security architects spent significant time manually drawing complex security flowcharts using generic graphic tools, leading to inconsistent iconography, inefficient communication, and frequent misunderstandings or omissions during reviews.

After

With this skill, architects can quickly leverage predefined security icons and PlantUML syntax to efficiently generate clear, standardized security architecture diagrams, significantly boosting design efficiency and team collaboration accuracy.

description SKILL.md

Security Architecture Diagram Generator

Quick Start: Define trust boundaries → Place identity/encryption/firewall icons → Connect with access flows → Group into security zones → Wrap in ```plantuml fence.

⚠️ IMPORTANT: Always use ```plantuml or ```puml code fence. NEVER use ```text — it will NOT render as a diagram.

Critical Rules

  • Every diagram starts with @startuml and ends with @enduml
  • Use left to right direction for access flows (User → AuthN → AuthZ → Resource)
  • Use mxgraph.aws4.* stencil syntax for security service icons
  • Default colors are applied automatically — you do NOT need to specify fillColor or strokeColor
  • Use rectangle "Trust Boundary" { ... } for security zones
  • Directed flows use -->, audit/async flows use ..> (dashed)

Full stencil reference: See stencils/README.md for 9500+ available icons.

Mxgraph Stencil Syntax

mxgraph.aws4.<icon> "Label" as <alias>

Identity & Access Stencils

CategoryStencilsPurpose
IAMidentity_and_access_management, identity_access_management_iam_roles_anywhereIdentity policies & roles
SSO/Directorycognito, ad_connector, directory_service, cloud_directoryUser authentication & federation
STSsts, sts_alternateTemporary security credentials
Organizationsorganizations, organizations_account, organizations_organizational_unitMulti-account governance

Encryption & Secrets Stencils

CategoryStencilsPurpose
KMSkey_management_service, key_management_service_external_key_storeKey management & encryption
Secretssecrets_managerSecrets rotation & storage
Certificatescertificate_manager, private_certificate_authorityTLS certificate lifecycle
HSMcloudhsmHardware security module
Encryptionencrypted_dataEncrypted data at rest

Network Security Stencils

CategoryStencilsPurpose
Firewallnetwork_firewall, network_firewall_endpoints, firewall_managerNetwork traffic filtering
WAFgeneric_firewallWeb application firewall
Shieldshield, shield_shield_advanced, shield2DDoS protection
Security Groupsecurity_group, group_security_groupInstance-level firewall

Threat Detection & Compliance Stencils

CategoryStencilsPurpose
Detectionguardduty, detective, inspectorThreat detection & investigation
Data ProtectionmacieSensitive data discovery
Compliancesecurity_hub, security_hub_finding, audit_manager, configCompliance posture & audit
Loggingcloudtrail, cloudtrail_cloudtrail_lake, security_lakeAudit trail & log aggregation
Governancecontrol_tower, organizationsMulti-account governance
Incidentsecurity_incident_responseIncident management

Connection Types

SyntaxMeaningUse Case
A --> BSolid arrowAuth flow / access request
A ..> BDashed arrowAudit event / async detection
A -- BSolid lineTrust relationship
A --> B : "label"Labeled connectionDescribe protocol or credential

Quick Example

@startuml
left to right direction
mxgraph.aws4.users "Users" as users
mxgraph.aws4.cognito "Cognito" as auth
mxgraph.aws4.identity_and_access_management "IAM" as iam

rectangle "Protected Resources" {
  mxgraph.aws4.s3 "Data (S3)" as s3
  mxgraph.aws4.encrypted_data "Encrypted" as enc
}

users --> auth : "login"
auth --> iam : "token"
iam --> s3
s3 --> enc
@enduml

Security Architecture Types

TypePurposeKey StencilsExample
IAM & AuthNIdentity and authenticationcognito, identity_and_access_management, stsiam-authn.md
Encryption PipelineData encryption at rest/in-transitkey_management_service, certificate_manager, secrets_managerencryption-pipeline.md
Network SecurityPerimeter defense & firewallsnetwork_firewall, shield, security_groupnetwork-security.md
Threat DetectionAutomated threat responseguardduty, detective, security_hubthreat-detection.md
Compliance AuditGovernance & audit trailconfig, audit_manager, cloudtrail, security_lakecompliance-audit.md
Zero TrustZero-trust access modelcognito, identity_and_access_management, network_firewallzero-trust.md
Data ProtectionSensitive data classificationmacie, encrypted_data, key_management_servicedata-protection.md
Multi-account GovOrganization-wide securityorganizations, control_tower, security_hubmulti-account-governance.md

forumUser Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs9.3K
Rating4.5 / 5.0
Version
Updated2026年4月29日
Comparisons1

User Rating

4.5(437)
5
65%
4
25%
3
6%
2
3%
1
1%

Rate this Skill

0.0

Compatible Platforms

🤖claude-code

Timeline

Created2026年4月12日
Last Updated2026年4月29日
🎁 Agent Knowledge Cards