Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

security-planning

БесплатноЗапускает вложенные скриптыНе проверен

Security planning and plan-drift analysis for STRIDE, standards, controls, backlog handoff, current findings, and TM7 generation.

microsoftот microsoft★ 1 654 звезды на GitHub

Об этом скилле

Security Planning

This skill packages durable security-planning and plan-drift analysis used by Security Planner, Security Reviewer, and Code Review: operational bucket guidance, STRIDE analysis patterns, standards cross-references, NIST control-family references, security-specific backlog formats, and correlation of a Security Planner baseline with current security findings.

When to use

Use this skill when you need to:

  • Classify application components into the operational security buckets used during planning.
  • Evaluate threats with STRIDE-based analysis, including AI-specific extensions when raiEnabled is true.
  • Map bucket findings to standards references and control families without re-embedding long standard tables.
  • Derive security-specific backlog priorities and RAI work item categories for Phase 5 handoff.
  • Correlate a Security Planner baseline with caller-supplied current findings to identify validated controls, control drift, residual planned risks, newly introduced threats, and obsolete plan items.
  • Generate a dual-output TM7 model plus markdown report from a YAML/JSON threat-model spec for human-reviewed audit workflows.

Security plan drift analysis

Use the drift capability when a Security Planner baseline and current-state security findings already exist. It correlates supplied evidence only: it does not scan, profile, select security skills, verify findings, re-rate severity, invoke another agent, or modify source, plan, reviewer, backlog, or state artifacts.

  1. Resolve and extract the baseline through drift-input-contracts.md.
  2. Normalize caller-supplied audit, diff, or Code Review findings without treating plan-mode evidence as repository state.
  3. Filter default exclusions, then classify only conclusions supported by drift-comparison-model.md.
  4. Render the direct, Security Reviewer, Security Planner, or Code Review adaptation from drift-report-contract.md.
  5. Use drift-worked-examples.md for deterministic behavior scenarios and expected category suppression.

Before full conversational or durable drift output, display the Security Planning CAUTION block in this skill verbatim. Report the default exclusions below in the canonical body's Current repository evidence section. A bounded Code Review section may point to these blocks because its containing review already carries the Code-Review disclaimer.

Default exclusions in effect. Planning and agent-customization artifacts are excluded from drift findings:

  • Paths: .copilot-tracking/**, docs/planning/**, docs/adrs/**, .github/agents/**, .github/prompts/**, .github/instructions/**, .github/skills/**
  • File globs: *.prompt.md, *.agent.md, *.instructions.md, SKILL.md

To override, pass scope= explicitly. Overlapping user scope wins and is reported as a warning.

A write-capable direct caller may create one sequence-safe report under .copilot-tracking/security-audits/<project-slug>/. Security Reviewer and Security Planner render in conversation. Code Review renders a bounded section and optional security_plan_drift field. Every destination keeps inputs read-only and recommends follow-up without dispatch.

Stop the affected conclusion when a baseline is incomplete, a required fact is unresolved, evidence scope does not cover the claim, or input format drift prevents exclusions. Report suppressed categories as insufficient evidence rather than zero findings. Stop the entire correlation when no baseline resolves or no finding location is available to enforce exclusions.

TM7 generation workflow

When the user asks for a TM7 threat model, the runtime can generate a .tm7 file and a matching markdown report from the same spec. The generator supports the pre-populated-comprehensive and diagram-only-defer-to-tmt modes and can update an existing model with --update. Use the generate_tm7.py and generate_markdown.py entry points with --template to select a profile.

The .tm7 output mirrors the Microsoft Threat Modeling Tool's real SerializableModelData DataContract and deserializes cleanly under the tool's own DataContractSerializer. Fidelity is validated against the tool's own assemblies by scripts/Deserialize-Tm7.ps1, which the pytest suite runs when the tool is installed and skips cleanly otherwise. See references/tm7-generation.md for the verified contract.

Native TM7 visual feedback workflow

The skill also supports an opt-in, Windows-local feedback loop for the native Microsoft Threat Modeling Tool UI. The feature is off by default. The generator and standard validator keep their existing portable behavior when the feedback flags are absent. Native feedback is enabled only when validate_tm7_with_tmt.py is run with --feedback-loop, --spec, and --overlay-output; o

Полный SKILL.md на GitHub

Установить security-planning в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdSECURITY.mdassets/schemas/tm7-agent-review-request.schema.jsonassets/schemas/tm7-layout-overlay.schema.jsonassets/schemas/tm7-visual-feedback-manifest.schema.jsonassets/template-profiles/LICENSE-MIT-REFERENCE.txtassets/template-profiles/README.mdassets/template-profiles/sdl_core_generic.yamlassets/templates/LICENSEassets/templates/default-kb.xmlassets/templates/default.tb7pyproject.tomlreferences/00-index.mdreferences/backlog-formats.mdreferences/data-classification.mdreferences/drift-comparison-model.mdreferences/drift-input-contracts.mdreferences/drift-report-contract.mdreferences/drift-worked-examples.mdreferences/nist-control-families.mdreferences/operational-buckets.mdreferences/standards-cross-reference.mdreferences/stride-model.mdreferences/threat-model-review.mdreferences/tm7-generation-workflow.mdreferences/tm7-generation.mdscripts/Deserialize-Tm7.ps1scripts/generate_markdown.pyscripts/generate_tb7.pyscripts/generate_tm7.pyscripts/populate_tm7_threats.pyscripts/tm7_threat_contract.pyscripts/tm7_visual_feedback.pyscripts/validate_gap_citations.pyscripts/validate_tm7_with_tmt.pytemplates/threat-model-spec-example.yamluv.lock

FAQ

Что делает скилл security-planning?

Security planning and plan-drift analysis for STRIDE, standards, controls, backlog handoff, current findings, and TM7 generation.

Как установить скилл security-planning?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл security-planning запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить security-planning с