From shopware-data
ManyToMany-Associations in Shopware 6 DAL über eine Mapping-Entity (MappingEntityDefinition) inkl. ManyToManyAssociationField. Trigger: "ManyToMany", "n:m Beziehung", "Mapping-Entity", "MappingEntityDefinition", "ManyToManyAssociationField", "Zwischentabelle", "Verknüpfungstabelle". Shopware 6.7.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shopware-data:sw-associations-manytomanyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Benötigt eine **Mapping-Entity** (Zwischentabelle mit zwei FkFields), die `MappingEntityDefinition` erweitert.
Benötigt eine Mapping-Entity (Zwischentabelle mit zwei FkFields), die MappingEntityDefinition erweitert.
// in beiden Haupt-Definitionen
(new ManyToManyAssociationField('tags', TagDefinition::class,
FfExampleTagDefinition::class, 'example_id', 'tag_id')),
// Mapping-Definition (MappingEntityDefinition)
(new FkField('example_id', 'exampleId', FfExampleDefinition::class))->addFlags(new PrimaryKey(), new Required()),
(new FkField('tag_id', 'tagId', TagDefinition::class))->addFlags(new PrimaryKey(), new Required()),
Die Mapping-Entity hat einen kombinierten PK aus beiden FkFields, keine eigene Id. Schreiben über verschachteltes
Payload (['tags' => [['id' => $tagId]]]).
→ Association-Typen: references/associations.md · Mapping-Beispiel: references/mapping-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.