Agent skill

Shopware CLI Docker

by shopware in shopware/shopware-cli

A skill your agent uses when working on Docker-backed Shopware projects and needing to run Shopware or Symfony CLI commands, interact with project services or databases, start or stop the…

MITAuto-check passedDevOps & Cloud

Install Shopware CLI Docker

skills CLI
$ npx skills add shopware/shopware-cli --skill shopware-cli-docker -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shopware/shopware-cli shopware-cli-docker --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shopware/shopware-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/shopware-cli-docker .claude/skills/shopware-cli-docker && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
shopware-cli-docker
GitHub stars
123
Token cost
~1.8k tokens
SKILL.md length
801 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when working on Docker-backed Shopware projects and needing to run Shopware or Symfony CLI commands, interact with project services or databases, start or stop the…

  • Works in 4 steps: identify the configured database service… → prefer discovered configuration over… → use read-only queries where possible; → …
  • Working on Docker-backed Shopware projects and needing to run Shopware
  • SKILL.md covers Core rule, Symfony and Shopware Console…, Development environment and Other project operations, plus 6 more sections
  • Calls docker

What it does

Shopware CLI Docker is an agent skill from shopware/shopware-cli. Use when working on Docker-backed Shopware projects and needing to run Shopware or Symfony CLI commands, interact with project services or databases, start or stop the development environment, troubleshoot Docker execution, or determine whether a command should run on the host or inside the project container.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Containers. It works with Docker, Symfony, PHP and Go. The repository describes itself as: CLI for Shopware Account and Shopware 6. The licence is MIT.

When your agent uses it

  • Working on Docker-backed Shopware projects and needing to run Shopware
  • Symfony CLI commands
  • Interact with project services
  • Stop the development environment

Example prompts

  • “/shopware-cli-docker”

Requirements

  • Docker

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. identify the configured database service and target environment;
  2. prefer discovered configuration over hard-coded container names or credentials;
  3. use read-only queries where possible;
  4. treat writes, deletes, schema changes, imports, and bulk updates as destructive operations.

What it can do on your machine

Read from SKILL.md and the folder at commit f20f5ba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • docker

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Shopware CLI Docker loads about 1.8k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 801 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from shopware/shopware-cli at commit f20f5ba, republished under its MIT licence (© shopware). 801 words, ~1,764 tokens.

