Logo Requirements Analysis Process

Requirements Analysis Process

Cộng đồng
jdm4pku
requirements-analysis-process

Transform raw elicitation outputs into analyzed, modeled, and structured requirements. Use when moving from "what stakeholders said" to "what the system shall do" through visual modeling, data analysis, and requirements decomposition.

Tổng quan

Nhà phát hànhjdm4pku
Kho mãRE-Skills
Tên kỹ năngrequirements-analysis-process
Sao
27
Bản fork
1
Tệp đi kèm
1
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ộ.

  • 1 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 Analysis Process 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-analysis-process
  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-analysis-process .claude/skills/requirements-analysis-process
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 Analysis Process 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 Analysis Process 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 Analysis Process 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

Transform raw elicitation outputs into structured, analyzed, modeled requirements. This is the bridge between "what stakeholders said" and "what the system shall do."

This is not elicitation (gathering information) or validation (reviewing requirements). It is the analytical work in between -- decomposing, modeling, structuring, and gap-filling.

Key Concepts

The Analysis Process

Raw Elicitation Outputs
    |
    v
[Classify] - Sort into requirement types
    |
    v
[Model] - Create visual analysis models
    |
    v
[Decompose] - Break high-level needs into detailed requirements
    |
    v
[Analyze Data] - Define data elements and relationships
    |
    v
[Resolve Conflicts] - Identify and resolve inconsistencies
    |
    v
[Verify Completeness] - Check for gaps using models and checklists
    |
    v
Structured Requirements (ready for SRS)

Analysis Techniques by Purpose

PurposeTechniqueSkill Reference
System boundaryContext diagramskills/context-diagram/SKILL.md
Process flowDFDs, swimlane diagrams(inline in this workflow)
Object lifecycleState-transition diagramsskills/state-modeling/SKILL.md
Complex logicDecision tablesskills/decision-table/SKILL.md
Data structureERDs, data dictionaryskills/data-dictionary/SKILL.md
CompletenessCRUD matrixskills/data-dictionary/SKILL.md
BehaviorUse casesskills/use-case/SKILL.md
Business rulesRule catalogskills/business-rule/SKILL.md

Application

Phase 1: Classify Elicitation Outputs (30-60 min)

Take your raw elicitation notes and sort each item into categories:

  1. Functional requirements -- What the system must do
  2. Quality attributes -- Performance, security, usability expectations
  3. Business rules -- Policies and constraints that govern behavior
  4. Data requirements -- What data is needed, stored, processed
  5. Constraints -- Technical or business limitations
  6. Assumptions -- Things assumed true but not verified
  7. Open questions -- Ambiguities that need follow-up
  8. Out of scope -- Items explicitly excluded

For each item, note:

  • Source (which stakeholder said this)
  • Confidence level (clear / needs clarification / conflicting)

Phase 2: Create Visual Models (1-2 hours)

Apply analysis models to discover missing requirements:

2.1 Context Diagram (if not done during scoping) Use skills/context-diagram/SKILL.md:

  • Identify all external entities and data flows
  • Each data flow becomes a candidate for interface requirements

2.2 Process Models For each major workflow:

  • Draw a swimlane diagram showing actors and process steps
  • Identify decision points (these become use case alternative flows or decision tables)
  • Identify data stores (these feed the data dictionary)

2.3 State Models Use skills/state-modeling/SKILL.md:

  • For each key domain object (orders, chemicals, requests, etc.)
  • List all states and events
  • Build the state table and fill in every cell
  • Empty cells = missing requirements

2.4 Decision Tables Use skills/decision-table/SKILL.md:

  • For any requirement with multiple interacting conditions
  • Build the table, verify 2^N completeness
  • Each rule becomes a testable requirement

Phase 3: Decompose Requirements (1-2 hours)

Transform high-level needs into detailed, atomic requirements:

3.1 From User Needs to System Behavior

Stakeholder said: "I need to know when chemicals are about to expire."
    |
    v
User Requirement: "Lab technician needs expiration visibility."
    |
    v
Functional Requirements:
  - FR-1: System shall display expiration date in chemical list
  - FR-2: System shall highlight chemicals expiring within 30 days
  - FR-3: System shall send email alert at 30-day mark
  - FR-4: System shall send urgent email at 7-day mark
  - FR-5: System shall prevent expired chemicals from being assigned

3.2 Apply EARS Templates Use the EARS patterns from skills/srs-document/SKILL.md:

  • Ubiquitous: "The system shall [always do this]"
  • Event-driven: "When [trigger], the system shall [response]"
  • State-driven: "While [condition], the system shall [behavior]"
  • Unwanted: "If [error], the system shall [handling]"
  • Optional: "Where [feature included], the system shall [behavior]"

