From docker-compose-dev
Run a service stack locally using Docker Compose for prod-like development (e.g. PostgreSQL + app). Use when you need a real DB backend, multi-service integration, or want to reproduce production-like behavior locally.
How this skill is triggered — by the user, by Claude, or both
Slash command
/docker-compose-dev:docker-compose-devThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- A real DB backend or multi-service stack is needed for local or integration work.
configuration-env)..env.example template exists and which credentials need real values.depends_on and healthcheck decisions)..env.example to .env, bring the stack up, run migrations if not auto-applied, and verify the health endpoint..env template with required migrate or seed steps applied deliberately.docker compose ps, logs, and/or the repo's health endpoint.cp .env.example .env # copy env template; edit credentials as needed
make docker-compose-up # or: docker compose up -d
Run any setup steps that do not run automatically (most setups require this):
make migrate-up # apply database migrations
Verify the app is healthy:
curl http://localhost:<PORT>/health
make docker-compose-logs # or: docker compose logs -f
make docker-compose-ps # or: docker compose ps
make docker-compose-down # stop and remove containers
Full reset (wipes persistent volumes):
docker compose down -v # removes containers AND volumes
Use -v only when you want to destroy all data (e.g. start fresh with a clean DB).
docker compose up — run them explicitly after services start..env change, update any DATABASE_URL or connection strings that reference them.docker compose down -v unless you intentionally want to destroy all persistent data.| Symptom | Fix |
|---|---|
| App crashes immediately | Check logs: docker compose logs app |
| DB connection refused | Confirm DB service is healthy before the app starts; add depends_on with health check |
| Migrations fail | Verify DATABASE_URL matches the credentials in .env and the DB is reachable |
docker compose ps or the repo wrapper shows the expected services running.references/examples.md when you need concrete user utterances, expected behaviour, or a model answer shape to mirror.references/edge-cases.md when the request is a near miss, partially matches this skill, or the first attempt fails.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub matt-riley/lucky-hat --plugin docker-compose-dev