Shopware6

From bartundmett/skills · View interactive version

Shopware6 is an AI agent skill from the GitHub repository bartundmett/skills. Comprehensive Shopware 6.6+ development best practices for agency developers. Covers backend PHP, storefront Twig/JS, administration Vue.js, app system, integrations, CLI, multi-channel, and DevOps. Triggers on tasks involving plugin development, storefront customization, admin modules, app creation

How to use this skill

Skill file

Shopware 6 Best Practices

Comprehensive best practices guide for Shopware 6.6+ development, designed for AI agents and LLMs helping agency developers. Contains 77 rules across 22 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

Rule Categories by Priority

| Priority | Category | Impact | Prefix |

|----------|----------|--------|--------|

| 1 | Plugin Architecture | CRITICAL | plugin- |

| 2 | Customization & Extension | CRITICAL | custom- |

| 3 | Performance & Caching | CRITICAL | perf- |

| 4 | Security | CRITICAL | security- |

| 5 | Data Abstraction Layer | HIGH | dal- |

| 6 | API Development | HIGH | api- |

| 7 | Testing | HIGH | test- |

| 8 | Event System | MEDIUM-HIGH | event- |

| 9 | Database & Migrations | MEDIUM-HIGH | db- |

| 10 | Message Queue | MEDIUM | queue- |

| 11 | Dependency Injection | MEDIUM | di- |

| 12 | Logging | MEDIUM | logging- |

| 13 | Configuration | MEDIUM | config- |

| 14 | Scheduled Tasks | MEDIUM | scheduled- |

| 15 | Storefront Development | HIGH | storefront- |

| 16 | Administration Development | HIGH | admin- |

| 17 | App System | HIGH | app- |

| 18 | Integration Patterns | HIGH | integration- |

| 19 | CLI Commands | MEDIUM | cli- |

| 20 | Multi-Channel & B2B | MEDIUM-HIGH | multichannel- |

| 21 | DevOps & Tooling | MEDIUM | devops- |

| 22 | Common Patterns | HIGH | pattern- |

Quick Reference

1. Plugin Architecture (CRITICAL)

2. Customization & Extension (CRITICAL)

3. Performance & Caching (CRITICAL)

4. Security (CRITICAL)

5. Data Abstraction Layer (HIGH)

6. API Development (HIGH)

7. Testing (HIGH)

8. Event System (MEDIUM-HIGH)

9. Database & Migrations (MEDIUM-HIGH)

10. Message Queue (MEDIUM)

11. Dependency Injection (MEDIUM)

12. Logging (MEDIUM)

13. Configuration (MEDIUM)

14. Scheduled Tasks (MEDIUM)

15. Storefront Development (HIGH)

16. Administration Development (HIGH)

17. App System (HIGH)

18. Integration Patterns (HIGH)

19. CLI Commands (MEDIUM)

20. Multi-Channel & B2B (MEDIUM-HIGH)

21. DevOps & Tooling (MEDIUM)

22. Common Patterns (HIGH)

Core Principles

The Decorator Pattern is Key

Never modify core files. Always use:

DAL Over Raw SQL

Use Shopware's Data Abstraction Layer instead of raw SQL:

Performance First

Shopware can be slow if misused:

How to Use

Read individual rule files for detailed explanations and code examples:

rules/plugin-structure.md
rules/custom-decorator-pattern.md
rules/perf-http-cache.md
rules/security-input-validation.md
rules/dal-criteria-usage.md

Each rule file contains:

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.