Risk analysis

From Fr-e-d/GAAI-framework · View interactive version

Risk analysis is an AI agent skill from the GitHub repository Fr-e-d/GAAI-framework. Systematically identify and structure product, delivery, and systemic risks before they become failures. Activate before finalizing Epics and Stories, before execution planning, after repeated QA failures, or after major scope changes.

How to use this skill

Skill file

Risk Analysis

Purpose / When to Activate

Activate:

This skill makes risks explicit, prioritized, and actionable. It does not solve problems.


Process

CRITICAL — Anti-Collision Guard (MUST execute before writing any output file):

Before writing contexts/artefacts/risk-reports/{story_id}.risk-report.md, check if the target file already exists on disk:

This guard prevents the silent data loss incident of 2026-03-17 where concurrent sessions overwrote story files.

  1. Read provided artefacts fully
  2. Load relevant memory (if supplied)
  3. Scan for: ambiguity, assumptions, complexity spikes, constraint conflicts, missing validations
  4. For each risk: describe clearly, classify type, assess impact and likelihood, propose mitigation direction (not solution)
  5. Rank risks by severity. Derive severity from impact × likelihood using this matrix:

Risk Categories

Product risks: unclear outcomes, wrong user assumptions, missing edge cases, scope creep

Delivery risks: technical feasibility, hidden dependencies, performance/security concerns, testability gaps

Systemic risks: architectural erosion, rule violations, knowledge loss, repeated failure patterns


Output Format

RISK-ID naming convention: use format RISK-{STORY_ID}-{NNN} (e.g., RISK-E06S18-001).

Each risk:

### RISK-ID

Type: product | delivery | systemic
Description: clear concise risk
Impact: low | medium | high | critical
Likelihood: low | medium | high
Why it matters: concrete consequence
Suggested mitigation direction: what needs clarification, validation or control

Quality Checks


Non-Goals

This skill must NOT:

Unseen risk is what breaks AI-driven delivery. Surfaced risk is what makes it predictable.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.