security-design

amattas's avatarfrom amattas

Design security controls and threat mitigations. Use for features involving auth, data, or external exposure.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 26, 2025

When & Why to Use This Skill

The Security Design skill for Claude enables developers and architects to proactively identify vulnerabilities and design robust security mitigations. It streamlines the threat modeling process for features involving authentication, sensitive data, or external exposure, ensuring that security controls like OWASP Top 10 protections, rate limiting, and compliance requirements are integrated into the development lifecycle from the start.

Use Cases

  • Threat Modeling for New Features: Automatically identify protected assets and potential attack vectors when designing new system components to prevent security debt.
  • Authentication and Authorization Planning: Define secure access controls, session management, and permission structures for features handling sensitive user data.
  • External Exposure Protection: Design rate limiting, abuse prevention, and logging requirements for public-facing APIs or web interfaces to mitigate external threats.
  • Compliance and Data Handling: Generate standardized security requirements that specify how sensitive data should be encrypted, handled, and audited to meet regulatory standards.
namesecurity-design
descriptionDesign security controls and threat mitigations. Use for features involving auth, data, or external exposure.

Security Design

Identify threats and design appropriate security controls for a feature.

Process

  1. Identify assets to protect
  2. Model potential threats
  3. Define required controls
  4. Specify data handling rules
  5. Note compliance requirements

Output

Create security-requirements.md using the template in templates/security-requirements.md.

Tips

  • Consider OWASP Top 10 threats
  • Define what data is sensitive
  • Specify authentication/authorization needs
  • Document logging requirements (without sensitive data)
  • Consider rate limiting and abuse prevention