ai-team-library/claude/skills/threat-model/SKILL.md
# Skill: Threat Model ## Description Performs a STRIDE-based threat analysis over a system's architecture, producing a structured threat model with identified threats, risk ratings, mitigations, and a security test checklist. The skill reads architecture documentation and context to identify trust boundaries, data flows, and entry points, then systematically evaluates each for Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege risks. This is
npx skillsauth add beekeeper-lab/foundry ai-team-library/claude/skills/threat-modelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Performs a STRIDE-based threat analysis over a system's architecture, producing a structured threat model with identified threats, risk ratings, mitigations, and a security test checklist. The skill reads architecture documentation and context to identify trust boundaries, data flows, and entry points, then systematically evaluates each for Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege risks. This is the Security Engineer persona's primary analytical tool.
/threat-model slash command.| Input | Type | Required | Description |
|-------|------|----------|-------------|
| architecture_doc | File path | Yes | Architecture spec, design doc, or ADR describing the system |
| project_context | File path | No | ai/context/project.md for stack and domain context; defaults to project's context |
| scope | String | No | Limit analysis to a specific component or boundary (e.g., "API layer", "auth subsystem") |
| existing_model | File path | No | Previous threat model to update incrementally |
| Output | Type | Description | |--------|------|-------------| | threat_model | Markdown file | Complete STRIDE analysis with threats, ratings, and mitigations | | security_checklist | Markdown file | Testable verification items for each mitigation | | threat_summary | Section in model | Executive summary with critical/high threat count and top risks |
| Error | Cause | Resolution |
|-------|-------|------------|
| NoArchitectureDoc | No architecture document provided or found | Create an architecture spec first; the Architect persona can help |
| EmptyArchitecture | Architecture doc exists but has no substantive content | Fill in the architecture document with component descriptions and data flows |
| ScopeNotFound | The specified scope does not match any component in the architecture | Check the scope string against component names in the architecture doc |
| NoTrustBoundaries | Analysis found no trust boundaries (likely an incomplete architecture) | Ensure the architecture doc describes external interfaces and user interactions |
personas/security-engineer/templates/threat-model.md) if availabledevelopment
# Skill: VDD (Verification-Driven Development) Gate ## Description Runs the programmatic VDD gate for a bean: parses the bean's `## Acceptance Criteria` section, dispatches each criterion's evidence type to the matching runner (test, lint, file, file-contains, or manual), aggregates the results into a pass/fail verdict, and writes a structured markdown report at `ai/outputs/tech-qa/vdd-<NNN>.md` (zero-padded NNN). This is the machine-checkable counterpart to the prose VDD policy in `ai/contex
tools
# Skill: Spawn Task ## Description Dispatches a single specialist persona to execute a single task with only that task's context. Auto-detects the runtime environment and chooses one of two execution paths: - **In tmux** (`$TMUX` set): spawn a worker in a git worktree using a child tmux window. Process-isolated, parallelizable, durable across the calling session's lifetime. Same pattern as `/spawn-bean` but at task granularity. - **Not in tmux**: invoke the `Agent` tool with `subagent_typ
development
# Skill: Orchestration Report ## Description Aggregates the per-bean **Orchestration Telemetry** blocks (BEAN-278) across recent Done beans and produces a markdown report that answers the architecture-aware-evaluation question: **is the orchestration paying for itself?** Distinct from `/telemetry-report` (which aggregates raw cost, duration, and tokens); this skill aggregates the orchestration-quality metrics layered on top — bounces, persona activations, contract violations, escape-hatch usag
development
# Skill: Health Check ## Description Runs all health checks defined in `ai/context/health-checks.md` and produces a table-format report. Can be called standalone or by other skills (e.g., `/long-run`). ## Trigger - Invoked by the `/health-check` slash command. - Called programmatically by `/long-run` at the start of each cycle. ## Inputs | Input | Type | Required | Description | |-------|------|----------|-------------| | health_checks | Markdown file | Yes | `ai/context/health-checks.md`