dockerfile-skill
Dockerfile Generator Skill
Identity and Discovery
- Owner:
dockerfile-skill(/dockerfileand Dockerfile, containerize, build-fix, or Docker build requests). - Class:
local-artifact-mutationwith a validated packaging handoff tosealos-deploy. - Canaries:
DFS-RUNTIME-ACCEPT,DFS-OWNED-FILES, andDFS-REDACT.
Scope and Boundaries
Accept a local path or GitHub URL, optionally with a readiness report from cloud-native-readiness. Analyze and write only the named packaging artifacts (Dockerfile, .dockerignore, optional compose/entrypoint/docs and deploy-side build evidence); preserve pre-existing files and project values by default. A replacement requires an explicit request decision recorded before mutation. Build, migration, HTTP, and log validation remain required before a result is accepted.
Risk and Confirmation
Keep generated secrets, environment values, database URLs, and connection details out of reports. A required package or system-tool installation follows the current project confirmation boundary. Never treat a successful docker build as runtime acceptance; the DFS-RUNTIME-ACCEPT canary requires migration/table, HTTP, health, and log evidence.
Lifecycle Workflow
For each request, analyze the project, generate owned packaging, run the closed-loop build/fix phase, and run runtime validation. Emit request-scoped success, stopped, or error; the existing four-phase Deep Analysis → Generate → Build & Fix → Runtime Validation workflow remains the domain extension below.