/laravel-ddd:craft-collectionfrom laravel-ddd
Crafting custom collections. Domain pipelines.
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.
"Collections are array pipelines for your domain."
self for chaining.@extends Collection<int, Model>.filter, map, reduce, not loops.| ❌ Don't | ✅ Do | Why |
|---|---|---|
| Business logic | Simple transformations | Collections aren't Actions |
| Database queries | In-memory operations | Use QueryBuilder for DB |
| Loops | Collection methods | Declarative > imperative |
| Mixed types | Homogeneous collection | Type safety |
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
/craft-controllerCrafting thin controllers. Traffic cops, not business logic.Other plugins' skills for the same job