3.3 Write Each Requirement For each decomposed requirement:

  • Assign a unique ID
  • Write using "shall" language
  • Link to source (stakeholder, elicitation session)
  • Link to business objective
  • Identify business rules that apply
  • Flag any remaining ambiguity as open questions

Phase 4: Analyze Data (30-60 min)

Use skills/data-dictionary/SKILL.md:

4.1 Build the Data Dictionary

  • Extract every data element mentioned in requirements
  • Define each element: type, format, valid values
  • Compose structures from primitives

4.2 Create CRUD Matrix

  • Cross-reference data entities with system functions
  • Identify missing operations (created but never read? read but never created?)
  • Each gap is a potential missing requirement

4.3 Define Entity Relationships

  • Draw ERD or class diagram showing key entities
  • Identify cardinality (1:1, 1:N, M:N)
  • Each relationship implies data integrity requirements

Phase 5: Resolve Conflicts (30-60 min)

5.1 Identify Conflicts During classification and modeling, you will find:

  • Stakeholder A says X; Stakeholder B says not-X
  • Two requirements that contradict each other
  • A requirement that conflicts with a constraint

5.2 Resolve Each Conflict For each conflict:

  1. Document both positions with source
  2. Identify the root cause (different user classes? different assumptions?)
  3. Propose resolution options
  4. Escalate to the appropriate stakeholder for decision
  5. Document the decision and rationale

Phase 6: Verify Completeness (30 min)

Use these systematic checks:

  • Every data flow in the context diagram has at least one requirement
  • Every cell in every state table is filled
  • Every cell in the CRUD matrix is accounted for
  • Every decision table has 2^N rules (or documented consolidation)
  • Every business rule traces to at least one functional requirement
  • Every user class (from stakeholder analysis) has at least one use case or user story
  • Error handling is specified for every normal flow step
  • Quality attributes are specified for all critical functions
  • Open questions list is reviewed -- any remaining TBDs?

Examples

See examples/sample.md for an analysis walkthrough.

Common Pitfalls

Pitfall 1: Skipping Visual Models

Symptom: Going directly from elicitation notes to writing requirements in an SRS.

Consequence: Missing requirements that visual models would reveal (unhandled states, incomplete data operations, missing decision rules).

Fix: Invest 1-2 hours in visual modeling. The CRUD matrix alone typically reveals 5-10 missing requirements.


Pitfall 2: Writing Requirements at the Wrong Level

Symptom: Some requirements are high-level ("manage chemicals") and others are detailed ("validate CAS check digit using algorithm X").

Consequence: Inconsistent abstraction level makes the SRS hard to review, estimate, and test.

Fix: Decompose consistently. Each requirement should be at the same level of detail -- one testable behavior per requirement.


Pitfall 3: Ignoring Conflicts

Symptom: Contradictory requirements from different stakeholders are both included in the SRS without resolution.

Consequence: Developers discover the contradiction during implementation and must make a design decision that should have been a requirements decision.

Fix: Resolve every conflict before baselining. Document the decision and rationale so the "losing" stakeholder understands why.

References

Related Skills (Orchestrated by This Workflow)

  • skills/context-diagram/SKILL.md -- Phase 2: Boundary modeling
  • skills/state-modeling/SKILL.md -- Phase 2: Object lifecycle modeling
  • skills/decision-table/SKILL.md -- Phase 2: Complex logic analysis
  • skills/data-dictionary/SKILL.md -- Phase 4: Data analysis and CRUD matrix
  • skills/use-case/SKILL.md -- Phase 3: Behavioral decomposition
  • skills/business-rule/SKILL.md -- Phase 1: Classification
  • skills/srs-document/SKILL.md -- Final output structure

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapters 12-13
  • Tom DeMarco, Structured Analysis and System Specification (1979) -- DFDs and data dictionary
  • Peter Chen, "The Entity-Relationship Model" (1976) -- Data modeling

Skill type: Workflow Dependencies: Follows skills/requirements-elicitation-workshop/SKILL.md Outputs: Ready-to-write requirements for skills/srs-document/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 Analysis Process làm được gì?

Transform raw elicitation outputs into analyzed, modeled, and structured requirements. Use when moving from "what stakeholders said" to "what the system shall do" through visual modeling, data analysis, and requirements decomposition.

Vì sao nên dùng Requirements Analysis Process 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 Analysis Process 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 Analysis Process 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-analysis-process. 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 Analysis Process?

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 Analysis Process 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 Analysis Process 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 Analysis Process 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 👇