Logo Analysis Advisor

Analysis Advisor

Cộng đồng
jdm4pku
analysis-advisor

Select the right analysis and modeling techniques based on requirement type, system complexity, and team experience. Use when deciding which visual models and analysis methods to apply during requirements analysis.

Tổng quan

Nhà phát hànhjdm4pku
Kho mãRE-Skills
Tên kỹ nănganalysis-advisor
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 Analysis Advisor 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/analysis-advisor
  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/analysis-advisor .claude/skills/analysis-advisor
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 Analysis Advisor 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 Analysis Advisor 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 Analysis Advisor 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

Guide requirements engineers in selecting the right combination of analysis and modeling techniques for their project. Different systems demand different analysis approaches -- a data-intensive reporting system benefits from data modeling, while an event-driven control system needs state modeling. Use this to choose wisely rather than applying every technique to every project or always defaulting to the same one.

This is not a technique manual -- it is a selection guide. For detailed instructions on each technique, see the referenced skill files.

Key Concepts

The Analysis Technique Toolbox

TechniqueWhat It RevealsBest ForSkill Reference
Use CasesActor-system interactions, functional flowsTransaction-heavy systems, user-facing featuresskills/use-case/SKILL.md
User StoriesUser needs and acceptance criteriaAgile projects, incremental deliveryskills/user-story-re/SKILL.md
Process ModelsWorkflow sequences, decision points, parallelismMulti-step business processes, cross-department workflowsskills/process-modeling/SKILL.md
Data ModelsEntity relationships, data structures, cardinalityData-intensive systems, databases, reporting systemsskills/data-dictionary/SKILL.md
State ModelsObject lifecycles, valid transitions, event responsesSystems with complex object states, embedded systems, workflow enginesskills/state-modeling/SKILL.md
Decision TablesComplex conditional logic, rule combinationsBusiness rules with multiple interacting conditionsskills/decision-table/SKILL.md
Dialog MapsUser interface navigation, screen flowsUI-intensive applications, user experience designskills/dialog-map/SKILL.md
Context DiagramsSystem boundary, external interfacesAny system at project start -- defines scopeskills/context-diagram/SKILL.md

Technique Selection Factors

  1. Requirement type focus -- Is the system primarily about user interactions, data management, complex logic, or event-driven behavior?
  2. System complexity -- Simple CRUD application or complex multi-domain system?
  3. Team experience -- Has the team used visual models before, or is this new?
  4. Key concerns -- What is most likely to go wrong: missing functionality, data integrity, unhandled states, or logic errors?

The "Always Apply" Baseline

Regardless of system characteristics, every project benefits from:

  • Context diagram -- Defines the system boundary and external interfaces (always do this first)
  • Data dictionary -- Defines the vocabulary of the system and prevents ambiguity

These two are not optional. Everything else is selected based on fit.

Why This Works

  • No technique is universal -- Use cases work well for user interactions but miss data relationships. State models reveal lifecycle gaps but do not show user workflows. The right combination covers blind spots.
  • Effort is finite -- You cannot create every model for every system. Selecting 3-4 high-value techniques is better than doing 7 techniques superficially.
  • Team capability matters -- A technique the team cannot read is a technique the team cannot review. Match sophistication to skill level.

Anti-Patterns

  • Use Cases for Everything -- Defaulting to use cases regardless of system characteristics. Use cases are weak at revealing data relationships, complex state behavior, and conditional logic.
  • No Visual Models -- Going directly from elicitation notes to written requirements without any visual analysis. This consistently misses 15-30% of requirements.
  • All Techniques Always -- Building every possible model for every project. Analysis paralysis. Most of the models will not yield proportionate insight.
  • Wrong Technique for Context -- Using state diagrams for a simple CRUD application or using only user stories for a safety-critical embedded system.

Application

Interactive Technique Selection

