Token导航 LogoToken导航TokenDH.com
运维和基础设施需要联网github未标认证来源可访问clear审计通过

risk-analysis风险分析

Agent Skill

risk-analysis 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

470

周安装

20

GitHub Stars

61

下载量

165
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:risk-analysis(风险分析)
来源仓库:https://github.com/melodic-software/claude-code-plugins
仓库路径:skills/risk-analysis
安装命令:
npx skills add https://github.com/melodic-software/claude-code-plugins --skill risk-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/melodic-software/claude-code-plugins --skill risk-analysis

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 可结合来源仓库和安装命令核验具体用法。
  • 安装前建议确认权限范围及是否会触发联网或文件读写。
  • risk-analysis 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Risk Analysis

When to Use This Skill

Use this skill when:

  • Risk Analysis tasks - Working on risk analysis using risk registers, probability/impact matrices, and mitigation planning. identifies, assesses, and manages project, business, and technical risks with structured response strategies
  • Planning or design - Need guidance on Risk Analysis approaches
  • Best practices - Want to follow established patterns and standards

Overview

Systematically identify, assess, and manage risks using risk registers, probability/impact matrices, and structured response planning. Supports project risks, business risks, technical risks, and opportunity management.

What is Risk Analysis?

Risk is an uncertain event or condition that, if it occurs, has a positive or negative effect on objectives. Risk analysis involves:

  • Identification: What could happen?
  • Assessment: How likely? How impactful?
  • Response Planning: What will we do about it?
  • Monitoring: Track and update risks

Risk vs Issue

ConceptDefinitionAction
RiskPotential future event (uncertain)Plan response
IssueCurrent problem (certain)Resolve now

Threats vs Opportunities

TypeEffectResponse Goal
ThreatNegative impactMinimize exposure
OpportunityPositive impactMaximize benefit

Risk Register

The central repository for all identified risks:

## Risk Register

| ID | Risk Description | Category | Probability | Impact | Score | Owner | Response | Status |
|----|-----------------|----------|-------------|--------|-------|-------|----------|--------|
| R-001 | [Description] | [Category] | H/M/L | H/M/L | [P×I] | [Name] | [Strategy] | Open |

Risk Register Fields

FieldDescription
IDUnique identifier
DescriptionClear risk statement
CategoryType of risk
ProbabilityLikelihood of occurrence
ImpactConsequence if it occurs
ScoreRisk priority (P × I)
OwnerPerson responsible
ResponsePlanned response strategy
StatusOpen, Mitigated, Closed, Occurred

Risk Categories

CategoryExamples
TechnicalTechnology failure, integration issues
ScheduleDelays, dependencies
CostBudget overrun, resource costs
ResourceSkill gaps, availability
ExternalVendor, regulatory, market
OrganizationalChange resistance, priorities
QualityDefects, performance
SecurityData breach, unauthorized access

Probability/Impact Matrix

Scoring Scales

Probability Scale:

LevelScoreDescriptionLikelihood
Very Low1Rare< 10%
Low2Unlikely10-30%
Medium3Possible30-50%
High4Likely50-70%
Very High5Almost Certain> 70%

Impact Scale:

LevelScoreScheduleCostQuality
Very Low1< 1 week< 5%Minor
Low21-2 weeks5-10%Noticeable
Medium32-4 weeks10-20%Significant
High41-3 months20-40%Major
Very High5> 3 months> 40%Critical

Risk Score Calculation

Risk Score = Probability × Impact

Score Range: 1-25

Risk Priority Zones:

ScorePriorityAction
1-4LowAccept or monitor
5-9MediumActive management
10-14HighPriority attention
15-25CriticalImmediate action

Visual Matrix

quadrantChart
    title Risk Matrix
    x-axis Low Impact --> High Impact
    y-axis Low Probability --> High Probability
    quadrant-1 Critical
    quadrant-2 High Priority
    quadrant-3 Low Priority
    quadrant-4 Medium Priority

Risk Response Strategies

For Threats (Negative Risks)

StrategyDescriptionWhen to Use
AvoidEliminate the threatHigh probability and impact
TransferShift to third partyFinancial/contractual risks
MitigateReduce probability or impactMost common approach
AcceptAcknowledge, no actionLow priority risks

For Opportunities (Positive Risks)

