What problem does it solve?
Security teams need repeatable, reviewable threat models, but hand-authoring Microsoft Threat Modeling Tool (.tm7) files and STRIDE documentation is slow and error-prone. This Skill turns a vendor-neutral YAML/JSON threat-model spec into a deterministic .tm7 model plus a synchronized markdown report, with references for STRIDE analysis, NIST control mapping, and backlog handoff.
Core Features & Use Cases
- Deterministic TM7 generation: Build .tm7 models that deserialize cleanly under the Microsoft Threat Modeling Tool's own DataContract serializer, with modes for pre-populated-comprehensive and diagram-only output.
- Dual-output reporting: Emit a markdown STRIDE/NIST report from the same spec so reviewers get both the tool-native model and a readable document.
- Native feedback loop: Optionally validate and refine diagram layout on Windows using the pinned Threat Modeling Tool 7.3.51110.1, UI Automation, screenshots, and a human-reviewed overlay contract.
- Planning references: Load operational bucket guidance, STRIDE methodology, standards cross-references, NIST control families, data classification, and backlog formats on demand.
- Use Case: Given a spec describing components, trust zones, data flows, threats, and mitigations, generate a .tm7 file and markdown report for a security review, then iterate on diagram layout with the native feedback loop before human approval.
Quick Start
Ask the agent to generate a TM7 threat model and markdown report from your threat-model spec using the security-planning skill's generate_tm7.py and generate_markdown.py scripts.