Business Logic Entry Point Colocate Types

Require project-declared parameter types and return types of a business-logic entry point to be declared in the same file as the entry point itself, when the project stack allows it. Use when an agent needs to create, modify, review, or organize type definitions for command types, query types, success types, error types, or other project-declared types used in the signature of a business-logic entry point. Do not place these types in separate files, shared type modules, or barrel exports.

code-sherpas a788696 6.4 KB Updated

File contents

code-sherpas/agent-skills/tree/main/skills/business-logic-entry-point-colocate-types commit a7886965d3

Frequently asked questions

npx skillmds@latest add code-sherpas/business-logic-entry-point-colocate-types