/laravel-ddd:decide-eventsfrom laravel-ddd
When to use Events & Listeners vs direct calls. Decoupling 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.
"Events are for side effects. Actions are for intent."
Use Events when:
Use Direct Calls when:
Ask: "If I add another consequence later, should the caller change?"
| Ask Yourself | Answer | Use |
|---|---|---|
| Multiple reactions possible? | Yes | Event |
| Caller needs result? | Yes | Direct |
| External system involved? | Yes | Event |
| Single, obvious dependency? | Yes | Direct |
For concrete examples, see examples.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub attac-t/the-foundry --plugin laravel-ddd47 skills in this plugin
/craft-contextCrafting Context Objects. Parameter encapsulation for complex operations.