smoke
Write and run smoke tests against the Docker stack from a spec. Use after deploying to a Docker environment to verify end-to-end behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write and run smoke tests against the Docker stack from a spec. Use after deploying to a Docker environment to verify end-to-end behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | smoke |
| description | Write and run smoke tests against the Docker stack from a spec. Use after deploying to a Docker environment to verify end-to-end behavior. |
| disable-model-invocation | true |
| argument-hint | [spec-name] |
| compatibility | Requires Docker and docker compose |
| effort | medium |
Run smoke tests against the running Docker stack for a spec.
$ARGUMENTS is the spec name (e.g. prd-45-file-virus-scanning). If omitted, uses the most recently modified spec in .claude/specs/.
docker compose up -d)Run docker compose ps to verify all containers are running. Then poll the project's health endpoint (read from CLAUDE.md, default: GET http://localhost:8000/health) every 5 seconds, up to 60 seconds.
Detect the smoke test file and runner:
smoke_test or smoke command/pathsmoke_test.py, smoke_test.ts, smoke.test.ts, tests/smoke.py, tests/smoke.ts, test/smoke.*.py → python, .ts → npx tsx or npx ts-node, .js → nodepackage.json/pyproject.toml)Read the smoke test file, the spec at .claude/specs/<name>.md, and the response schemas referenced in the spec's Affected/New files list.
Add smoke test coverage for the spec's API routes:
Maintain an attempt counter starting at 0.
git checkout <smoke-test-file> to restore the original file, then stop and report the failure outputRun the project's full verify suite (typecheck → lint → tests → build) to ensure smoke test changes didn't introduce regressions.
git checkout <smoke-test-file> and reportCreate well-structured atomic commits with conventional commit messages. Use when ready to commit working changes.
Write a feature spec from requirements in .claude/input/. Use when starting a new feature, before implementation begins.
Orchestrate the full spec → implement → review → fix → commit pipeline. Use when shipping a complete feature end-to-end.
Break a concept document, draft, or product brief into independent PRDs that each feed into /ship. Use when input contains multiple features or a big-picture vision.
Ship decomposed PRDs in parallel. Analyzes file conflicts, groups into batches, runs /ship in isolated worktrees, merges results. Use after /decompose.
Implement a feature from a spec file in .claude/specs/. Use after a spec is written and approved.