Logo: Shopware Deployment

Shopware Deployment

Communautéit
alpham8
shopware-deployment

Benotzt dëse Skill, wann Dir festleet, wou de Shopware-Plugin-Code läit a wéi en installéiert gëtt — custom/static-plugins als Composer-Path-Repository, de Shopware Store als Composer-Repository an déi partnerspezifesch Wildcard-Testëmfeld. Relevant bei Froen zu Composer-Path-Repositories, requires fir store.shopware.com oder zum Layout vu Projet-Plugins.

Add to TypingMind

Iwwersiicht

Editeuralpham8
Repositoryagentic-webdev
Skill-Nummshopware-deployment
Stären
4
Forks
0
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    alpham8 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Shopware Deployment an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/alpham8/agentic-webdev/tree/master/skills/shopware-deployment
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alpham8/agentic-webdev.git /tmp/agentic-webdev
mkdir -p .claude/skills
cp -r /tmp/agentic-webdev/skills/shopware-deployment .claude/skills/shopware-deployment
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Shopware Deployment an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Shopware Deployment automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Shopware Deployment net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Shopware 6 — Plugin Deployment Patterns

See the shopware skill for the map of Shopware skills.

Plugin Deployment Patterns

custom/static-plugins/ for project-specific code:

For larger Shopware projects, client-specific plugins and themes that are not published to the Shopware Store are placed in custom/static-plugins/ instead of custom/plugins/. This directory is symlinked into vendor/ via Composer's path repository type:

json
{
    "repositories": [
        { "type": "path", "url": "custom/static-plugins/MyPlugin" }
    ],
    "require": {
        "vendor/my-plugin": "*"
    }
}

Composer creates a symlink vendor/vendor/my-plugin → ../../custom/static-plugins/MyPlugin/. This ensures the plugin is autoloaded via Composer's classloader and follows the same dependency resolution as Store plugins, while keeping project-specific code clearly separated and version-controlled in the project repository.

Shopware Store as Composer repository:

The Shopware Plugin Store can be added as a Composer repository to install Store plugins via composer require instead of manual upload:

json
{
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.shopware.com"
        }
    ]
}

Store plugins are then installed with: composer require store.shopware.com/pluginname.

Shopware Partner wildcard environments:

Shopware Partners can set up wildcard test environments. These allow testing any Store plugin before purchasing, so agencies can evaluate plugins for clients without incurring costs upfront. The wildcard license covers all plugins on the test domain.

Plugin base class (src/SwagExample.php):

php
namespace Swag\Example;

use Doctrine\DBAL\Connection;
use Shopware\Core\Framework\Plugin;
use Shopware\Core\Framework\Plugin\Context\UninstallContext;

class SwagExample extends Plugin
{
    public function uninstall(UninstallContext $context): void
    {
        parent::uninstall($context);

        if ($context->keepUserData()) {
            return;
        }

        /** @var Connection $connection */
        $connection = $this->container->get(Connection::class);

        // Check existence before dropping (idempotency)
        $columns = $connection->fetchAllAssociative(
            'SHOW COLUMNS FROM `my_table` LIKE :col',
            ['col' => 'my_column']
        );

        if (count($columns) === 0) {
            return;
        }

        $connection->executeStatement(
            'ALTER TABLE `my_table` DROP FOREIGN KEY `fk.my_table.my_column`, DROP COLUMN `my_column`'
        );
    }
}

Always check keepUserData() before touching the database in uninstall(). Drop FK constraints before columns.

composer.json (complete recommended structure):

json
{
    "name": "vendor/plugin-name",
    "description": "Short description.",
    "version": "1.0.0",
    "type": "shopware-platform-plugin",
    "license": "MIT",
    "authors": [
        { "name": "Developer Name", "email": "dev@example.com", "role": "Developer" },
        { "name": "Company GmbH", "email": "info@example.com", "homepage": "https://example.com/", "role": "Manufacturer" }
    ],
    "require": {
        "shopware/core": ">=6.6.0 <6.8.0",
        "shopware/administration": ">=6.6.0 <6.8.0"
    },
    "extra": {
        "shopware-plugin-class": "Vendor\\PluginName\\PluginName",
        "manufacturerLink": { "de-DE": "https://example.com/", "en-GB": "https://example.com/" },
        "supportLink":      { "de-DE": "https://example.com/kontakt/", "en-GB": "https://example.com/contact/" },
        "label":       { "de-DE": "Plugin Name DE", "en-GB": "Plugin Name EN" },
        "description": { "de-DE": "Beschreibung DE", "en-GB": "Description EN" }
    },
    "autoload": {
        "psr-4": { "Vendor\\PluginName\\": "src/" }
    }
}

Critical: manufacturerLink and supportLink must be locale-keyed objects, not plain strings. PluginService::getTranslations() iterates all four extra keys with foreach — a plain string causes a fatal error on plugin:refresh.

Admin dependency: Always require shopware/administration (same version range) for plugins that add or override admin components.

Plugin icon: Place a 128×128 PNG at src/Resources/config/plugin.png. Shopware stores it as a blob in plugin.icon on plugin:refresh.

Scaffold with: bin/console plugin:create SwagExample


Heefeg gestallte Froen

Wat mécht de KI-Skill Shopware Deployment?

Benotzt dëse Skill, wann Dir festleet, wou de Shopware-Plugin-Code läit a wéi en installéiert gëtt — custom/static-plugins als Composer-Path-Repository, de Shopware Store als Composer-Repository an déi partnerspezifesch Wildcard-Testëmfeld. Relevant bei Froen zu Composer-Path-Repositories, requires fir store.shopware.com oder zum Layout vu Projet-Plugins.

Firwat Shopware Deployment op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Shopware Deployment besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Shopware Deployment an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/alpham8/agentic-webdev/tree/master/skills/shopware-deployment an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Shopware Deployment benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Shopware Deployment benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Shopware Deployment domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Shopware Deployment gratis?

alpham8 huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