Skip to content
Skills Library
Security · Analysis

threat-modeling

/threat-modeling

Threat modeling skill for STRIDE analysis, attack tree construction, and security requirement extraction. Use when designing new features, reviewing architecture, conducting threat modeling sessions, creating security documentation, or training teams on security thinking. Triggers: threat model, STRIDE, attack tree, DFD, security design, threat analysis, security architecture review.

Licence
MIT
Last repository change
30.06.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 30.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Threat modeling skill for STRIDE analysis, attack tree construction, and security requirement extraction. Use when designing new features, reviewing architecture, conducting threat modeling sessions, creating security documentation, or training teams on security thinking. Triggers: threat model, STRIDE, attack tree, DFD, security design, threat analysis, security architecture review.

Original author description

Threat modeling skill for STRIDE analysis, attack tree construction, and security requirement extraction. Use when designing new features, reviewing architecture, conducting threat modeling sessions, creating security documentation, or training teams on security thinking. Triggers: threat model, STRIDE, attack tree, DFD, security design, threat analysis, security architecture review.

How it works

  1. Iron Law: NO ARCHITECTURE REVIEW WITHOUT THREAT MODELING FIRST
  2. When to Use
  3. Process
  4. References
  5. Error Handling
Original SKILL.md headings · 33 lines, 236 words
SKILL.md preview
---
name: threat-modeling
description: Threat modeling skill for STRIDE analysis, attack tree construction, and security requirement extraction. Use when designing new features, reviewing architecture, conducting threat modeling sessions, creating security documentation, or training teams on security thinking. Triggers: threat model, STRIDE, attack tree, DFD, security design, threat analysis, security architecture review.
allowed-tools: Read, Grep, Glob, Bash
agent: threat-modeling-expert
metadata:
  triggers: threat model, STRIDE, attack tree, security design, threat analysis, security architecture review, DFD
  related-skills: security-reviewer, sast-configuration, architecture-design
  domain: security
  role: architect
  scope: design
  output-format: document
last-reviewed: "2026-03-15"
---

## Iron Law: NO ARCHITECTURE REVIEW WITHOUT THREAT MODELING FIRST

Every new feature, service, or architectural change requires a threat model before implementation begins.

## When to Use

- New feature or service design → STRIDE analysis + DFD
- Architecture change → full DFD analysis of affected components
- Production security incident → post-incident threat review
- Security audit preparation → staleness check on all threat models

## Process

1. **Load methodology** — Read `references/stride-methodology.md` for STRIDE matrix, DFD element mapping, risk scoring, and output template
2. **Load control library** — Read `references/threat-mitigation-mapping.md` for control categories, the 16-control lookup table, and coverage scoring
3. **Model the system** — Identify assets, trust boundaries, DFD elements, and interactions
4. **Run STRIDE** — Apply per-element and per-interaction analysis using the methodology reference
5. **Map mitigations** — Select controls from the library; verify defense-in-depth across layers
6. **Score and report** — Calculate `risk = impact × likelihood`, document residual risks

## References

| File | Content | Load When |
|------|---------|-----------|
| `references/stride-methodology.md` | STRIDE matrix, DFD mapping, risk scoring formula, output template | STRIDE analysis, DFD mapping, risk scoring |
| `references/threat-mitigation-mapping.md` | Control library (16 controls), coverage scoring, budget prioritization | Selecting security controls, budget prioritization |

## Error Handling

If architecture documents are missing, reconstruct system topology from the codebase using Grep/Glob.
If a component lacks context for threat analysis, flag it explicitly rather than guessing.
Files in this package (3)
  • SKILL.md 3 KB
  • references/stride-methodology.md 7 KB
  • references/threat-mitigation-mapping.md 6 KB

Versions

RepositoryScoreLicence
This page · kumaran-is/claude-code-onboarding90MIT
rjmurillo/ai-agents100MIT
FrancoStino/opencode-skills-collection100MIT
event4u-app/agent-config100MIT
sickn33/agentic-awesome-skills100MIT
nimadorostkar/Claude-Skills-collection100MIT
arozumenko/sdlc-skills100MIT
thisiskurubaran/DevSecOps100MIT
reddygopalkrishna/developer-agent-skills100MIT

Database snapshot: 13.11.2026 · package version 70cf1e3bd224 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90threat-modeling-expert
    Expert in threat modeling methodologies, security architecture review, and risk assessment. Masters STRIDE, PASTA, attack trees, and security requirement extraction. Use for security architecture r...
  • 100threat-model
    STRIDE threat modeling before implementing security-sensitive features. Use when: threat, STRIDE, attack surface, security design, new API, new feature security, threat model.
  • 96threat-model
    Use to conduct STRIDE threat modeling for a system or feature design.
  • 90model
    This skill should be used when the user asks to "create threat model", "threat model architecture", "map security architecture", "build threat model", "STRIDE analysis", "data flow diagram", "DFD security", or "attack tree analysis". Also triggers when the user wants a…
  • 90threat-modeling-expert
    Expert in threat modeling methodologies, security architecture review, and risk assessment. Masters STRIDE, PASTA, attack trees, and security requirement extraction. Use for security architecture reviews, threat identification, and secure-by-design planning.
  • 100threat-modeling-techniques
    Threat modeling methodologies using STRIDE, attack trees, and risk assessment for proactive security analysis. Use when designing secure systems, conducting security reviews, or identifying potential attack vectors in applications.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.