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
| Technique | What It Reveals | Best For | Skill Reference |
|---|---|---|---|
| Use Cases | Actor-system interactions, functional flows | Transaction-heavy systems, user-facing features | skills/use-case/SKILL.md |
| User Stories | User needs and acceptance criteria | Agile projects, incremental delivery | skills/user-story-re/SKILL.md |
| Process Models | Workflow sequences, decision points, parallelism | Multi-step business processes, cross-department workflows | skills/process-modeling/SKILL.md |
| Data Models | Entity relationships, data structures, cardinality | Data-intensive systems, databases, reporting systems | skills/data-dictionary/SKILL.md |
| State Models | Object lifecycles, valid transitions, event responses | Systems with complex object states, embedded systems, workflow engines | skills/state-modeling/SKILL.md |
| Decision Tables | Complex conditional logic, rule combinations | Business rules with multiple interacting conditions | skills/decision-table/SKILL.md |
| Dialog Maps | User interface navigation, screen flows | UI-intensive applications, user experience design | skills/dialog-map/SKILL.md |
| Context Diagrams | System boundary, external interfaces | Any system at project start -- defines scope | skills/context-diagram/SKILL.md |
Technique Selection Factors
- Requirement type focus -- Is the system primarily about user interactions, data management, complex logic, or event-driven behavior?
- System complexity -- Simple CRUD application or complex multi-domain system?
- Team experience -- Has the team used visual models before, or is this new?
- 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?
- User interactions -- The system is primarily about users performing tasks (forms, workflows, transactions)
- Data management -- The system is primarily about storing, processing, and reporting on complex data
- Business logic -- The system has complex rules, calculations, and conditional behavior
- Event-driven behavior -- The system responds to events, has complex object lifecycles, or is real-time
- Balanced -- The system has significant needs across multiple areas
Question 2: How complex is the system?
- Low -- Single user type, < 20 features, straightforward CRUD operations
- Medium -- 2-4 user types, 20-50 features, moderate business rules
- High -- 5+ user types, 50+ features, complex integrations, regulatory requirements
- Very High -- Safety-critical, real-time, embedded, or multi-system integration
Question 3: What is the team's modeling experience?
- None -- Team has not used visual models for requirements before
- Basic -- Team has used simple diagrams (flowcharts, basic ERDs) but not formal modeling notation
- Moderate -- Team has used use cases, state diagrams, or similar formal techniques
- Advanced -- Team is comfortable with multiple modeling notations (UML, BPMN, formal methods)
Question 4: What is your biggest concern about this system's requirements?
- Missing functionality -- We might miss features or user tasks
- Data integrity -- Data relationships and constraints might be wrong or incomplete
- Logic errors -- Business rules and conditional behavior might have gaps
- Unhandled states -- Object lifecycles and event responses might be incomplete
- User experience -- Navigation and screen flows might be confusing or incomplete
- 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):
| Complexity | Experience | Recommended Techniques |
|---|---|---|
| Low-Medium | None-Basic | User stories + simple process flowcharts |
| Low-Medium | Moderate+ | Use cases (brief or casual format) |
| High-Very High | Moderate+ | Use cases (fully dressed) + dialog maps |
| Any | Any + concern=missing functionality | Use cases -- they systematically reveal alternate and exception flows |
Data management focus (Q1=2):
| Complexity | Experience | Recommended Techniques |
|---|---|---|
| Low-Medium | None-Basic | Data dictionary + simple ER diagram |
| Medium-High | Moderate+ | Data model (full ERD) + CRUD matrix + data dictionary |
| High-Very High | Advanced | Data model + CRUD matrix + state models for key data entities |
| Any | Any + concern=data integrity | Data model + CRUD matrix -- CRUD reveals missing operations |
Business logic focus (Q1=3):
| Complexity | Experience | Recommended Techniques |
|---|---|---|
| Low-Medium | None-Basic | Decision tables (simplified) |
| Medium-High | Moderate+ | Decision tables + business rule catalog (skills/business-rule/SKILL.md) |
| High-Very High | Advanced | Decision tables + state models + process models for rule-heavy workflows |
| Any | Any + concern=logic errors | Decision tables -- they force completeness through 2^N rule enumeration |
Event-driven focus (Q1=4):
| Complexity | Experience | Recommended Techniques |
|---|---|---|
| Low-Medium | None-Basic | Simple state transition diagrams (informal notation) |
| Medium-High | Moderate+ | State models (full state tables) + event-response tables |
| High-Very High | Advanced | State models + decision tables + process models |
| Any | Any + concern=unhandled states | State models -- every cell in the state table is either a valid transition or an explicitly handled "cannot happen" |
Balanced focus (Q1=5):
| Complexity | Experience | Recommended Techniques |
|---|---|---|
| Low-Medium | None-Basic | User stories + data dictionary + 1 decision table for most complex rule |
| Medium-High | Moderate+ | Use cases + data model + decision tables + state model for 1-2 key entities |
| High-Very High | Advanced | Use cases + data model + state models + decision tables + process models for cross-department workflows |
Concern-specific additions (Q4):
| Concern | Add This Technique | Why |
|---|---|---|
| Missing functionality | Use cases with systematic alternate/exception flows | Forces "what else can happen?" thinking |
| Data integrity | CRUD matrix | Reveals operations where data is created but never read, or read but never created |
| Logic errors | Decision tables | Forces explicit handling of every condition combination |
| Unhandled states | State transition tables | Forces explicit handling of every state-event combination |
| User experience | Dialog maps | Reveals navigation paths and dead ends in the UI |
| Integration | Context diagram + interface specifications | Forces 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 modelingskills/use-case/SKILL.md-- Actor-system interaction modelingskills/user-story-re/SKILL.md-- Agile requirements formatskills/process-modeling/SKILL.md-- Workflow and process analysisskills/data-dictionary/SKILL.md-- Data element definition and CRUD analysisskills/state-modeling/SKILL.md-- Object lifecycle modelingskills/decision-table/SKILL.md-- Complex logic analysisskills/dialog-map/SKILL.md-- UI navigation modelingskills/business-rule/SKILL.md-- Business rule catalogingskills/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


