Analysis Advisor 标志

Analysis Advisor

社区
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.

概览

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

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/analysis-advisor
  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/analysis-advisor .claude/skills/analysis-advisor
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

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

附带文件

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

常见问题

Analysis Advisor AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Analysis Advisor?

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

如何在 TypingMind 中安装 Analysis Advisor?

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

哪些 AI 模型可以使用 Analysis Advisor?

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

Analysis Advisor 可以搭配多少个 AI 模型使用?

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

Analysis Advisor AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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