Question 1: What is your primary requirement type focus?

  1. User interactions -- The system is primarily about users performing tasks (forms, workflows, transactions)
  2. Data management -- The system is primarily about storing, processing, and reporting on complex data
  3. Business logic -- The system has complex rules, calculations, and conditional behavior
  4. Event-driven behavior -- The system responds to events, has complex object lifecycles, or is real-time
  5. Balanced -- The system has significant needs across multiple areas

Question 2: How complex is the system?

  1. Low -- Single user type, < 20 features, straightforward CRUD operations
  2. Medium -- 2-4 user types, 20-50 features, moderate business rules
  3. High -- 5+ user types, 50+ features, complex integrations, regulatory requirements
  4. Very High -- Safety-critical, real-time, embedded, or multi-system integration

Question 3: What is the team's modeling experience?

  1. None -- Team has not used visual models for requirements before
  2. Basic -- Team has used simple diagrams (flowcharts, basic ERDs) but not formal modeling notation
  3. Moderate -- Team has used use cases, state diagrams, or similar formal techniques
  4. Advanced -- Team is comfortable with multiple modeling notations (UML, BPMN, formal methods)

Question 4: What is your biggest concern about this system's requirements?

  1. Missing functionality -- We might miss features or user tasks
  2. Data integrity -- Data relationships and constraints might be wrong or incomplete
  3. Logic errors -- Business rules and conditional behavior might have gaps
  4. Unhandled states -- Object lifecycles and event responses might be incomplete
  5. User experience -- Navigation and screen flows might be confusing or incomplete
  6. Integration -- System interfaces and data exchanges might be missed

Recommendation Logic

Always recommended (all contexts):

  • Context diagram (skills/context-diagram/SKILL.md)
  • Data dictionary (skills/data-dictionary/SKILL.md)

User interactions focus (Q1=1):

ComplexityExperienceRecommended Techniques
Low-MediumNone-BasicUser stories + simple process flowcharts
Low-MediumModerate+Use cases (brief or casual format)
High-Very HighModerate+Use cases (fully dressed) + dialog maps
AnyAny + concern=missing functionalityUse cases -- they systematically reveal alternate and exception flows

Data management focus (Q1=2):

ComplexityExperienceRecommended Techniques
Low-MediumNone-BasicData dictionary + simple ER diagram
Medium-HighModerate+Data model (full ERD) + CRUD matrix + data dictionary
High-Very HighAdvancedData model + CRUD matrix + state models for key data entities
AnyAny + concern=data integrityData model + CRUD matrix -- CRUD reveals missing operations

Business logic focus (Q1=3):

ComplexityExperienceRecommended Techniques
Low-MediumNone-BasicDecision tables (simplified)
Medium-HighModerate+Decision tables + business rule catalog (skills/business-rule/SKILL.md)
High-Very HighAdvancedDecision tables + state models + process models for rule-heavy workflows
AnyAny + concern=logic errorsDecision tables -- they force completeness through 2^N rule enumeration

Event-driven focus (Q1=4):

ComplexityExperienceRecommended Techniques
Low-MediumNone-BasicSimple state transition diagrams (informal notation)
Medium-HighModerate+State models (full state tables) + event-response tables
High-Very HighAdvancedState models + decision tables + process models
AnyAny + concern=unhandled statesState models -- every cell in the state table is either a valid transition or an explicitly handled "cannot happen"

Balanced focus (Q1=5):

ComplexityExperienceRecommended Techniques
Low-MediumNone-BasicUser stories + data dictionary + 1 decision table for most complex rule
Medium-HighModerate+Use cases + data model + decision tables + state model for 1-2 key entities
High-Very HighAdvancedUse cases + data model + state models + decision tables + process models for cross-department workflows

Concern-specific additions (Q4):

ConcernAdd This TechniqueWhy
Missing functionalityUse cases with systematic alternate/exception flowsForces "what else can happen?" thinking
Data integrityCRUD matrixReveals operations where data is created but never read, or read but never created
Logic errorsDecision tablesForces explicit handling of every condition combination
Unhandled statesState transition tablesForces explicit handling of every state-event combination
User experienceDialog mapsReveals navigation paths and dead ends in the UI
IntegrationContext diagram + interface specificationsForces explicit definition of every data exchange

