threat_modeling

Generate a formal threat_model.md by enumerating assets, trust boundaries, and STRIDE categories.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/YSheldon/Prompt-Log --skill threat-modeling-ysheldon
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: threat_modeling
Source: https://github.com/YSheldon/Prompt-Log/tree/main/.local/skills/threat_modeling
Command: npx skills add https://github.com/YSheldon/Prompt-Log --skill threat-modeling-ysheldon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Threat modeling is often tedious and inconsistent across projects. This Skill provides a structured approach to identify assets, map trust boundaries, and enumerate threats to produce a formal threat_model.md.

Core Features & Use Cases

  • Structured analysis: Identify assets, trust boundaries, and applicable STRIDE categories for a given project.
  • Artifact generation: Produce a comprehensive threat_model.md that documents assets, data flows, trust boundaries, and required guarantees.
  • Use Case: Use at project kickoff or architecture reviews to guide security controls and risk-mitigation plans.

Quick Start

Run threat_modeling on this repository to generate threat_model.md in the project root.

Frequently Asked Questions about threat_modeling

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

FAQPage Schema
How do I create a threat model for a software project?▼

To create a threat model, you need to identify project assets, map trust boundaries, and walk through STRIDE categories to document security threats. This process generates a formal threat_model.md file detailing required security guarantees and data flows.

When should I perform a threat modeling analysis during the development lifecycle?▼

Threat modeling should be performed during new project kickoffs, architecture reviews, authentication changes, data flow modifications, or third-party integrations. Applying it at these key milestones helps map assets and establish required security guarantees early.

What is the STRIDE methodology for security risk assessment?▼

STRIDE is a threat modeling methodology used to categorize security threats by walking through specific threat categories. It helps systematically enumerate threats against identified assets and trust boundaries to produce a comprehensive security risk assessment.

How do I document trust boundaries and data flows for architecture review?▼

Document trust boundaries and data flows by enumerating project assets and mapping where data crosses trust zones. This structured analysis identifies required security guarantees and outputs a formal threat_model.md artifact for architecture reviews.

Can I generate a threat_model.md file automatically for an existing repository?▼

Yes, you can generate a threat_model.md file by running the threat modeling analysis on an existing repository. It identifies assets, maps trust boundaries, and enumerates STRIDE threats to produce the documentation in the project root.

Do I need prior security expertise to use STRIDE for threat modeling?▼

While prior security expertise helps, using a structured threat modeling approach provides a guided framework to identify assets, map trust boundaries, and apply STRIDE categories, making formal risk assessment more consistent across projects.