skills/vladm3105/aidoc-flow-framework/doc-riskspec-autopilot

doc-riskspec-autopilot

Installation
SKILL.md

doc-riskspec-autopilot

Purpose

Automated Risk Specification (RISKSPEC) generation pipeline that processes REQ documents to generate specifications for risk management deliverables including risk matrices, impact assessments, control measures, and mitigation plans.

Layer: 9.53 (RISKSPEC - Risk Specifications)

Upstream: REQ (Layer 7)

Downstream: TSPEC (Layer 10), TASKS (Layer 11)


When to Use

Use doc-riskspec-autopilot when:

  • REQ documents have deliverable_type: risk
  • Creating risk matrix specifications
  • Generating impact assessment specs
  • Creating control measure documentation
  • Specifying mitigation plan requirements

Document Type Contract (MANDATORY)

When generating RISKSPEC document instances, the autopilot MUST:

  1. Read instance_document_type from template:

    • Source: ai_dev_ssd_flow/09_SPEC/RISKSPEC/RISKSPEC-MVP-TEMPLATE.yaml
    • Field: metadata.instance_document_type: "riskspec-document"
  2. Set document_type in generated document frontmatter:

    custom_fields:
      document_type: riskspec-document
      artifact_type: RISKSPEC
      deliverable_type: risk
      layer: 9
      subtype_code: 53
    

Risk Element Types

Element Type Code Description
Risk Matrix 65 Probability × Impact grid
Impact Assessment 66 Consequence analysis
Control Measure 67 Risk mitigation controls
Mitigation Plan 68 Action plan for risks

Supported Frameworks

  • ISO 31000 - Risk Management
  • NIST Cybersecurity Framework
  • FAIR - Factor Analysis of Information Risk
  • Custom enterprise frameworks

RISK-Ready Score Components

Component Weight Target
Risk Identification 25% 100%
Impact Analysis 20% ≥90%
Control Mapping 20% ≥90%
Mitigation Plans 15% ≥85%
Residual Risk 10% ≥85%
Traceability 10% 100%

Target: RISK-Ready ≥85%


References

  • Template: ai_dev_ssd_flow/09_SPEC/RISKSPEC/RISKSPEC-MVP-TEMPLATE.yaml
  • Schema: ai_dev_ssd_flow/09_SPEC/RISKSPEC/RISKSPEC_MVP_SCHEMA.yaml
Weekly Installs
3
GitHub Stars
11
First Seen
Mar 13, 2026
Installed on
opencode3
gemini-cli3
antigravity3
claude-code3
github-copilot3
codex3