Business Logic Ensure Business Constraints

Formalize business constraints at business-logic points using an `ensure ...` style translated into the syntax and conventions of the project language. Use when an agent needs to create, modify, review, or interpret business-rule precondition checks such as eligibility checks, availability checks, permission checks, or invariant-preserving entry checks. These constraints must return only a unit-equivalent success value such as `void`, `unit`, `undefined`, or `None`, or an error when the condition is not satisfied.

code-sherpas Updated

File contents

code-sherpas/agent-skills/tree/main/skills/business-logic-ensure-business-constraints commit 75e97a7e7d

Frequently asked questions

npx skillmds@latest add code-sherpas/business-logic-ensure-business-constraints