markdown-viewer/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.

All-time #4524 Trending #9689 Hot #467 First seen Apr 11, 2026
8-week activity · all time api

Installation

$ npx skills add markdown-viewer/skills --skill security

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from markdown-viewer/skills · top by installs.

npx skills add markdown-viewer/skills

Browse all from markdown-viewer/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 3.3K
License GPL-3.0
Default branch main
Open issues 2
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
author
Security diagrams are powered by Markdown Viewer — the best multi-platform Markdown extension (Chrome/Edge/Firefox/VS Code) with diagrams, formulas, and one-click Word export. Learn more at https://docu.md

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 5,698 B
  • docs SUMMARY.md 239 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2,900 installs

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](../uml/stencils/README.md) for 9500+ available icons.

Mxgraph Stencil Syntax

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

Identity & Access Stencils

Category Stencils Purpose
IAM identityandaccessmanagement, identityaccessmanagementiamrolesanywhere Identity policies & roles
SSO/Directory cognito, adconnector, directoryservice, cloud_directory User authentication & federation
STS sts, sts_alternate Temporary security credentials
Organizations organizations, organizationsaccount, organizationsorganizational_unit Multi-account governance

Encryption & Secrets Stencils

Category Stencils Purpose
KMS keymanagementservice, keymanagementserviceexternalkey_store Key management & encryption
Secrets secrets_manager Secrets rotation & storage
Certificates certificatemanager, privatecertificate_authority TLS certificate lifecycle
HSM cloudhsm Hardware security module
Encryption encrypted_data Encrypted data at rest

Network Security Stencils

Category Stencils Purpose
Firewall networkfirewall, networkfirewallendpoints, firewallmanager Network traffic filtering
WAF generic_firewall Web application firewall
Shield shield, shieldshieldadvanced, shield2 DDoS protection
Security Group securitygroup, groupsecurity_group Instance-level firewall

Threat Detection & Compliance Stencils

Category Stencils Purpose
Detection guardduty, detective, inspector Threat detection & investigation
Data Protection macie Sensitive data discovery
Compliance securityhub, securityhubfinding, auditmanager, config Compliance posture & audit
Logging cloudtrail, cloudtrailcloudtraillake, security_lake Audit trail & log aggregation
Governance control_tower, organizations Multi-account governance
Incident securityincidentresponse Incident management

Connection Types

Syntax Meaning Use Case
A --> B Solid arrow Auth flow / access request
A ..> B Dashed arrow Audit event / async detection
A -- B Solid line Trust relationship
A --> B : "label" Labeled connection Describe 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

Type Purpose Key Stencils Example
IAM & AuthN Identity and authentication cognito, identityandaccess_management, sts [iam-authn.md](examples/iam-authn.md)
Encryption Pipeline Data encryption at rest/in-transit keymanagementservice, certificatemanager, secretsmanager [encryption-pipeline.md](examples/encryption-pipeline.md)
Network Security Perimeter defense & firewalls networkfirewall, shield, securitygroup [network-security.md](examples/network-security.md)
Threat Detection Automated threat response guardduty, detective, security_hub [threat-detection.md](examples/threat-detection.md)
Compliance Audit Governance & audit trail config, auditmanager, cloudtrail, securitylake [compliance-audit.md](examples/compliance-audit.md)
Zero Trust Zero-trust access model cognito, identityandaccessmanagement, networkfirewall [zero-trust.md](examples/zero-trust.md)
Data Protection Sensitive data classification macie, encrypteddata, keymanagement_service [data-protection.md](examples/data-protection.md)
Multi-account Gov Organization-wide security organizations, controltower, securityhub [multi-account-governance.md](examples/multi-account-governance.md)