Skip to main content

pallastrade-decorators

Use when the user wants to extend a PallasTrade model, controller, helper, or service class without forking — add an association to PallasTrade::Product, add a method to PallasTrade::Order, override a validation, add a scope, prepend a before_action, hook into create. Common phrasings include "add brand to product", "decorate PallasTrade::X", "ProductDecorator", "OrderDecorator", "Module#prepend", "pallastrade:model_decorator", "extend an existing PallasTrade model", "add a method to PallasTrade::Order", "override PallasTrade behavior", "monkey patch PallasTrade". Provides the decorator pattern, the generator, the prepended(base) idiom, and the gotchas. Mentions when NOT to decorate — events for after-save side effects, dependencies for service swaps, the resource generator for whole new models.

Jump to install

Source facts

Repository
stevenbian9266-cyber/pallastrade
Last source activity
July 23, 2026 at 16:32
Detected SKILL.md language
English
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.