sota-api-design
State-of-the-art API design and audit guidance (2026) covering REST/HTTP, GraphQL, gRPC, WebSockets/SSE/realtime, webhooks, versioning/evolution, and API…
State-of-the-art identity and access management engineering (2026) for BUILDING/configuring identity infrastructure AND AUDITING it — federation, IdPs, authorization models, the joiner-mover-leaver lifecycle, privileged/break-glass access, workload identity, MFA/passkeys, and
$ npx -y skills add martinholovsky/SOTA-skills --skill sota-identity-access --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sota-identity-accessContext preview
The summary Claude sees to decide when to auto-load this skill.
State-of-the-art identity and access management engineering (2026) for BUILDING/configuring identity infrastructure AND AUDITING it — federation, IdPs, authorization models, the joiner-mover-leaver lifecycle, privileged/break-glass access, workload identity, MFA/passkeys, and
name: sota-identity-access description: >- State-of-the-art identity and access management engineering (2026) for BUILDING/configuring identity infrastructure AND AUDITING it — federation, IdPs, authorization models, the joiner-mover-leaver lifecycle, privileged/break-glass access, workload identity, MFA/passkeys, and assurance levels; audits cover orphaned accounts, over-privileged roles, weak MFA, long-lived tokens, and SAML misconfig. Owns identity INFRASTRUCTURE and access-management DESIGN, not app-level login/session/JWT mechanics (sota-code-security owns those). Trigger keywords: IAM, IdP, OIDC, OAuth 2.1, PKCE, DPoP, PAR, RAR, JAR, FAPI, SAML, SCIM, provisioning, deprovisioning, RBAC, ABAC, ReBAC, Zanzibar, OpenFGA, SpiceDB, OPA, Cedar, Kanidm, Keycloak, Authentik, Zitadel, Entra, Okta, SSO, single logout, MFA, passkey, FIDO2, WebAuthn, step-up, conditional access, CAEP, PAM, break-glass, just-in-time, SPIFFE, access review, NIST 800-63, IAL, AAL, FAL, Active Directory, Kerberos, Kerberoasting, ADCS, RBCD, gMSA, dMSA, LAPS, krbtgt.
Own the identity **infrastructure** and access-management **design** of a system: the federation protocols themselves, the IdP that issues and validates tokens, the authorization model that decides who may do what, the lifecycle that creates and destroys access, privileged access, and machine identity. Two modes. In **BUILD** mode you stand up or configure this infrastructure correctly by default. In **AUDIT** mode you assess an existing identity estate against the same rules and report severity-rated findings. The rules files are the single source of truth for both.
Boundary discipline — this skill does **not** re-teach what siblings own:
WebAuthn ceremony, JWT *signature* validation mechanics at one RP): that is **sota-code-security** rules/02. This skill owns the protocol and the IdP side.
**sota-code-security** rules/03. This skill owns the authorization *model* and the *policy engine* that the app calls.
credential operation**: **sota-secrets-management** rules/01 and rules/05.
Concurrent siblings to invoke alongside: **sota-network-security** (mTLS, ZTNA, identity-aware proxy), **sota-kubernetes** (K8s RBAC, OIDC to the API server, SA tokens), **sota-detection-engineering** (identity-based detections, impossible-travel, auth anomaly), **sota-privacy-compliance** (consent, DSAR, audit evidence).
The hierarchy of preference, always: **(1)** no standing credential — short-lived, federated, sender-constrained tokens; **(2)** standing identity with strong phishing-resistant authentication and just-in-time elevation; **(3)** long-lived secret-authenticated client with rotation and audit; **(4)** anything static and broadly-scoped is a defect to be justified or removed.
Use when standing up or configuring any identity component.
1. **Pick the protocol, not the vibe.** Interactive user login → OIDC Authorization Code + PKCE (the only sanctioned interactive flow). Service-to-service → client credentials with `private_key_jwt`/mTLS, or workload identity federation. High assurance → FAPI 2.0. Legacy SAML only where a relying party requires it. Read `rules/01-federation-protocols.md` before configuring any client. 2. **Treat the IdP as a tier-0 asset.** HA, backups of the identity store, restricted admin plane, signing-key rotation, break-glass design. `rules/02-idp-operations.md`. 3. **Design the authorization model deliberately.** RBAC vs ABAC vs ReBAC is an architecture decision; model roles/relationships and write policy as code with a test matrix. `rules/03-authorization-models.md`. 4. **Wire the lifecycle before launch.** Joiner-mover-leaver, SCIM provisioning AND deprovisioning, access reviews. Deprovisioning is the #1 IAM failure — design it first. `rules/04-lifecycle-provisioning.md`. 5. **Separate and time-box privilege.** Admin-account separation, JIT elevation, logged-and-alerted break-glass, machine identity. `rules/05-privileged-workload.md`. 6. **Make authentication phishing-resistant and adaptive.** Passkeys/FIDO2 at the IdP, step-up, CAEP/SSF for continuous evaluation. `rules/06-mfa-federation-assurance.md`. 7. **Self-review against each file's Audit checklist** before declaring done.
Use when assessing an existing identity estate.
1. **Enumerate the IdP config**: clients/relying parties and their redirect URIs, client-auth methods, token lifetimes, grant types enabled, signing keys + rotation, session/SLO config, MFA policy, federation/brokering trusts. Pull from the IdP API or config export, not screenshots. 2. **Enumerate the population**: every human and service account, its authentication strength, last-login, group/role assignments, and owner. Cross against the HR/source-of-truth roster to find orphans. 3. **Sweep by rules file**: 01 (protocol/token misconfig), 02 (IdP hardening), 03 (over-privilege/SoD), 04 (orphaned/dormant/no-reviews — usually the most findings), 05 (break-glass/standing admin/static workload creds), 06 (weak MFA). 4. **Verify, don't assume**: a wildcard redirect URI, an account that logged in 400 days ago, a role granting `*` — confirm each against the live config/logs before reporting. Never authenticate as a discovered account or trigger break-glass without explicit permission.
| Severity | Definition | Examples | |---|---|---| | **Critical** | Identity-layer flaw enabling full account/tenant takeover or auth bypass for many principals | Wildcard/loose `redirect_uri` enabling token theft; IdP accepts unsigned SAML assertions or `alg:non
Make your AI coding assistant build and audit like your most senior engineer. Your assistant is brilliant — it just doesn't know your standards, and it forgets the ones it does know as the task grows long.
Repo: martinholovsky/SOTA-skills
State-of-the-art API design and audit guidance (2026) covering REST/HTTP, GraphQL, gRPC, WebSockets/SSE/realtime, webhooks, versioning/evolution, and API…
State-of-the-art software and system architecture rules (2026) for both building and auditing. Use when designing, building, refactoring, or extending system…
State-of-the-art rules for writing and auditing asynchronous and concurrent code across runtimes (Python asyncio, JS/Node, Go, Rust, JVM). Use when building…
State-of-the-art C and C++ engineering rules (2026 baseline) that Claude applies when writing or auditing C/C++. Covers modern idioms (RAII, value semantics,…
State-of-the-art CLI and developer-tool UX guidance (2026) covering command and flag design, output and interaction (stdout/stderr, --json, TTY detection, exit…
State-of-the-art cloud infrastructure architecture (2026). Applies when designing, building, or auditing cloud environments on AWS, GCP, or Azure —…