Business Logic Entry Point Domain Entity Payload Types

Require business-logic entry points to use domain-entity types directly in returned payloads whenever they return domain-entity data. Use when an agent needs to create, modify, review, or interpret the success payload of business-logic entry points, including query handlers and any other business-layer API that returns domain-entity data. Do not map domain entities into separate payload types, DTOs, view models, or similar transport shapes at the business-logic entry point when the payload is supposed to contain domain-entity data.

code-sherpas Updated

File contents

code-sherpas/agent-skills/tree/main/skills/business-logic-entry-point-domain-entity-payload-types commit f125f4db08

Frequently asked questions

npx skillmds@latest add code-sherpas/business-logic-entry-point-domain-entity-payload-types