一键导入
web-deploy-docker
Explicit-only Docker deploy. Run this skill's bundled scripts/deploy.sh directly; do not search for skills, inspect trees, or use subagents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Explicit-only Docker deploy. Run this skill's bundled scripts/deploy.sh directly; do not search for skills, inspect trees, or use subagents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | web-deploy-docker |
| description | Explicit-only Docker deploy. Run this skill's bundled scripts/deploy.sh directly; do not search for skills, inspect trees, or use subagents. |
bash .ndx/skills/web-deploy-docker/scripts/deploy.sh <service-or-app-path>bash .ndx/skills/web-deploy-docker/scripts/deploy.sh --allAfter reading this file, the next tool call must be that bundled deploy command
when .ndx/skills/web-deploy-docker/scripts/deploy.sh exists.
Do not search for this skill, inspect .ndx, list files, read package files,
read Docker/Compose files, or pre-check app structure before running the
command. Do not run a project-root scripts/deploy.sh as the primary deploy
entrypoint; that path is only allowed as a compatibility wrapper if present.
The bundled script accepts both dashboard and apps/dashboard, performs the
local build, refreshes Docker Compose when needed, and prints all evidence.
The bundled script owns deploy diagnostics. It validates docker compose config
before refresh, fails with reason=compose-config if Compose is invalid, treats
empty ports, invalid IP:0, and port 0 as published-port failures, and tries
health checks against valid Docker-host candidates instead of assuming
127.0.0.1 is the Docker host in socket-mounted container environments.
apps/<service>, unless the user explicitly asks
to deploy all services.apps/<service>/dist
or equivalent prebuilt runtime artifacts only.docker compose ps, port,
curl, or commit steps unless deploy-report-begin is missing or the command
fails.reason=compose-config, published-port-missing, or
published-port-invalid, report that exact reason. Do not replace it with a
generic Docker daemon diagnosis.yarn install after a deploy failure only because the
log mentions Yarn Plug'n'Play, missing cache packages, Turbo, telemetry, git
ownership, Docker buildx, or health retries. The deploy script owns those
scaffold recovery paths and must print the final evidence.The script prints a deploy-report-begin / deploy-report-end block. Final
answer must copy the four summary lines from that block: result, elapsed time,
verification, and changed files. Use only minimal Korean wording around them.
Do not end with generic follow-up
suggestions. If the deploy command fails, report deploy-total status=failed
and the last relevant failure block. If a failed command still printed a deploy
report block, do not infer or attempt another recovery step unless the user
explicitly asks for debugging or fixing the scaffold.
Explicit-only Docker deploy. Run this skill's bundled scripts/deploy.sh directly; do not search for skills, inspect trees, or use subagents.
Use only when explicitly invoked as $web-service-scaffold to run the bundled web-service scaffold script.
Use when a goal should be split across multiple queued session turns with reflection turns between work turns.
Enforce the repository package documentation contract as a navigable dependency graph. Use when creating or updating package README, docs pages, navigation tables, architecture router, API docs, usage docs, constraints, blast-radius/consumer records, internals, decisions, or testing docs. Docs exist so a later model drills down from task to edit target with minimal context and sees blast radius before editing. Keep content terse; keep only repo-specific contracts, paths, edges, intent, and decisions.
Enforce the repository Docker contract: Docker-first runtime, one root docker-compose.yml, module-owned Docker assets, apps service-module to container mapping, isolated networking, Docker socket passthrough for container-spawning services, a standard npm deploy entrypoint, and runtime-only Dockerfiles that copy prebuilt local dist artifacts instead of building the project. Use when defining compose services, Dockerfiles, networks, volumes, env_file wiring, deploy scripts, Docker socket access, or container ownership.
Run headless browser smoke and E2E tests for scaffolded web services. Use when verifying rendered web UI, checking browser errors, creating Playwright-style scenarios, collecting screenshots, or testing a deployed/local service through Chromium.