Logo Requirements Risk Assessment

Requirements Risk Assessment

Cộng đồng
jdm4pku
requirements-risk-assessment

Identify and mitigate risks specific to requirements engineering using condition-consequence statements and risk exposure analysis. Use when requirements quality, completeness, or stability threatens project success.

Tổng quan

Nhà phát hànhjdm4pku
Kho mãRE-Skills
Tên kỹ năngrequirements-risk-assessment
Sao
27
Bản fork
1
Tệp đi kèm
2
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được jdm4pku công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Requirements Risk Assessment trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-risk-assessment
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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/requirements-risk-assessment .claude/skills/requirements-risk-assessment
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Requirements Risk Assessment trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Requirements Risk Assessment ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Requirements Risk Assessment với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Purpose

Identify, analyze, and mitigate risks that originate from requirements engineering activities. Requirements problems are the single largest source of project failures -- defects introduced during requirements cost 50-200x more to fix after deployment than during elicitation. Use this to make those risks visible and manageable before they become costly downstream problems.

This is not a general project risk assessment. It focuses specifically on risks arising from how requirements are elicited, analyzed, specified, validated, and managed.

Key Concepts

Condition-Consequence Risk Statements

A well-formed risk statement uses the condition-consequence format:

IF [condition] THEN [consequence]

Bad: "Requirements might be incomplete." Good: "IF the EHS compliance officer is unavailable during elicitation, THEN regulatory disposal requirements will be missed, resulting in non-compliant system behavior."

The condition is the uncertain event. The consequence is the impact on the project if the condition occurs.

Risk Exposure

Risk exposure quantifies the severity of a risk:

$$\text{Risk Exposure} = \text{Probability} \times \text{Impact}$$

RatingProbabilityImpact
High (3)> 70% likelySchedule slip > 2 weeks, or critical functionality gap
Medium (2)30-70% likelySchedule slip 1-2 weeks, or significant rework needed
Low (1)< 30% likelySchedule slip < 1 week, or minor corrections needed

Risk exposure ranges from 1 (low/low) to 9 (high/high). Risks scoring 6 or above demand immediate mitigation.

Requirements-Specific Risk Categories

CategoryDescriptionExample
Elicitation RiskRisks from incomplete or incorrect information gatheringKey stakeholder not interviewed
Analysis RiskRisks from inadequate decomposition or modelingMissing state transitions for chemical lifecycle
Specification RiskRisks from ambiguous, inconsistent, or untestable requirementsVague performance requirements
Validation RiskRisks from insufficient review or testing of requirementsNo formal inspection of SRS
Management RiskRisks from poor change control, traceability, or versioningNo baseline established before development

Why This Works

  • Condition-consequence format forces precision -- generic risks like "bad requirements" become specific, actionable statements
  • Risk exposure provides objective prioritization so the team focuses on what matters
  • RE-specific categories ensure you cover all phases of requirements work, not just the obvious ones
  • Mitigation tracking keeps risks from being identified and then forgotten

Anti-Patterns

  • Vague risks -- "Requirements might have problems" is not a risk statement. It does not identify a specific condition or consequence.
  • Risk identification without mitigation -- Listing 30 risks with no action plans. Identification without mitigation is just worry.
  • One-time assessment -- Assessing risks at project start and never revisiting. Requirements risks evolve as elicitation progresses.
  • Ignoring probability -- Treating all risks as equally likely. A risk with 10% probability should not consume the same resources as one with 90% probability.

Application

Use template.md for the fill-in structure.

Step 1: Identify Requirements Risks

For each RE activity phase, brainstorm potential risks using these prompts:

Elicitation risks:

  • Which stakeholder classes have NOT been interviewed?
  • Are there domain areas where we lack subject matter expertise?
  • Is user access constrained (time, availability, geography)?

Analysis risks:

  • Which features lack visual models (state diagrams, decision tables)?
  • Are there known conflicts between stakeholder needs?
  • Have we decomposed to a consistent level of detail?

Specification risks:

  • Are there TBD placeholders in the SRS?
  • Can every requirement be tested as written?
  • Are quality attributes quantified with measurable targets?

Validation risks:

  • Is a formal requirements review scheduled?
  • Do we have representative users to validate against?
  • Are acceptance criteria defined for each requirement?

Management risks:

  • Is a requirements baseline established?
  • Is change control in place?
  • Is traceability maintained?

Step 2: Write Risk Statements

For each identified risk, write a condition-consequence statement:

Risk ID: RR-003
IF the EHS compliance officer (Tom Rivera) is unavailable for the
scheduled validation review,
THEN regulatory disposal requirements (CT.DISPOSE.1-5) will not be
validated by the domain authority, potentially resulting in
non-compliant disposal workflows that violate EPA regulations.

