Spree Extensions

Build Spree extensions as Rails engines — gem scaffolding, `bin/rails g spree:extension`, mounting routes/migrations/assets, the modern `prepend` decorator pattern (`*_decorator.rb` with `self.prepended(base)`), generators (`spree:model_decorator`, `spree:controller_decorator`), the four customization surfaces in preference order (Events > Webhooks > Dependencies > Decorators), Spree::Dependencies for swapping service objects, gem release/versioning, and the deprecated Deface engine. Use when building a reusable Spree extension or adding non-trivial customization to an app.

OrcaQubits Updated 40 repo stars

File contents

OrcaQubits/agentic-commerce-skills-plugins commit a978fa98e0

Frequently asked questions

npx get-skill add orcaqubits/spree-extensions-2