Spree Resource

Use when the user wants to add a new model, database table, or REST API endpoint to their Spree project. Covers both `spree:api_resource` (full surface — model + API controllers + serializers + factory + specs + routes) and `spree:model` (model + migration only, no API). Common phrasings include "add a Brand model", "create a new resource", "expose X as an API endpoint", "add an admin API for Y", "scaffold a Spree resource", "create a Spree model without an API", "internal model".

spree a47a0a0 11.2 KB Updated

File contents

spree/agent-skills/tree/main/skills/spree-resource commit a47a0a0023

Frequently asked questions

npx skillmds@latest add spree/spree-resource