docker-architect
Installation
SKILL.md
Docker Architect
Overview
Produce production-grade, secure, right-sized Docker images and Compose environments end-to-end: inventory → design → implement → test → CI. Prefer minimal, reproducible builds (multi-stage + BuildKit) and least-privilege runtime defaults.
Quick Start (always do this first)
- Inventory the repo and existing container config:
- Run
python3 /home/bjorn/.codex/skills/docker-architect/scripts/docker_inventory.py --root .
- Run
- Choose the target:
- New containerization → follow “New build workflow”
- Existing Dockerfiles/Compose → follow “Audit + refactor workflow”
- Validate locally:
docker buildx versiondocker buildx build ...(ordocker build ...)docker compose configanddocker compose up --build
Template rendering example (edit variables per repo):