A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
A collection of rule and instruction sets for AI systems such as GitHub copilot and Cursor to perform generalized, struc
A structured instruction set for guiding AI agents through comprehensive security threat modeling.
⚠️ AI Disclaimer: AI outputs are NOT guaranteed to be accurate or complete. LLMs hallucinate and make errors. All outputs MUST be reviewed by qualified security professionals. This tool augments—not replaces—human expertise.
📋 Status: Developed for Cursor with Claude models. Tested primarily in Automatic mode. Collaborative mode and diverse system types need further validation. The complete process is resource-intensive—premium AI plans recommended.
targets/[system-name]/external-resources/"Perform a threat model on ./targets/[system-name]/"The agent will prompt you to select both operational mode and critic review preference before starting:

| Mode | Description |
|---|---|
| Collaborative | User answers questions, reviews/approves each stage |
| Automatic | Fully autonomous, uses provided documentation only |
| Critic Review | Description |
|---|---|
| Without Critic (Recommended) | Direct execution, 50-75% faster |
| With Critic | Adversarial validation after each stage (better suited for future multi-agent setups) |
| Stage | Output | Description |
|---|---|---|
| 1 | 01-system-understanding.md | Architecture, components, trust boundaries |
| 2 | 02-data-flow-analysis.md | DFDs, data flows, attack surfaces |
| 3 | 03-threat-identification.md | STRIDE + MITRE ATT&CK + Kill Chain analysis |
| 4 | 04-risk-assessment.md | Risk scoring and prioritization |
| 5 | 05-mitigation-strategy.md | Security controls and roadmap |
| 6 | 00-final-report.md | Executive-ready consolidated report |
.ai-instructions/ # Framework instructions
├── core/entry-point.md # Central entry point
├── modes/ # Collaborative & Automatic mode configs
└── skills/ # Modular skills framework
├── workflow-guide.md
├── documentation-specialist/ # Stages 1, 2, 6
├── threat-modeler/ # Stages 3-6
├── quality-critic/ # Validation (optional)
└── shared/ # Terminology, confidence levels
targets/[system-name]/
├── external-resources/ # Place target documentation here
└── output/threat-model/ # Generated outputs
See targets/example-quickdeliver/ for a complete example threat model output, including all 6 stages and supporting JSON working documents.
| Platform | Loader File |
|---|---|
| Cursor | .cursorrules (auto-loaded) |
| GitHub Copilot | .github/copilot-instructions.md |
MIT License - See LICENSE for details.
Created by: Mike Ensing (ensingm2@gmail.com)
This framework augments human security expertise but does not replace it. Always apply critical thinking to AI-generated threat models.
Cursor AI 编程规则精选集 | 132+ 规则,覆盖前端/后端/AI/DevOps 等 32 个领域
Curated AI Prompts for Cursor Rules, Cline, Windsurf and Github Copilot
A practical approach to managing multiple AI agents in Cursor through strict file-tree partitioning and domain boundarie
📄 Configuration files that enhance Cursor AI editor experience with custom rules and behaviors