Examples

See examples/sample.md for a complete technique selection walkthrough.

Mini example excerpt:

Project: ChemTrack Chemical Inventory System

Q1: Balanced (user interactions + data + business logic + events)
Q2: Medium-High complexity (4 user types, ~40 features, EHS regulations)
Q3: Basic modeling experience (team has used flowcharts, not formal models)
Q4: Primary concern: unhandled states (chemical lifecycle is complex)

Recommended combination:
1. Context diagram (always) -- define system boundary
2. Data dictionary (always) -- define chemical record vocabulary
3. User stories (user interaction focus, team experience is basic)
4. State models for Chemical Record (primary concern: unhandled states)
5. Decision tables for disposal authorization (complex business logic)

NOT recommended for this context:
- Full use cases (team experience too basic; user stories are sufficient)
- BPMN process models (team has not used formal notation)
- Dialog maps (UI is not the primary concern for this system)

Common Pitfalls

Pitfall 1: Over-Modeling

Symptom: Team creates 7 different model types for a simple 15-feature application.

Consequence: Analysis phase takes 3x longer than necessary. Models are created but never reviewed because there are too many.

Fix: Match technique count to complexity. A simple system needs 2-3 techniques. Even a complex system rarely needs more than 5.


Pitfall 2: Under-Modeling

Symptom: Team writes requirements directly from elicitation notes with no visual analysis.

Consequence: 15-30% of requirements are consistently missed. State gaps, data operation gaps, and logic gaps are not discovered until testing or production.

Fix: At minimum, create a context diagram and apply one analytical technique (state model, decision table, or CRUD matrix) to the most complex area.


Pitfall 3: Technique Mismatch

Symptom: Team uses use cases to analyze a data warehouse, or state diagrams to analyze a simple form-based application.

Consequence: The technique reveals little because it is not suited to the system characteristics. The team concludes that "modeling does not help."

Fix: Select techniques based on system characteristics (this guide), not team familiarity or habit.


Pitfall 4: Models Without Integration

Symptom: State diagrams, data models, and use cases exist but are never cross-referenced.

Consequence: Each model reveals gaps in isolation, but cross-model gaps (a state transition that creates data not in the data model) are missed.

Fix: After creating models, cross-reference them. Every state in the state model should appear in use case flows. Every entity in the data model should appear in the CRUD matrix.

References

Related Skills (Technique Details)

  • skills/context-diagram/SKILL.md -- System boundary modeling
  • skills/use-case/SKILL.md -- Actor-system interaction modeling
  • skills/user-story-re/SKILL.md -- Agile requirements format
  • skills/process-modeling/SKILL.md -- Workflow and process analysis
  • skills/data-dictionary/SKILL.md -- Data element definition and CRUD analysis
  • skills/state-modeling/SKILL.md -- Object lifecycle modeling
  • skills/decision-table/SKILL.md -- Complex logic analysis
  • skills/dialog-map/SKILL.md -- UI navigation modeling
  • skills/business-rule/SKILL.md -- Business rule cataloging
  • skills/requirements-analysis-process/SKILL.md -- The full analysis workflow

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapters 8, 12, 13
  • Alistair Cockburn, Writing Effective Use Cases (2001)
  • Peter Chen, "The Entity-Relationship Model" (1976)
  • David Harel, "Statecharts: A Visual Formalism for Complex Systems" (1987)

Skill type: Interactive Dependencies: References all analysis technique skills Used by: skills/requirements-analysis-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 Analysis Advisor làm được gì?

Select the right analysis and modeling techniques based on requirement type, system complexity, and team experience. Use when deciding which visual models and analysis methods to apply during requirements analysis.

Vì sao nên dùng Analysis Advisor 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. Analysis Advisor 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 Analysis Advisor 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/analysis-advisor. 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 Analysis Advisor?

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