spree-decorators
OfficialExtend Spree models without forking, maintain Spree customization with decorators.
Authorspree
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps users extend existing Spree models and controllers without forking, making customization easier and maintaining structural changes.
Core Features & Use Cases
- Extend Models and Controllers: Add associations, validations, scopes, methods, and prepend hooks to Spree classes.
- Use Cases: Use this Skill to enhance Spree functionality by adding new methods to models, customizing admin controllers, or modifying existing behavior.
- Avoid Forking: Instead of modifying Spree source code, extend functionality with decorators, which can be overridden during upgrades.
Quick Start
Generate a decorator for Spree::Product with spree generate model_decorator Spree::Product.
Dependency Matrix
Required Modules
None requiredComponents
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-decorators Download link: https://github.com/spree/agent-skills/archive/main.zip#spree-decorators 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.