/kanon-tools:docker-devfrom kanon-tools
Pre-flight check before every docker command, with safe container management and data protection rules. Use when the user mentions docker, compose, spin up, bring up, tear down, containers, logs or restart.
Ships in kanon-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Enforces safe Docker practices across all projects. Always runs pre-flight before any container operation.
Before ANY docker command, run:
docker info > /dev/null 2>&1 && echo "RUNNING" || echo "NOT RUNNING"
If NOT RUNNING, stop immediately and say:
Docker is not running.
Please start Docker Desktop (or your Docker daemon) and let me know when it's ready.
Do not retry. Do not attempt to start Docker. Wait for the user.
docker compose up -d # start services
docker compose up -d --build # start with rebuild
docker compose ps # check status
docker compose logs --tail 50 # view logs
docker compose logs <service> --tail 100 -f # follow single service
docker compose restart <service> # restart single service
docker compose down # stop (preserves volumes)
docker compose down -v # stop + DELETE all data
docker compose build <service> --no-cache # rebuild single service
docker compose up, run a status check to confirm services are healthy.claude/references/docker-services.md), read it for project-specific service maps, ports, and workflowsVolumes and containers that store databases, files, or persistent state (e.g. postgres, keycloak-db, minio, redis with persistence) are protected. The user may have spent hours running manual or automated tests populating this data -- wiping it without consent is unacceptable.
Always ask for explicit user confirmation before:
docker compose down -v or any command that removes volumesdocker volume rm, docker volume prunedocker system prune, docker container prune, docker image prunedocker compose up -d --build on a db service, or --force-recreate on storage containers)docker rm on any container that mounts volumes with persistent dataPrompt template:
This will delete persistent data (databases, files, stored state).
Affected: <list containers/volumes that will be lost>
Are you sure? This cannot be undone.
Do not proceed until the user explicitly confirms. "Yes" in a prior session does not carry over.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub themaverik/kanon --plugin kanon-tools3 skills in this plugin
/diagram-on-the-flyGenerate and render component and sequence diagrams from code during analysis. Use when asked to visualise architecture, flows, or interactions, or when a diagram would anchor a design discussion./remove-ai-marksRemove multi-vendor AI provenance marks: invisible Unicode (Layer A), statistical text watermarks via rewrite (Layer B, always offer), and C2PA/EXIF/XMP/container metadata on PNG/JPEG/WebP/SVG/PDF/DOCX/ODT/HTML/MD. Covers Claude, Gemini/SynthID-class, OpenAI provenance, and open-LLM sampling marks. Use when the user asks to strip watermarks, remove C2PA/Content Credentials, clean AI metadata, remove invisible Unicode, anti-detect clean AI output, or runs /remove-ai-marks (aliases: /remove-claude-marks).