/laravel-ddd:decide-namespacingfrom laravel-ddd
When to place code in Support vs Domain. Namespace decisions.
Ships in laravel-ddd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
"Support is a package. Domain is the business."
App/ → Thin orchestration (controllers, commands)
Domain/ → Business logic (models, actions, DTOs)
Support/ → Package-ready utilities (NEVER imports Domain)
Place in Support when:
Place in Domain when:
Ask: "If I copy this to another Laravel project, does it work without changes?"
| Ask Yourself | Answer | Use |
|---|---|---|
Uses Domain\* imports? | Yes | Domain |
| Could be a package? | Yes | Support |
| Contains business rules? | Yes | Domain |
| Just a utility? | Yes | Support |
For concrete examples, see examples.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub attac-t/the-foundry --plugin laravel-ddd47 skills in this plugin
Other plugins' skills for the same job
/craft-contextCrafting Context Objects. Parameter encapsulation for complex operations.