spree-resource
OfficialEffortlessly add new models and API endpoints to your Spree project.
Authorspree
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of adding new models, database tables, and API endpoints to Spree projects, reducing manual effort and speeding up development.
Core Features & Use Cases
- Model Generation: Automatically create models, migrations, and controllers for new resources.
- API Endpoint Creation: Generate Store and Admin API controllers, serializers, and routes.
- Customization: Offers flags to control the scope of generated components (e.g., Store API, Admin API, soft deletes).
- Use Case: When you need to add a new product model with an API endpoint to your Spree store, this Skill can generate all the necessary components with a single command.
Quick Start
Generate a new product model and API endpoint with the following command: spree generate api_resource Product name:string:uniq active:boolean --writable.
Dependency Matrix
Required Modules
spree
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: spree-resource Download link: https://github.com/spree/agent-skills/archive/main.zip#spree-resource Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.