spree-dev-patterns
Installation
SKILL.md
Spree Development Patterns
Before writing code
Fetch live docs:
- Fetch https://spreecommerce.org/docs/developer/customization/decorators for the modern decorator pattern.
- Inspect
lib/spree/dependencies.rbin the livespreegem for the current swappable-services registry. - Read the Spree blog's developer posts for current best practices: https://spreecommerce.org/blog.
- For Rails idioms, cross-reference the Rails 7+ guides.
- Check the v5.4 announcement's AGENTS.md mention — Spree ships AI-coding rules.
Pattern: The Customization Hierarchy
Always reach for the lowest-numbered tool that solves your problem: