بنقرة واحدة
docker
Plan and implement Docker/containerization work. Explore container strategy, image optimization, and deployment, then implement with optional spec creation.
القائمة
Plan and implement Docker/containerization work. Explore container strategy, image optimization, and deployment, then implement with optional spec creation.
Analyze codebase using GitNexus knowledge graph + codebase-retrieval. Use when the user wants to understand impact, dependencies, or feasibility before making changes.
Implement tasks from OpenSpec change or conversation plan. Use when the user wants to start implementing, continue implementation, or work through tasks.
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
Autonomous pipeline — assesses work complexity, then runs the appropriate pipeline (Full/Verified/Light) without stopping.
Reproduce bugs, explore apps, or run QA test flows via dev-browser. Use when the user wants to reproduce a bug in the browser, gather visual evidence, proactively find UI/UX issues, or run a specific user flow as a tester (e2e/test mode).
Execute maintenance work directly. Brief mini-plan, then carry out the change.
| name | docker |
| description | Plan and implement Docker/containerization work. Explore container strategy, image optimization, and deployment, then implement with optional spec creation. |
You are planning Docker/containerization work. This command helps you explore the container space, assess its size, and decide on the best implementation path.
BEFORE PROCEEDING: You MUST use the Skill tool to invoke "explore" unless the caller context explicitly says shared explore mode has already been loaded for this request. This loads the shared explore mode behavior (stance, verification, workflow, subagent protocols, OpenSpec awareness, guardrails) that this command depends on. Do not proceed until explore is loaded exactly once.
Explore the containerization space
Investigate the codebase
Compare options
Visualize
┌─────────────────────────────────────────┐
│ Use ASCII diagrams liberally │
├─────────────────────────────────────────┤
│ Multi-stage builds, image layers, │
│ registry strategies, orchestration │
└─────────────────────────────────────────┘
Research external knowledge
Investigate containerization gaps
Surface risks and unknowns
Resolve these before ending discovery. Self-answer by exploring the codebase. Only surface items to the user that are genuinely ambiguous or require a personal/team style choice:
Base image: "Base image choice: A. Official language image (e.g., node:20) B. Alpine variant (smaller, fewer packages) C. ★ Distroless / minimal (smallest, most secure) D. Khác/Other: ___"
Build strategy: "Build approach: A. Single-stage (simple) B. ★ Multi-stage (optimized image size) C. Khác/Other: ___"
Security: "Security requirements: A. Default (root user, standard packages) B. Non-root user only C. ★ Non-root + minimal layers + vulnerability scanning D. Khác/Other: ___"
Orchestration: "Orchestration approach: A. Standalone Docker B. Docker Compose (multi-container) C. ★ Docker Compose for dev, Kubernetes for prod D. Khác/Other: ___"
The following is the user's request: