/polymath-security:stride-threat-modelfrom polymath-security
Model a system with STRIDE; writes docs/threat-models/<slug>.md with frontmatter validated by the ThreatModel artifact schema.
Ships in polymath-security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Frame a threat model around the six STRIDE categories, decompose the scope by data flow, list threats with mitigations.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
polymath-security:stride-threat-model.Threat-model.md.${workflow.slug} wins; otherwise lowercase it, replace each run of characters outside a-z0-9 with -, trim - at the ends, and cut to ≤ 60 characters at a -. An existing file at the target path is updated in place (show the diff), never duplicated.docs/threat-models/<slug>.md:
ThreatModel artifact schema (registry/schemas/artifacts/Threat-model.schema.json): artifact: ThreatModel, system, scope, owner, created, stride_categories (subset of the six STRIDE values).docs/threat-models/<slug>.md.If you author a workflow that invokes this skill, add a mustPass check:
mustPass:
- id: threat-model-valid
type: artifactValid
path: docs/threat-models/${workflow.slug}.md
artifact: ThreatModel
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-security8 skills in this plugin
/auth-designDesign authentication/authorization — OAuth2/OIDC flow choice, JWT vs opaque/session tokens, RBAC vs ABAC, SSO, token lifetime/refresh/revocation./compliance-mappingMap a compliance framework (SOC 2 / GDPR / ISO 27001 / HIPAA) to concrete technical controls and the evidence/artifacts each control needs for audit./crypto-reviewReview a cryptography choice — encryption at rest/in transit, key management + rotation, algorithm/mode selection, and common foot-guns (IV reuse, ECB, home-rolled crypto).Other plugins' skills for the same job