Download SKILL.mdSave it as .claude/skills/shopware-cli-docker/SKILL.md (or your agent's skills folder).
name
shopware-cli-docker
description
Use when working on Docker-backed Shopware projects and needing to run Shopware or Symfony CLI commands, interact with project services or databases, start or stop the development environment, troubleshoot Docker execution, or determine whether a command should run on the host or inside the project container.

Shopware CLI with Docker

In a Shopware CLI-managed Docker project, prefer asking Shopware CLI to perform the operation instead of manually deciding how to enter containers.

Shopware CLI knows the project configuration and selected execution environment and can route supported operations through the correct executor.

Core rule

Do not default to:

bash
docker compose exec ...

when Shopware CLI already exposes the operation.

Prefer:

bash
shopware-cli project ...

The CLI should decide when Docker is required.

Symfony and Shopware Console commands

When a task requires bin/console, use:

bash
shopware-cli project console <command> [arguments]

Instead of manually doing something like:

bash
docker compose exec web php bin/console <command>

prefer:

bash
shopware-cli project console <command>

project console resolves the current Shopware project and its configured executor. In a Docker-backed environment, the CLI routes the Symfony command or Composer script through the project container.

For the full Composer CLI, use:

bash
shopware-cli project composer <arguments>

Instead of manually doing something like:

bash
docker compose exec web composer <arguments>

In a Docker-backed environment, the CLI routes the Composer command through the project container.

This applies to Shopware and Symfony Console workflows such as:

  • cache commands;
  • plugin and app lifecycle;
  • indexing;
  • migrations;
  • scheduled tasks;
  • system configuration;
  • other commands exposed by bin/console;
  • custom Composer scripts from the project composer.json.

Before executing an unfamiliar or state-changing Symfony command:

bash
shopware-cli project console <command> --help

Do not assume a Symfony command is safe merely because it exists.

Discover Composer scripts from the project composer.json or shopware-cli project console list. Do not pass --help to a Composer script to inspect it; that argument is forwarded to the script and can still run it.

Development environment

Use Shopware CLI to manage the development environment:

bash
shopware-cli project dev
shopware-cli project dev start
shopware-cli project dev status
shopware-cli project dev stop

Do not replace these with docker compose up or docker compose down unless there is a specific reason to bypass the CLI.

The CLI knows the configured environment and can prepare and manage the Docker setup required by the project.

Other project operations

Prefer the corresponding Shopware CLI command for supported tasks such as builds, watchers, logs, validation, upgrades, project maintenance, and extension management.

Do not manually wrap a Shopware CLI command in docker compose exec.

If Shopware CLI already exposes the operation, let the CLI handle Docker.

Database work

First determine what kind of database operation the user actually needs.

For database exports, inspect:

bash
shopware-cli project dump --help

For database-related operations exposed through Symfony or Shopware Console, prefer:

bash
shopware-cli project console <command>

For arbitrary SQL, first inspect the available Shopware CLI and Symfony commands. Do not invent a CLI command.

If no suitable Shopware CLI abstraction exists, direct database access may be necessary. Before doing that:

  1. identify the configured database service and target environment;
  2. prefer discovered configuration over hard-coded container names or credentials;
  3. use read-only queries where possible;
  4. treat writes, deletes, schema changes, imports, and bulk updates as destructive operations.

Never execute database-changing commands against an ambiguous environment.

Composer, PHP, and npm

Prefer a higher-level Shopware CLI operation when one exists.

Do not immediately run:

bash
docker compose exec web composer ...
docker compose exec web php ...
docker compose exec web npm ...

First check whether Shopware CLI already exposes the intended workflow.

For Composer itself, prefer:

bash
shopware-cli project composer ...

If no CLI abstraction exists:

  1. confirm this using the relevant command group's --help;
  2. determine the configured Docker service and working directory;
  3. run the low-level tool in the correct project environment;
  4. avoid hard-coding paths and service names when they can be discovered.

Direct Docker execution is the fallback, not the default.

Show full SKILL.md (283 more words)Show less

Environment selection

Do not assume that an environment named local, dev, staging, or similar is Docker-backed or safe to modify.

Inspect the project config using the CLI's discovery precedence (.config/shopware-project.yml, .shopware-project.yaml, then .shopware-project.yml) and use the CLI's environment selection mechanisms. Empty -e / --env targets environments.local. Store shop URL and Admin API credentials under environments, not at the top level.

Before destructive commands, establish exactly which environment will be affected.

Starting from a user request

When a user asks for something like:

  • "clear the Shopware cache";
  • "run this Symfony command";
  • "update the plugin";
  • "run migrations";
  • "check the database";
  • "start the shop";
  • "show me the logs";

do not translate the request directly into raw Docker commands.

First ask: Does Shopware CLI already know how to do this?

For Symfony commands, the answer should usually begin with:

bash
shopware-cli project console ...

For development environment lifecycle, begin with:

bash
shopware-cli project dev ...

For other workflows, inspect:

bash
shopware-cli project --help

Troubleshooting

When Docker-backed execution fails:

  1. Run shopware-cli project dev status.
  2. Inspect the relevant Shopware CLI command's --help.
  3. For Shopware CLI debug output, place --verbose before the command group, for example shopware-cli --verbose project console <command>.
  4. Verify the selected environment in project configuration.
  5. Inspect Docker directly only after establishing how Shopware CLI attempted to execute the operation.

Do not move a command from the container to the host just to make it work unless the project is explicitly configured for local execution.

Safety

Docker does not make a command safe.

Commands executed through project console, Composer, the database, or project-management commands can still modify files, dependencies, application state, or data.

Before a destructive action:

  • identify the environment;
  • inspect the command;
  • understand the expected changes;
  • prefer previews or read-only checks when available;
  • preserve unrelated user work.

© shopware, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/shopware-cli-docker of shopware/shopware-cli.

Open the folder on GitHubat commit f20f5ba

Compare with similar skills

Shopware CLI Docker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Shopware CLI Docker compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Shopware CLI Docker this skillshopware/shopware-cli123—~1.8kAutomated safety check: PassMIT
Runner Selectiondev-toolings/superpowers-symfony222—~481Automated safety check: PassMIT
Ddevhaxtheweb/haxcms-php130—~1.6kAutomated safety check: PassApache-2.0
Deployment and CI/CD Patternsaffaan-m/ECC274k6 repos~2.8kAutomated safety check: PassMIT
Educates Upgrade Goeducates/educates-training-platform161—~1.4kAutomated safety check: NotesApache-2.0
Basercms Unittestbaserproject/basercms190—~4.9kAutomated safety check: PassMIT

Similar skills

  • Runner Selection

    dev-toolings/superpowers-symfony

    Select and configure the appropriate command runner based on Docker Compose standard, Symfony Docker (FrankenPHP), or host environment

    222 GitHub stars~481 tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Ddev

    haxtheweb/haxcms-php

    DDEV local development environment guidance for Docker-based PHP/Node projects.

    130 GitHub stars~1.6k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Covers rolling, blue-green and canary deployments, multi-stage Dockerfiles, a GitHub Actions pipeline, health checks and production readiness for web apps.

    274k GitHub starsUsed in 6 repos~2.8k tokens
    DevOps & CloudAuto-check passed
  • Educates Upgrade Go

    educates/educates-training-platform

    Upgrade the Go version across the entire educates-training-platform project.

    161 GitHub stars~1.4k tokensUpdated 4 days ago
    DevOps & CloudAuto-check: notes
  • Basercms Unittest

    baserproject/basercms

    baserCMS(CakePHP5 / PHPUnit)のユニットテストをローカル Docker 環境で実行・調査する手順。「ユニットテストを実行して」「全テストを走らせて」「このテストだけ流して」「テスト失敗を調べて」「プラグイン単体でテストを動かしたい」「プラグインにテスト環境を導入したい」等のときに参照する。コンテナ名・実行コマンド・権限自動承認のためのコマンド整形・失敗の集計と切り分け方…

    190 GitHub stars~4.9k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Releasing Marchat

    Cod-e-Codes/marchat

    Prepares marchat releases: version bumps, CHANGELOG, packaging checksums, GitHub Actions release workflow, and Docker tags.

    137 GitHub stars~801 tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed

More from shopware/shopware-cli

  • Shopware CLI

    shopware/shopware-cli

    Use Shopware CLI for Shopware project, extension, and account workflows — create and install new projects (project create, project dev install), validate projects or extensions (with…

    123 GitHub stars~4.9k tokensUpdated yesterday
    Auto-check passed
  • Shopware CLI Extension Store

    shopware/shopware-cli

    A skill your agent uses for Shopware Store readiness, publication, submission, or compliance questions about an extension.

    123 GitHub stars~5.1k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Shopware CLI Docker

What does Shopware CLI Docker do?

A skill your agent uses when working on Docker-backed Shopware projects and needing to run Shopware or Symfony CLI commands, interact with project services or databases, start or stop the…. Shopware CLI Docker is an agent skill from shopware/shopware-cli. Use when working on Docker-backed Shopware projects and needing to run Shopware or Symfony CLI commands, interact with project services or databases, start or stop the development environment, troubleshoot Docker execution, or determine whether a command should run on the host or inside the project container.

When should I use Shopware CLI Docker?

Shopware CLI Docker fits situations like: working on Docker-backed Shopware projects and needing to run Shopware; symfony CLI commands; interact with project services; stop the development environment.

How do I install Shopware CLI Docker in Claude Code?

Run `npx skills add shopware/shopware-cli --skill shopware-cli-docker -a claude-code`. Or copy the skill folder (skills/shopware-cli-docker in shopware/shopware-cli) into .claude/skills/shopware-cli-docker in your project. Claude Code loads it when a task matches its description.

How do I install Shopware CLI Docker in Codex?

Run `npx skills add shopware/shopware-cli --skill shopware-cli-docker -a codex`. Or copy the skill folder (skills/shopware-cli-docker in shopware/shopware-cli) into .agents/skills/shopware-cli-docker in your project. Codex loads it when a task matches its description.

Can I use Shopware CLI Docker in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shopware/shopware-cli --skill shopware-cli-docker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/shopware-cli-docker, .gemini/skills/shopware-cli-docker, .github/skills/shopware-cli-docker and .opencode/skills/shopware-cli-docker in your project.

What does Shopware CLI Docker need to run?

Going by SKILL.md and its folder, Shopware CLI Docker needs the command-line tools its instructions call (docker). Our summary lists: Docker.

Does Shopware CLI Docker access the network?

SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Shopware CLI Docker safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Shopware CLI Docker use?

Shopware CLI Docker is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Shopware CLI Docker use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Shopware CLI Docker?

Skills that share tags, products or a category with Shopware CLI Docker: Runner Selection (dev-toolings/superpowers-symfony, 222 stars), Ddev (haxtheweb/haxcms-php, 130 stars), Deployment and CI/CD Patterns (affaan-m/ECC, 274k stars) and Educates Upgrade Go (educates/educates-training-platform, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Shopware CLI Docker?

shopware (a GitHub organization) maintains it in shopware/shopware-cli, which has 123 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.

Source: shopware/shopware-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.