elaborate-business-logic

Creates business-logic artifacts with states, transitions, and invariants from CRC and object-sketch workflows.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/agilebydesign/agilebydesign-skills --skill elaborate-business-logic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elaborate-business-logic
Source: https://github.com/agilebydesign/agilebydesign-skills/tree/main/agents/abd-ooad/skills/elaborate-business-logic
Command: npx skills add https://github.com/agilebydesign/agilebydesign-skills --skill elaborate-business-logic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

After CRC, elaborate state/lifecycle and declarative invariants per stateful class to enable correct transitions and enforce constraints.

Core Features & Use Cases

  • Defines named states, allowed transitions, and illegal transitions for stateful classes identified in crc.md.
  • Generates invariants that codify the rules governing how states change, ensuring consistency with the lifecycle.
  • Produces a structured module (the business-logic.md) for scenario-walkthroughs and validation alongside existing sketches.

Quick Start

Run the elaborate-business-logic module against abd-ooad/crc.md and abd-ooad/object-sketch.md to produce abd-ooad/business-logic.md.

Frequently Asked Questions about elaborate-business-logic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define state lifecycles and invariants after creating CRC cards?

To define state lifecycles and invariants after CRC, you elaborate named states, allowed transitions, and declarative constraints for stateful classes. This produces a structured business logic artifact for validation and scenario walkthroughs.

What are declarative invariants in object-oriented state machines?

Declarative invariants in object-oriented state machines are rules that codify constraints governing how states change. They ensure consistency with the lifecycle by linking directly to specific states or transitions within the design documentation.

How do I document illegal state transitions for stateful classes?

You document illegal state transitions by elaborating state machines for stateful classes identified in CRC workflows. This process explicitly maps out allowed and illegal transitions to enforce constraints and produce structured business logic.

Can I generate business logic documentation from existing object sketches?

Yes, you can generate business logic documentation by running an elaboration process against existing CRC and object sketch files. It extracts stateful classes to produce a structured artifact detailing named states, transitions, and invariants.

When do I need to elaborate state machines for class behavior?

You need to elaborate state machines for class behavior when classes listed in your CRC documentation own state changes, transitions, or lifecycle mechanics. This step defines allowed transitions and invariants to enforce constraints.