From shopware-data
ManyToOne-Associations in Shopware 6 DAL (viele Kinder zeigen auf ein Eltern-Objekt) inkl. FkField + ManyToOneAssociationField, sowie Tree-/Parent-Child-Strukturen. Trigger: "ManyToOne", "n:1 Beziehung", "gehört zu", "FkField", "ManyToOneAssociationField", "parent reference", "Baumstruktur entity". Shopware 6.7.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shopware-data:sw-associations-manytooneThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Die Entity hält einen Fremdschlüssel auf das Ziel und die zugehörige Association.
Die Entity hält einen Fremdschlüssel auf das Ziel und die zugehörige Association.
(new FkField('category_id', 'categoryId', CategoryDefinition::class))->addFlags(new Required()),
(new ManyToOneAssociationField('category', 'category_id', CategoryDefinition::class, 'id')),
Self-referencing (parent/child) bildet Tree-Strukturen (z.B. Kategorien): parent_id + ParentAssociationField/
ChildrenAssociationField + TreeLevelField/TreePathField. Lösch-Verhalten über Flags (RestrictDelete/SetNullOnDelete).
→ Association-Typen: references/associations.md · Tree-Beispiel: references/tree-example.md
npx claudepluginhub zone1987/claude-a-dev-team --plugin shopware-dataProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.