use-case-modeling

Community

Turn business goals into testable behavior.

Authormachenjie
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It eliminates ambiguity between stakeholder goals and implementation by converting actor-centered goals into precisely specified, testable behavioral contracts with clear preconditions, triggers, alternate paths, and durable postconditions.

Core Features & Use Cases

  • Fully-dressed use case specification: Define an actor-goal interaction with explicit scope, preconditions, trigger, main path, alternate paths, failure paths, and postconditions.
  • Durable, testable postconditions: Express outcomes as system state changes, emitted events, or externally observable side effects rather than UI text.
  • Traceability through business-rule linkage: Require named business rules referenced by ID so designs and tests can be verified against authoritative rules.
  • Risk-aware modeling: Model external systems as actors with trust-boundary preconditions and failure handling, including idempotency and state preservation.

Example use case: a billing workflow where a customer subscribes successfully through the main path but also needs explicit modeling for webhook duplicates, coupon validation failures, and payment timeouts to ensure acceptance criteria and recovery behavior are unambiguous.

Quick Start

Use this skill to model a complete, actor-goal use case for your change by describing the primary actor, their goal, the entry preconditions, the trigger, and what durable system state or events must exist when the use case succeeds or fails.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: use-case-modeling
Download link: https://github.com/machenjie/rd-skills/archive/main.zip#use-case-modeling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.