Collections
On this page 2
stacks-collections · Native Stacks · model-invoked
Use when working with collection data structures in Stacks - chaining array operations, Laravel-style collection methods, mapping, filtering, reducing, or grouping. Covers @stacksjs/collections which wraps ts-collect.
Read the skill for the implementation workflow and its current signatures. The Native capabilities catalog maps the package to source and retained evidence; driver limits are explicit.
Inside the skill
- Key Paths
- API
- Usage
- Laravel-Style Methods
- Gotchas
Using it
This skill is model-invoked. Your agent can select it for matching tasks, and you can call it directly.
/stacks-collections
Source: stacks-collections/SKILL.md.
It ships in @stacksjs/defaults with its supporting files. Run
buddy setup:ai to refresh the agent setup. Override it per project with
app/Skills/stacks-collections/SKILL.md. See Using skills.