/laravel-ddd:craft-queueable-actionfrom laravel-ddd
Crafting Queueable Actions. Skip job boilerplate.
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.
"If every action needs a job wrapper, eliminate the wrapper."
QueueableAction from spatie/laravel-queueable-action.execute() stays the same. No job-specific code.Action::onQueue()->execute($data).->onQueue('emails'), ->delay(), etc.| ❌ Don't | ✅ Do | Why |
|---|---|---|
| Job class per action | Action::onQueue() | Eliminates boilerplate |
| Queue logic in action | Chain methods before execute | Single responsibility |
| Forget serialization | Use models/primitives only | Jobs serialize parameters |
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.