business-logic-ensure-authenticated-requester

Installation
SKILL.md

Ensure Authenticated Requester for Business Logic Entry Points

Goal

Every business-logic entry point that requires authentication must include an ensure requester is authenticated business constraint as the first check before any other business logic runs.

This constraint follows the ensure ... formalism. Restate the rule as:

  • ensure requester is authenticated

Translate that formulation into the syntax, naming, and control-flow conventions of the language in use.

On success this constraint returns the requester id so that downstream business logic can use it directly without re-extracting it from the input. On failure it returns an error indicating that the requester is not authenticated.

What Counts as In Scope

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

  • defines a business-logic entry point that must only run for authenticated requesters
Related skills

More from code-sherpas/agent-skills

Installs
6
First Seen
Mar 24, 2026