threat-model-generation

Installation
SKILL.md

Threat Model Generation

Generate a comprehensive security threat model for a repository using the STRIDE methodology. This skill analyzes the codebase architecture and produces an LLM-optimized threat model document that other security skills can reference.

When to Use This Skill

  • First-time setup - New repository needs initial threat model
  • Architecture changes - Significant changes to components, APIs, or data flows
  • Security audit - Periodic review or compliance requirement
  • Manual request - Security team requests updated threat model

Inputs

Before running this skill, gather or confirm:

Input Description Required
Repository path Root directory to analyze Yes (default: current directory)
Existing threat model Path to existing .factory/threat-model.md if updating No
Related skills
Installs
51
GitHub Stars
72
First Seen
Feb 20, 2026