Value Cost Risk Analysis 标志

Value Cost Risk Analysis

社区
jdm4pku
value-cost-risk-analysis

Prioritize requirements using a multi-factor value/cost/risk model with relative scoring. Use when stakeholders disagree on priority or when simple ranking fails to capture trade-offs.

概览

发布者jdm4pku
代码仓库RE-Skills
技能名称value-cost-risk-analysis
星标数
27
复刻数
1
附带文件
2
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 jdm4pku 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Value Cost Risk Analysis AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/value-cost-risk-analysis
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jdm4pku/RE-Skills.git /tmp/RE-Skills
mkdir -p .claude/skills
cp -r /tmp/RE-Skills/skills/value-cost-risk-analysis .claude/skills/value-cost-risk-analysis
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Value Cost Risk Analysis,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Value Cost Risk Analysis。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Value Cost Risk Analysis 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Purpose

Guide requirements engineers through the Wiegers value/cost/risk priority model to produce a defensible, quantitative prioritization of requirements. This model replaces subjective "high/medium/low" rankings with a multi-factor scoring system that makes trade-offs explicit and traceable.

This is not a popularity contest or a voting exercise. It is a structured analysis that forces stakeholders to consider both the value of having a feature and the cost and risk of building it.

Key Concepts

The Four Scoring Dimensions

Each requirement is scored on four dimensions using a 1-9 relative scale:

  • Relative Benefit (1-9) -- How much the customer or business benefits if this requirement is included. Score 9 for maximum benefit; score 1 for minimal benefit.
  • Relative Penalty (1-9) -- How much the customer or business suffers if this requirement is not included. Score 9 for severe penalty (regulatory violation, competitive loss); score 1 for negligible impact.
  • Relative Cost (1-9) -- How expensive this requirement is to implement relative to other requirements. Score 9 for most expensive; score 1 for least expensive.
  • Relative Risk (1-9) -- How much technical risk or uncertainty this requirement carries. Score 9 for highest risk (new technology, unclear feasibility); score 1 for well-understood implementation.

The Priority Formula

Value% = (Benefit × benefit_weight + Penalty × penalty_weight) / Total_Value × 100
Cost%  = Cost / Total_Cost × 100
Risk%  = Risk / Total_Risk × 100

Priority = Value% / (Cost% × cost_weight + Risk% × risk_weight)

Default weights: benefit_weight = 2, penalty_weight = 1, cost_weight = 1, risk_weight = 0.5

Higher priority scores indicate requirements that deliver more value relative to their cost and risk.

Why This Works

  • Separates value from difficulty -- A high-value requirement that is also high-cost may rank lower than a moderate-value, low-cost requirement
  • Makes penalty visible -- Requirements with high penalty scores (regulatory, safety) surface even if their benefit score is moderate
  • Configurable weights -- Adjust benefit/penalty/cost/risk weights to reflect organizational priorities
  • Transparent and auditable -- Every score is recorded; stakeholders can see why a requirement ranked where it did

Stakeholder Scoring Process

  1. Identify 3-5 representative stakeholders (use skills/stakeholder-analysis/SKILL.md)
  2. Benefit and penalty scores come from customer-side stakeholders
  3. Cost and risk scores come from development-side stakeholders
  4. Each stakeholder scores independently first, then the group discusses outliers
  5. Use the average or consensus score after discussion

Anti-Patterns

  • Democracy Voting -- Letting all stakeholders vote on all dimensions. Customers should not estimate cost; developers should not score business benefit.
  • Anchor Bias -- Showing one stakeholder's scores before others score. Collect scores independently first.
  • False Precision -- Treating the priority number as an exact ranking. Use it to identify tiers (high/medium/low), not to argue whether priority 2.31 beats priority 2.28.

Application

Use template.md for the full scoring spreadsheet structure.

Step 1: Select Requirements to Prioritize

Choose a manageable set (10-30 requirements). These should be at the same level of abstraction -- do not mix epics with detailed requirements. For ChemTrack, this might be the feature-level requirements from the SRS.

Step 2: Identify Scorers

Assign scoring responsibilities:

  • Benefit and Penalty: Product champion, business analyst, key customer representatives
  • Cost and Risk: Technical lead, senior developers, architect

Step 3: Score Independently

Each scorer rates every requirement on their assigned dimensions (1-9 scale). Provide these anchoring guidelines:

ScoreMeaning
1Minimal -- negligible impact or effort
3Low -- minor impact or effort
5Moderate -- noticeable impact or effort
7High -- significant impact or effort
9Critical -- maximum impact or effort

Step 4: Resolve Outliers

When scores for a single requirement vary by 4+ points across scorers:

  1. Display the scores anonymously
  2. Ask the high and low scorers to explain their reasoning
  3. Discuss until the group converges (within 2 points)
  4. Record the consensus score and the rationale

Step 5: Calculate Priorities

Apply the priority formula. Sort requirements by priority score descending. Example calculation for ChemTrack:

Requirement: Chemical expiration alerting (FR-12)
Benefit = 8, Penalty = 9, Cost = 4, Risk = 3

