docker-conventions
Dockerfile and Docker Compose conventions — layer ordering, security, health checks, and .dockerignore
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Dockerfile and Docker Compose conventions — layer ordering, security, health checks, and .dockerignore
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Health check procedures D1–D14 for the Audit agent — structural validation, attention budget, version checks, workspace integrity, and static audit
Configure and manage Model Context Protocol servers for external tool access
Review a UI for accessibility — WCAG 2.1 AA compliance, semantic HTML, ARIA usage, keyboard navigation, focus management, colour contrast, and screen reader compatibility
Design or review a REST or GraphQL API — resource modeling, versioning strategy, error contract, OpenAPI/schema-first workflow, and security baseline
Generate a CHANGELOG.md entry from staged changes, a commit range, or a PR diff — following Keep a Changelog format with conventional commit classification
Set up and audit environment variable management — create .env.example, add startup validation, separate secrets from config, and document every variable
| name | docker-conventions |
| description | Dockerfile and Docker Compose conventions — layer ordering, security, health checks, and .dockerignore |
| compatibility | >=1.4 |
Skill metadata: version "1.0"; license MIT; tags [docker, dockerfile, compose, containers]; recommended tools [codebase, editFiles].
Applies to: **/Dockerfile, **/Dockerfile.*, **/docker-compose.yml, **/docker-compose.yaml, **/compose.yml, **/compose.yaml, **/*.dockerfile
latest). Use digest pinning for production-critical images.RUN commands with && and clean up in the same layer.COPY or ADD secrets, private keys, or credentials into the image.HEALTHCHECK in production Dockerfiles..dockerignore to exclude .git/, node_modules/, build artifacts, and test files.EXPOSE to document ports — it does not publish them.COPY over ADD unless extracting archives or fetching URLs.ENTRYPOINT for the main process and CMD for default arguments.depends_on with health check conditions for service ordering.