saleor-core
Installation
SKILL.md
Saleor Core
Backend behavior reference derived from the Saleor core source code. Covers internal mechanics that aren't fully documented in the public API reference — discount precedence, stock availability modes, denormalized fields, and known Dashboard gotchas.
When to Apply
- Building or debugging discount/promotion UI in the Dashboard
- Investigating why a voucher or promotion isn't applying
- Understanding order-level vs line-level discount precedence
- Working with
OrderDiscount/OrderLineDiscountobjects - Debugging
unit_discount_valueonOrderLine - Deciding whether discounts stack or suppress each other
- Working on stock availability, shipping zones, warehouses, or
Shop.useLegacyShippingZoneStockAvailability - Debugging why
PRODUCT_VARIANT_*_IN_CHANNELwebhooks aren't firing - Building diagnostic / "doctor" tooling that explains availability problems
- Auditing Dashboard copy that uses "available" / "in stock" / "purchasable"
Related skills