requirements modeling

Requirements Modeling Skill

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "requirements modeling" with this command: npx skills add danhvb/my-ba-skills/danhvb-my-ba-skills-requirements-modeling

Requirements Modeling Skill

Purpose

Use visual models to clarify and analyze requirements. "A picture is worth 1000 words" - specifically for complex logic and relationships.

When to Use

  • Complex logic (State diagrams).

  • System interactions (Sequence diagrams).

  • Data relationships (Class/ERD diagrams).

  • User decisions (Activity diagrams).

Key Modeling Techniques (UML & Others)

  1. State Machine Diagram (State Transition)

Use: Object has a complex lifecycle (e.g., Order Status). Elements: States (Rounded Rect), Transitions (Arrows), Events/Triggers.

Example:

stateDiagram-v2 [] --> Draft Draft --> PendingApproval: Submit PendingApproval --> Approved: Manager Approves PendingApproval --> Rejected: Manager Rejects Rejected --> Draft: Edit Approved --> []

  1. Sequence Diagram

Use: Interaction between systems or objects over time. Elements: Participants (Lifelines), Messages (Arrows).

Example:

sequenceDiagram User->>Frontend: Click Login Frontend->>Backend: POST /login Backend->>Database: Validate User Database-->>Backend: User OK Backend-->>Frontend: Token Frontend-->>User: Dashboard

  1. Activity Diagram

Use: Workflow logic (similar to Flowcharts but supports parallelism). Elements: Activities, Decisions, Forks/Joins.

  1. Class Diagram

Use: Conceptual data modeling (Object-Oriented). Elements: Class boxes (Name, Attributes, Operations).

  1. Decision Tables

Use: Complex business rules with many conditions. Format: Conditions vs. Actions.

| Condition: Age < 18 | Y | Y | N | N | | Condition: Member | Y | N | Y | N | | Action: Discount| 50% | 20% | 10% | 0% |

Best Practices

  • Model for Audience: Don't show a Sequence Diagram to a marketing VP. Use Flowcharts for business, UML for devs.

  • Keep it Simple: Break complex diagrams into smaller views.

  • Validate with Code: Ensure the model matches reality (or feasible reality).

  • Annotate: Add notes to explain "Why".

Tools

  • Mermaid: Text-to-diagram (Great for docs).

  • PlantUML: Standard text-based UML.

  • Lucidchart / Visio: Visual drag-and-drop.

  • Figma: Good for high-level flows.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

process mapping

No summary provided by upstream source.

Repository SourceNeeds Review
General

requirements elicitation

No summary provided by upstream source.

Repository SourceNeeds Review
General

test case creation

No summary provided by upstream source.

Repository SourceNeeds Review
General

double diamond design

No summary provided by upstream source.

Repository SourceNeeds Review