Analysis Advisor logo

Analysis Advisor

Community
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.

Overview

Publisherjdm4pku
RepositoryRE-Skills
Skill nameanalysis-advisor
Stars
27
Forks
1
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jdm4pku on GitHub. Read the source before you install it.

Installation

Install the Analysis Advisor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/analysis-advisor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Analysis Advisor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Analysis Advisor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Analysis Advisor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Analysis Advisor AI skill do?

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.

Why use Analysis Advisor on TypingMind?

Because you install it once and use it with any model. Analysis Advisor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Analysis Advisor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jdm4pku/RE-Skills/tree/main/skills/analysis-advisor. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Analysis Advisor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Analysis Advisor?

As many as you like. As long as a model supports skills, you can use Analysis Advisor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Analysis Advisor AI skill free?

It is published on GitHub by jdm4pku. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