StrategyDescriptionWhen to Use
ExploitEnsure opportunity occursHigh-value opportunities
SharePartner to increase capabilityNeed external help
EnhanceIncrease probability or impactModerate opportunities
AcceptTake advantage if it occursLow-effort opportunities

Response Planning Template

## Risk Response Plan: R-001

**Risk:** [Description]
**Strategy:** [Avoid/Transfer/Mitigate/Accept]

### Prevention Actions
| Action | Owner | Due Date | Status |
|--------|-------|----------|--------|
| [Preventive measure] | [Name] | [Date] | [Status] |

### Contingency Plan
**Trigger:** [What indicates risk is occurring]
**Actions:**
1. [Contingency action 1]
2. [Contingency action 2]

### Residual Risk
**After mitigation:**
- Probability: [Reduced level]
- Impact: [Reduced level]
- New Score: [Residual score]

Workflow

Phase 1: Risk Identification

Step 1: Gather Inputs

Sources for risk identification:

  • Project plans and schedules
  • Stakeholder concerns
  • Historical data from similar projects
  • SWOT analysis (Threats)
  • Technical assessments
  • External environment analysis

Step 2: Brainstorm Risks

Techniques:

  • Checklist review: Standard risk categories
  • Expert interviews: Subject matter experts
  • Assumption analysis: Test project assumptions
  • Root cause analysis: Work backward from impacts
  • SWOT: Threats and opportunities

Step 3: Document Risks

Risk statement format:

"There is a risk that [CONDITION/CAUSE] may result in [CONSEQUENCE/IMPACT]"

Example:
"There is a risk that key developer leaves may result in schedule delay and knowledge loss"

Phase 2: Risk Assessment

Step 1: Assess Probability

For each risk:

  • What is the likelihood of occurrence?
  • What evidence supports this assessment?
  • Use defined scale (1-5)

Step 2: Assess Impact

For each risk:

  • What would be the consequence?
  • Consider multiple impact types (schedule, cost, quality)
  • Use the highest impact dimension
  • Use defined scale (1-5)

Step 3: Calculate and Prioritize

## Risk Assessment Summary

| ID | Risk | P | I | Score | Priority |
|----|------|---|---|-------|----------|
| R-001 | [Risk 1] | 4 | 5 | 20 | Critical |
| R-002 | [Risk 2] | 3 | 3 | 9 | Medium |
| R-003 | [Risk 3] | 2 | 2 | 4 | Low |

Phase 3: Response Planning

Step 1: Select Response Strategy

For each significant risk:

  • Match strategy to risk characteristics
  • Consider cost of response vs. risk exposure
  • Assign risk owner

Step 2: Define Response Actions

  • Specific, measurable actions
  • Clear owners and due dates
  • Contingency triggers defined

Step 3: Calculate Residual Risk

After planned mitigations:

  • Re-assess probability and impact
  • Calculate residual risk score
  • Determine if acceptable

Phase 4: Monitoring

Step 1: Track Risk Status

Regular review cadence:

  • Critical risks: Weekly
  • High risks: Bi-weekly
  • Medium risks: Monthly
  • Low risks: Quarterly

Step 2: Update Register

  • New risks identified
  • Risk scores changed
  • Responses executed
  • Risks closed or occurred

Output Formats

Risk Register (Markdown Table)

## Risk Register: [Project/Initiative]

**Date:** [ISO Date]
**Owner:** [Name]
**Review Cycle:** [Weekly/Monthly]

| ID | Risk Description | Category | P | I | Score | Owner | Response | Actions | Status |
|----|-----------------|----------|---|---|-------|-------|----------|---------|--------|
| R-001 | Key developer may leave during critical phase | Resource | 4 | 5 | 20 | PM | Mitigate | Cross-train, document | Open |
| R-002 | Third-party API may have breaking changes | Technical | 3 | 4 | 12 | Tech Lead | Mitigate | Abstraction layer | Open |
| R-003 | Budget approval may be delayed | Cost | 2 | 4 | 8 | Sponsor | Accept | Monitor | Open |
| R-004 | New regulation may require features | External | 2 | 3 | 6 | BA | Accept | Watch | Open |

### Summary
- **Total Risks:** 4
- **Critical (15+):** 1
- **High (10-14):** 1
- **Medium (5-9):** 1
- **Low (1-4):** 1

Risk Matrix Visualization

