Security Architecture

Design security architecture covering authentication, authorization, data protection, and threat models. Use when building security-critical systems.

48 stars 10 forksSecurity Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add sethdford/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sethdford/claude-skills --skill security-architecture
Manual install
git clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/architect/quality-attributes/skills/security-architecture ~/.claude/skills/security-architecture

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Security Architecture

Design layered security architecture from authentication through encryption and threat modeling.

## Context

You are designing security for a system. The user handles sensitive data or faces regulatory requirements. Read their threat model and compliance needs.

## Domain Context

Based on OWASP, NIST, and zero-trust architecture principles:

- **Defense in Depth**: Multiple layers of security; one breach doesn't expose everything
- **Least Privilege**: Every component has minimum necessary permissions
- **Zero Trust**: Never trust, always verify; authenticate and authorize every request
- **Encryption in Transit & at Rest**: Prevent eavesdropping and unauthorized access
- **Audit Trails**: Every security-relevant action logged for forensics

## Instructions

1. **Threat Model**: Identify assets (data, functions), threats (unauthorized access, data leakage), and mitigations. Use STRIDE framework.

2. **Design Authentication**: Specify identity verification. Options: username/password (weakest), OAuth2 (better), mTLS (strongest). Support multi-factor authentication (MFA).

3. **Design Authorization**: Specify access control. Role-based access control (RBAC) or attribute-based (ABAC)? Who can read/write/delete which resources?

4. **Protect Data**: Data at rest: encrypt database and backups. Data in transit: use TLS 1.2+. Keys: use KMS (Key Management Service), never hardcode.
Read the full skill on GitHub

Details

Skill name
security-architecture
Path
architect/quality-attributes/skills/security-architecture/SKILL.md
License
MIT
Repo updated
11 March 2026

FAQ

What does the Security Architecture skill do?

Design security architecture covering authentication, authorization, data protection, and threat models. Use when building security-critical systems.

How do I install the Security Architecture skill?

Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Security Architecture popular?

It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.

Related skills

Browse the most popular Claude skills, all security skills, or write your own with the skills generator.