/developer-standards:compose-standardfrom developer-standards
Use when the user asks to write, edit, or review a local Docker Compose file (compose.yaml / docker-compose.yml) or a local service stack.
Ships in developer-standards. 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.
Read when SKILL.md points to them; scripts run unread.
Lean local Compose stacks. Not a platform generator.
Not here: Make wrapper names such as up / down / logs (makefile-standard), image build internals (dockerfile-standard), GitHub Actions (ci-standard), Go layout and golangci (go-project-standard). K8s, Swarm, reverse proxies as a product, and runtime secret distribution are out of scope entirely.
Inventory: app entrypoints, existing Compose, Dockerfiles, .env* and README, the DB, cache, or queue the project already uses, Make compose targets, ports. Ignore sidecars nothing points to.
Read references/rules.yaml, the source of truth for rule IDs. Full rules: references/compose-standard.md.
Greenfield: adapt a template from assets/ and replace every Adapt… marker. Never ship an unfinished placeholder.
assets/compose.app-only.yaml.templateassets/compose.yaml.templateMigrate: references/migration-guide.md, incrementally, dropping unused services, networks, and volumes.
Never unconditional: custom networks; multiple overlay files; Redis, Nginx, or adminer by reflex; profiles; deploy: keys; a Swarm or K8s translation; digest pins on every local dependency image.
python3 scripts/validate_compose.py /path/to/compose.yaml
# structural check when Docker is available:
docker compose -f /path/to/compose.yaml config --quiet
Errors = fix. Warnings = human review. A static check is not proof the stack runs.
Validator logic is hardcoded today; the checks: blocks in rules.yaml are illustrative, not executed.
compose.yaml or a legacy name keptdepends_on decisions.env.example you addedcompose.yaml for greenfield. Keep a legacy name only when callers depend on it.version:.${VAR} or env_file, and never a ${VAR:-secret} default.image: uses a controlled tag, never floating latest.build:. Image internals belong to dockerfile-standard.healthcheck plus depends_on: condition: service_healthy, or document why not.# compose-standard: except <rule-id> — <reason>
Every ignored MUST needs an exception line with a reason. An ignored SHOULD needs a brief rationale when it is not obvious.
assets/compose.app-only.yaml.template (opens in a new tab)assets/compose.yaml.template (opens in a new tab)references/compose-standard.md (opens in a new tab)references/migration-guide.md (opens in a new tab)references/rules.yaml (opens in a new tab)scripts/validate_compose.py (opens in a new tab)tests/fixtures/invalid/inline-secret/compose.yaml (opens in a new tab)tests/fixtures/invalid/latest-tag/compose.yaml (opens in a new tab)tests/fixtures/invalid/privileged/compose.yaml (opens in a new tab)tests/fixtures/invalid/secret-default/compose.yaml (opens in a new tab)tests/fixtures/invalid/version-key/compose.yaml (opens in a new tab)tests/fixtures/valid/app-db/compose.yaml (opens in a new tab)tests/test_compose_standard.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub painhardcore/developer-standards --plugin developer-standards5 skills in this plugin
/ci-standardUse when the user asks to create, edit, or review a GitHub Actions workflow or CI under .github/workflows/./dockerfile-standardUse when the user asks to write, edit, review, migrate, or optimize a Dockerfile, .dockerignore, or container image build./go-project-standardUse when the user asks to create or review a Go module's layout (cmd/internal), go.mod, or golangci-lint config./makefile-standardUse when the user asks to create or edit a Makefile, add or rename a make target, or review Make target names.