S

security

by @markdown-viewerv
4.5(437)

此技能可帮助您使用 PlantUML 语法创建专业的安全架构图。它提供丰富的身份、加密、防火墙和合规性图标,特别适用于设计 IAM 流程、零信任架构、加密管道、合规审计和威胁检测方案,让复杂系统一目了然。

securityarchitecturediagramsplantumliamGitHub
安装方式
npx skills add markdown-viewer/skills --skill security
compare_arrows

Before / After 效果对比

1
使用前

在没有标准化工具时,安全架构师需要花费大量时间手动绘制复杂的安全流程图,使用通用图形工具,图标不统一,导致沟通效率低下,审查时容易出现误解和遗漏。

使用后

借助此技能,架构师能快速利用预定义的安全图标和PlantUML语法,高效生成清晰、标准化的安全架构图,显著提升设计效率和团队协作的准确性。

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

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量9.3K
评分4.5 / 5.0
版本
更新日期2026年4月29日
对比案例1 组

用户评分

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

为此 Skill 评分

0.0

兼容平台

🤖claude-code

时间线

创建2026年4月12日
最后更新2026年4月29日
🎁 Agent 知识卡片