ORM
On this page 2
stacks-orm · Native Stacks · model-invoked
Use when querying or writing Stacks models, using transactions and relationships, preserving inferred model types, or enabling native model traits. Covers @stacksjs/orm, the model runtime, and 107 built-in models.
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
- Definitions and typed rows
- Write behavior
- Relationships and model instance methods
- Transactions
- Native pagination and search
- Runtime and schema boundaries
- Source and retained evidence
Using it
This skill is model-invoked. Your agent can select it for matching tasks, and you can call it directly.
/stacks-orm
Source: stacks-orm/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-orm/SKILL.md. See Using skills.