Step 3: Assess Probability and Impact

For each risk, assign probability and impact ratings:

Risk IDConditionProbabilityImpactExposure
RR-001No CAS validation expert availableMedium (2)High (3)6
RR-002SRS review skipped due to scheduleHigh (3)High (3)9
RR-003EHS officer unavailable for validationLow (1)High (3)3

Step 4: Plan Mitigations

For each risk with exposure >= 4, define a mitigation strategy:

  • Avoidance -- Eliminate the condition entirely (e.g., schedule the EHS review first)
  • Mitigation -- Reduce probability or impact (e.g., identify a backup reviewer)
  • Transfer -- Shift the risk to another party (e.g., contract a CAS validation expert)
  • Acceptance -- Acknowledge and monitor (appropriate for low-exposure risks only)

Each mitigation needs an owner and a deadline.

Step 5: Track and Monitor

Review the risk register at each project milestone:

  • Have any risk conditions materialized?
  • Have probability or impact ratings changed?
  • Are mitigations being executed on schedule?
  • Are there new risks from recent elicitation or analysis?

Update the register and escalate any risk whose exposure has increased.


Examples

See examples/sample.md for a complete RE risk register.

Mini example excerpt:

markdown
### RR-005: Incomplete Hazardous Material Classification
- **Risk Statement:** IF the hazard classification taxonomy is not
  validated with the university safety office, THEN ChemTrack may use
  incorrect GHS categories, resulting in improper storage assignments
  and potential safety violations.
- **Probability:** Medium (2)
- **Impact:** High (3)
- **Exposure:** 6
- **Mitigation:** Schedule taxonomy review with safety office by Sprint 2.
  Owner: Sarah Chen. Deadline: 2025-04-15.
- **Status:** Mitigation in progress

Common Pitfalls

Pitfall 1: Generic Risk Statements

Symptom: Risks like "incomplete requirements" or "changing requirements" with no specifics.

Consequence: No actionable mitigation possible. The team acknowledges the risk and does nothing because there is nothing specific to do.

Fix: Use condition-consequence format. Name specific stakeholders, requirements, and features.


Pitfall 2: Risk Register as Shelf Document

Symptom: Risk register created at project start, filed away, never updated.

Consequence: New risks from ongoing elicitation and analysis are never captured. Known risks are never tracked.

Fix: Review the register at every milestone (sprint review, phase gate). Add it as a standing agenda item.


Pitfall 3: All Risks Rated High

Symptom: Every risk is rated High probability / High impact because no one wants to downplay a risk.

Consequence: No prioritization. Everything is critical, so nothing is critical.

Fix: Use objective criteria. "High probability" means > 70% likely based on evidence, not gut feeling. Calibrate with the team.


Pitfall 4: Mitigation Without Ownership

Symptom: Mitigations are defined but no one is assigned to execute them.

Consequence: Mitigations never happen. Risks materialize as predicted.

Fix: Every mitigation needs an owner (a person, not a team) and a deadline.


Pitfall 5: Ignoring Downstream Risk Indicators

Symptom: Requirements defects found during testing are not traced back to RE risk categories.

Consequence: The same types of requirements risks recur on every project because root causes are not addressed.

Fix: When a requirements defect is found downstream, update the risk register with the actual occurrence and feed the data into skills/re-process-improvement/SKILL.md.

References

Related Skills

  • skills/re-process-improvement/SKILL.md -- Risk data feeds into RE process improvement
  • skills/requirements-traceability/SKILL.md -- Traceability enables impact-based risk assessment
  • skills/change-control-advisor/SKILL.md -- Change control mitigates management risks
  • skills/requirements-validation-process/SKILL.md -- Validation mitigates specification and analysis risks
  • skills/quality-attribute/SKILL.md -- Quality attribute risks are a subset of specification risks

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 32: Software Requirements and Risk Management
  • Barry Boehm, Software Risk Management (1989) -- Risk exposure model
  • SEI, Taxonomy-Based Risk Identification (CMU/SEI-93-TR-6)

Skill type: Component Dependencies: None (foundational skill) Used by: skills/re-process-improvement/SKILL.md, skills/requirements-management-process/SKILL.md

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Requirements Risk Assessment làm được gì?

Identify and mitigate risks specific to requirements engineering using condition-consequence statements and risk exposure analysis. Use when requirements quality, completeness, or stability threatens project success.

Vì sao nên dùng Requirements Risk Assessment trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Requirements Risk Assessment là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Requirements Risk Assessment trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-risk-assessment. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Requirements Risk Assessment?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Requirements Risk Assessment với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Requirements Risk Assessment với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Requirements Risk Assessment có miễn phí không?

Kỹ năng này được jdm4pku phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