security-architecture

Guide secure software architecture design with authentication, encryption, and OWASP standards.

14|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rnavarych/alpha-engineer --skill security-architecture-rnavarych
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-architecture
Source: https://github.com/rnavarych/alpha-engineer/tree/main/plugins/billy-milligan/skills/architecture/security-architecture
Command: npx skills add https://github.com/rnavarych/alpha-engineer --skill security-architecture-rnavarych

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides guidance and best practices for designing secure systems, covering authentication, authorization, encryption, and adherence to security standards like OWASP.

Core Features & Use Cases

  • Secure Design Principles: Understand and apply core security concepts like defense in depth and least privilege.
  • Authentication & Authorization Patterns: Implement robust methods like JWT rotation, OAuth2, and mTLS.
  • Encryption Strategies: Learn about at-rest, in-transit, and field-level encryption, including key management.
  • Compliance & Standards: Reference OWASP Top 10 and Zero Trust architecture patterns.
  • Use Case: When designing a new microservice, use this Skill to ensure authentication is handled securely using JWTs with proper rotation and that sensitive data is encrypted at rest.

Quick Start

Use the security-architecture skill to understand JWT rotation patterns for stateless APIs.

Frequently Asked Questions about security-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement JWT rotation for stateless APIs?

JWT rotation for stateless APIs involves issuing short-lived access tokens and longer-lived refresh tokens to maintain security without server-side session storage. This Skill details specific patterns to implement secure JWT rotation and manage token lifecycles effectively.

What is the best way to implement OAuth2 and OIDC flows for microservices?

Implementing OAuth2 and OIDC flows for microservices requires delegating authentication to an identity provider and validating tokens at the API gateway. This Skill provides comprehensive guidance on configuring OAuth2 and OIDC flows for secure microservice architectures.

How does mTLS work for service-to-service authentication?

mTLS works for service-to-service authentication by requiring both the client and server to present and verify X.509 certificates, establishing mutual trust. This Skill outlines how to apply mTLS patterns to secure internal communications against unauthorized access.

When do I need field-level encryption instead of standard at-rest encryption?

You need field-level encryption instead of standard at-rest encryption when specific sensitive data fields require individual cryptographic protection independent of the database layer. This Skill explains strategies for at-rest, in-transit, and field-level encryption including key management.

Does this cover OWASP Top 10 and Zero Trust architecture principles?

Yes, this covers OWASP Top 10 and Zero Trust architecture principles by providing reference patterns to design systems that mitigate common vulnerabilities and assume a hostile network. It integrates these standards directly into secure software architecture guidance.

What are the limitations of using Zero Trust architecture for internal networks?

Limitations of using Zero Trust architecture include increased latency from continuous verification and complexity in managing granular access policies across internal networks. This Skill details how to balance Zero Trust principles with defense in depth and least privilege.