Skip to content
Back to skills

Security Architect

ASecurity

Security Architect Skill

  • 3 stars
  • 0 votes
  • 2 copies
  • 5 views
  • Added September 8, 2026
securitygobackendsecurity

Works with

  • cli

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add agisota/old-one --skill security-architect --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Architect?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Architect
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agisota-security-architect/badge)](https://www.skillsdirectory.com/skills/agisota-security-architect)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
triggers:
  - "security architect"
name: security-architect
description: Security Architect Skill
---

## The Four Phases

You MUST complete each phase before proceeding to the next.

### Phase 1: Authentication Architecture (The Handshake)

**BEFORE writing a single line of auth code:**

1.  **Select the Flow**
    - **Mobile/SPA:** MUST use **Authorization Code Flow with PKCE** (Proof Key for Code Exchange).
    - **Backend:** Authorization Code Flow.
    - **Implicit Flow:** **FORBIDDEN.** Never use it. It returns tokens in the URL.
    - **Device Flow:** Only for input-constrained devices (TVs/IoT).

2.  **Scope Strategy (Least Privilege)**
    - Define exactly which permissions are needed from YouTube (`youtube.readonly`) vs Twitch (`chat:read`).
    - **Incremental Auth:** Do not ask for all scopes at signup. Ask for `youtube.upload` only when the user actually clicks "Upload."
    - **Justification:** Be ready to explain to the user *why* you need this access.

3.  **The "No-Credential" Rule**
    - **Principle:** We never see, touch, or store the user's password.
    - **Identity Provider (IdP):** Delegate login to the provider (Google/Twitch).
    - **Redirect URIs:** strict allow-listing. No wildcards (`*`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.