Value  = (8 × 2) + (9 × 1) = 25
Cost%  = 4 / 85 × 100 = 4.7%
Risk%  = 3 / 62 × 100 = 4.8%

Priority = (25 / 290 × 100) / (4.7 × 1 + 4.8 × 0.5)
         = 8.62 / 7.1
         = 1.21

Step 6: Interpret Results

  • Top tier (highest 30%) -- Strong candidates for Release 1
  • Middle tier (next 40%) -- Candidates for Release 1 if capacity allows, otherwise Release 2
  • Bottom tier (lowest 30%) -- Defer to Release 2 or later

Do not blindly follow the numbers. Review the tiers with stakeholders and adjust if the formula produced a result that violates a known constraint (e.g., a regulatory requirement scored low because of high cost but must be in Release 1).

Step 7: Document and Communicate

Record the full scoring spreadsheet, the weights used, and any manual overrides with rationale. This becomes the basis for release planning discussions.


Examples

See examples/sample.md for a complete value/cost/risk analysis.

Mini example excerpt:

markdown
| Req ID | Requirement         | Benefit | Penalty | Cost | Risk | Value | Value% | Cost% | Risk% | Priority |
|--------|---------------------|---------|---------|------|------|-------|--------|-------|-------|----------|
| FR-12  | Expiration alerting | 8       | 9       | 4    | 3    | 25    | 8.6%   | 4.7%  | 4.8%  | 1.21     |
| FR-05  | Chemical search     | 9       | 7       | 3    | 2    | 25    | 8.6%   | 3.5%  | 3.2%  | 1.69     |
| FR-18  | Barcode scanning    | 6       | 3       | 7    | 6    | 15    | 5.2%   | 8.2%  | 9.7%  | 0.40     |

FR-05 ranks highest: high value, low cost and risk. FR-18 ranks lowest: moderate value, high cost and risk.

Common Pitfalls

Pitfall 1: Letting Developers Score Business Value

Symptom: Cost and benefit scores come from the same people.

Consequence: Technical preferences masquerade as business priorities. Interesting technical work scores high; boring but critical features score low.

Fix: Enforce role separation. Customer-side stakeholders score benefit and penalty; development-side stakeholders score cost and risk.


Pitfall 2: Scoring at Mixed Abstraction Levels

Symptom: An epic ("Regulatory Compliance Module") is scored alongside a detailed requirement ("Date format validation").

Consequence: Epics dominate because they naturally score higher on both benefit and cost. Detailed requirements are drowned out.

Fix: Decompose to a consistent level before scoring. All items should represent roughly similar-sized pieces of functionality.


Pitfall 3: Ignoring the Penalty Dimension

Symptom: Only benefit is scored; penalty is left blank or scored uniformly.

Consequence: Requirements driven by risk avoidance (regulatory compliance, safety) are undervalued because their benefit may appear moderate while their penalty for exclusion is severe.

Fix: Always score both benefit and penalty. Penalty captures "what bad thing happens if we do not do this?" which is a distinct dimension from "what good thing happens if we do this?"


Pitfall 4: Treating Priority Scores as Absolute

Symptom: "The formula says FR-18 is priority 0.40, so it is out."

Consequence: Dependencies, regulatory mandates, or strategic considerations are overridden by a formula that cannot capture all context.

Fix: Use priority scores to create tiers using the formula, then apply expert judgment within tiers. The formula is a decision-support tool, not a decision-making tool.


Pitfall 5: Never Revisiting Priorities

Symptom: Prioritization done once at project start, never updated.

Consequence: Market changes, technical discoveries, or stakeholder changes invalidate the original scores.

Fix: Reprioritize at each release boundary or when significant new information emerges.

References

Related Skills

  • skills/stakeholder-analysis/SKILL.md -- Identifies the scorers for benefit/penalty dimensions
  • skills/moscow-prioritization/SKILL.md -- Simpler prioritization alternative; can be used to validate results
  • skills/requirements-status-tracking/SKILL.md -- Tracks implementation status of prioritized requirements
  • skills/vision-and-scope/SKILL.md -- Business objectives provide context for benefit scoring

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 16: First Things First: Setting Requirement Priorities
  • Karl Wiegers, "First Things First: Prioritizing Requirements," Software Development (1999)

Skill type: Component Dependencies: References skills/stakeholder-analysis/SKILL.md Used by: skills/moscow-prioritization/SKILL.md, skills/requirements-status-tracking/SKILL.md

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Value Cost Risk Analysis AI 技能有什么作用?

Prioritize requirements using a multi-factor value/cost/risk model with relative scoring. Use when stakeholders disagree on priority or when simple ranking fails to capture trade-offs.

为什么在 TypingMind 中使用 Value Cost Risk Analysis?

因为您只需安装一次,就能搭配任何模型使用。Value Cost Risk Analysis 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Value Cost Risk Analysis?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jdm4pku/RE-Skills/tree/main/skills/value-cost-risk-analysis。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Value Cost Risk Analysis?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Value Cost Risk Analysis 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Value Cost Risk Analysis 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Value Cost Risk Analysis AI 技能免费吗?

jdm4pku 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