quadrantChart
    title Risk Assessment Matrix
    x-axis Low Impact --> High Impact
    y-axis Low Probability --> High Probability
    quadrant-1 Critical - Immediate Action
    quadrant-2 High - Active Management
    quadrant-3 Low - Monitor
    quadrant-4 Medium - Plan Response
    "R-001 Key Dev": [0.9, 0.8]
    "R-002 API Changes": [0.7, 0.6]
    "R-003 Budget": [0.7, 0.35]
    "R-004 Regulation": [0.5, 0.35]

Structured Data (YAML)

risk_register:
  name: "[Project/Initiative]"
  version: "1.0"
  date: "2025-01-15"
  owner: "Project Manager"
  review_cycle: "weekly"

  risk_appetite:
    overall: "moderate"
    schedule: "low"
    cost: "moderate"
    quality: "low"

  scales:
    probability:
      1: "Rare (<10%)"
      2: "Unlikely (10-30%)"
      3: "Possible (30-50%)"
      4: "Likely (50-70%)"
      5: "Almost Certain (>70%)"
    impact:
      1: "Very Low"
      2: "Low"
      3: "Medium"
      4: "High"
      5: "Very High"

  risks:
    - id: "R-001"
      description: "Key developer may leave during critical phase"
      category: "Resource"
      probability: 4
      impact: 5
      score: 20
      priority: "critical"
      owner: "Project Manager"
      response_strategy: "mitigate"
      response_actions:
        - action: "Cross-train team member"
          owner: "Tech Lead"
          due_date: "2025-02-01"
          status: "in_progress"
        - action: "Document critical knowledge"
          owner: "Developer"
          due_date: "2025-02-15"
          status: "not_started"
      contingency:
        trigger: "Developer gives notice"
        actions:
          - "Accelerate knowledge transfer"
          - "Engage contractor"
      residual_risk:
        probability: 3
        impact: 3
        score: 9
      status: "open"
      created_date: "2025-01-15"
      last_reviewed: "2025-01-15"

  summary:
    total: 4
    by_priority:
      critical: 1
      high: 1
      medium: 1
      low: 1
    by_status:
      open: 4
      mitigated: 0
      closed: 0
      occurred: 0

Narrative Summary

## Risk Assessment Summary

**Project:** [Name]
**Date:** [ISO Date]
**Assessed By:** risk-analyst

### Risk Profile

| Priority | Count | Top Risk |
|----------|-------|----------|
| Critical | 1 | Key developer leaving |
| High | 1 | Third-party API changes |
| Medium | 1 | Budget approval delay |
| Low | 1 | Regulatory changes |

### Critical Risks Requiring Action

#### R-001: Key Developer Departure
- **Score:** 20 (P:4 × I:5)
- **Response:** Mitigate through cross-training and documentation
- **Target Residual:** 9 (P:3 × I:3)
- **Actions:** 2 in progress, 0 completed

### Risk Trends

| Metric | This Period | Last Period | Trend |
|--------|-------------|-------------|-------|
| Total Risks | 4 | 3 | ↑ |
| Critical | 1 | 0 | ↑ |
| Closed | 0 | 1 | ↓ |

### Recommendations

1. **Immediate:** Accelerate R-001 mitigation actions
2. **This Week:** Complete API abstraction layer design
3. **Monitor:** Watch for regulatory announcements

Common Pitfalls

PitfallPrevention
Vague risk descriptionsUse "condition may cause consequence" format
Inconsistent scoringDefine and use standard scales
No risk ownersAssign owner at identification
Stale registerSchedule regular reviews
Ignoring opportunitiesInclude positive risks
Over-analysisFocus on high-priority risks
No contingencyPlan for when risks occur

Integration

Upstream

  • swot-pestle-analysis - Threats from strategic analysis
  • stakeholder-analysis - Stakeholder concerns as risks
  • decision-analysis - Risks inform decisions

Downstream

  • Project planning - Risk-adjusted schedules
  • Budgeting - Contingency reserves
  • Monitoring - Risk tracking dashboards

Related Skills

  • swot-pestle-analysis - Strategic threats/opportunities
  • root-cause-analysis - When risks occur
  • decision-analysis - Risk-based decisions
  • prioritization - Risk prioritization

Version History

  • v1.0.0 (2025-12-26): Initial release

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

30.17%
按下载量换算50

trae

22.82%
按下载量换算38

windsurf

16.66%
按下载量换算27

Claude Code

12.87%
按下载量换算21

Codex

6.85%
按下载量换算11

Gemini CLI

3%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills