business-logic-ensure-business-constraints

Installation
SKILL.md

Ensure Business Constraints for Business Logic

Goal

Write business-logic business constraints with a consistent ensure ... formalism translated into the syntax and naming conventions of the language in use.

Examples of the intended formalism are:

  • ensure requester is enabled
  • ensure there are available cars

Do not copy those phrases verbatim unless the language style truly fits them. Translate them into the local code style, naming style, and control-flow conventions while preserving the same meaning.

These business constraints do not produce business data. They succeed with a unit-equivalent result such as void, unit, undefined, or None, or they fail with an error.

What Counts as In Scope

Apply this skill to code that does one or more of these things:

Related skills

More from code-sherpas/agent-skills

Installs
6
First Seen
Mar 24, 2026