From shopware-storefront
Eigene Sortier-Option für das Produkt-Listing in Shopware 6: ProductSortingEntity per Migration/Fixture anlegen, Felder + Richtung, im Listing verfügbar machen. Trigger: "Custom Sorting", "ProductSortingEntity", "Sortierung Listing", "product_sorting", "eigene Sortieroption", "listing sort option". Shopware 6.7.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shopware-storefront:sw-custom-sortingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Sortier-Optionen im Listing sind Daten (`product_sorting`), keine Code-Klassen. Neue Option per Migration/Repository
Sortier-Optionen im Listing sind Daten (product_sorting), keine Code-Klassen. Neue Option per Migration/Repository
anlegen.
$this->productSortingRepo->upsert([[
'key' => 'ff-popularity',
'priority' => 5,
'active' => true,
'fields' => [['field' => 'product.ffPopularity', 'order' => 'desc', 'priority' => 1, 'naturalSorting' => 0]],
'label' => 'Beliebtheit',
]], $context);
fields referenzieren DAL-Felder (auch eigene via Extension). Übersetzungen über product_sorting_translation.
Die Option erscheint automatisch im Sortier-Dropdown. Filter dazu: sw-listing-filter.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub zone1987/claude-a-dev-team --plugin shopware-storefront