smoke-check — скилл для Claude Code: проверка перед QA
Запускает автоматические тесты и ручные проверки критических путей перед передачей сборки в QA. Отчёт фиксирует PASS, FAIL или статус без оценки.
npx skills add Donchitos/Claude-Code-Game-Studios --skill smoke-check -a claude-codeЧто делает smoke-check
smoke-check служит контрольным этапом между завершением реализации и передачей сборки в QA. Он определяет тестовую конфигурацию, запускает автоматический набор, ищет пробелы в покрытии и просит разработчика подтвердить ручные проверки критических путей. Результат сохраняется в production/qa/smoke-[date].md.
Режим sprint проверяет истории текущего спринта, а quick пропускает сканирование покрытия и Batch 3 для повторной проверки после исправления конкретной ошибки. Флаг --platform добавляет проверки для pc, console, mobile или всех вариантов. Для ручных шагов используется AskUserQuestion, а перед созданием отчёта скилл запрашивает явное подтверждение.
Скилл не исправляет сбои автоматически и не редактирует исходный код или тесты. При qa.level: minimal ошибка носит рекомендательный характер, при standard проверка нужна перед переходом фазы, а при full — перед каждым коммитом. Это повод заранее проверить значение qa.level, потому что оно меняет блокировку передачи в QA.
Какие задачи решает
- проверить сборку перед передачей в QA
- запустить автоматический набор тестов
- найти пробелы в тестовом покрытии
- проверить критические пути вручную
- сформировать отчёт PASS/FAIL
Примеры запросов агенту
- Запусти
/smoke-checkдля полной проверки текущего спринта. - Повтори проверку после исправления ошибки:
/smoke-check quick. - Проверь консольный вариант сборки:
/smoke-check sprint --platform console.
Как установить smoke-check
1Через Skills CLI (Vercel)
npx skills add Donchitos/Claude-Code-Game-Studios --skill smoke-check -a claude-code2Вручную: положить файлы
~/.claude/skills/smoke-check/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/smoke-check/
1Через Skills CLI (Vercel)
npx skills add Donchitos/Claude-Code-Game-Studios --skill smoke-check -a codex2Вручную: положить файлы
.agents/skills/smoke-check/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Donchitos/Claude-Code-Game-Studios --skill smoke-check -a cursor2Вручную: положить файлы
.cursor/skills/smoke-check/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Donchitos/Claude-Code-Game-Studios smoke-check2Вручную: положить файлы
.github/skills/smoke-check/SKILL.md1Через Skills CLI (Vercel)
npx skills add Donchitos/Claude-Code-Game-Studios --skill smoke-check -a gemini-cli2Командой платформы
gemini skills install https://github.com/Donchitos/Claude-Code-Game-Studios --path .claude/skills/smoke-checkВручную: положить файлы
.devin/skills/smoke-check/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Donchitos/Claude-Code-Game-Studios --skill smoke-check -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о smoke-check
Как установить smoke-check в Claude Code?
Выполните npx skills add Donchitos/Claude-Code-Game-Studios --skill smoke-check -a claude-code, затем повторите npx skills add Donchitos/Claude-Code-Game-Studios --skill smoke-check -a claude-code. Файл скилла находится по пути ~/.claude/skills/smoke-check/SKILL.md.
Что делает smoke-check?
Скилл запускает автоматические тесты, проверяет покрытие и критические пути, затем создаёт отчёт с вердиктом. Перед передачей отчёта он запрашивает подтверждение.
Чем отличаются режимы sprint и quick?
sprint выполняет полную проверку историй текущего спринта. quick пропускает проверку покрытия и Batch 3, поэтому подходит для повторного прогона после исправления сбоя.
Исходный текст
SKILL.md · MIT
---
name: smoke-check
description: "Critical-path smoke gate before QA hand-off — runs the automated suite. A failed check means the build is not QA-ready."
argument-hint: "[sprint | quick | --platform pc|console|mobile|all]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, AskUserQuestion, Bash(bash "*/.claude/skills/smoke-check/../../hooks/yaml-helper.sh" resolve_config *), Bash(bash .claude/scripts/project-coherence.sh*), Bash(command -v *), Bash(uname -s), Bash(godot --headless --path . --import), Bash(timeout 900 godot --headless *), Bash(timeout 1800 godot --headless *), Bash(grep -q 'com.unity.test-framework' Packages/manifest.json), Bash(echo present), Bash(echo ABSENT)
model: sonnet
---
!`bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow,qa.level,testing.strict`
# Smoke Check
This skill is the gate between "implementation done" and "ready for QA
hand-off". It runs the automated test suite, checks for test coverage gaps,
batch-verifies critical paths with the developer, and produces a PASS/FAIL
report.
The rule is simple: **a build that fails smoke check does not go to QA.**
Handing a broken build to QA wastes their time and demoralises the team.
**Output:** `production/qa/smoke-[date].md`
---
Every `AskUserQuestion` call follows `.claude/docs/automation-modes.md`
(collaborative asks always · guided major-only · autonomous logs and proceeds;
`automation_always_ask` categories always prompt).
**`qa.level`**: at `minimal`, smoke-check is **optional** — if
run, a FAIL is advisory and never blocks hand-off, and a project with no game
tests is checked by its build, launch and critical paths alone (Phase 1 step 1); at `standard`, it is required
before a phase transition; at `full`, before every commit. This sits in front of
the Phase 6 `testing.strict.config` resolution (which only matters once a smoke run
gates). Distinct axis from `workflow`.
## Parse Arguments
Arguments can be combined: `/smoke-check sprint --platform console`
**Base mode** (first argument, default: `sprint`):
- `sprint` — full smoke check against the current sprint's stories
- `quick` — skip coverage scan (Phase 3) and Batch 3; use for rapid re-checks
**Platform flag** (`--platform`, default: none):
- `--platform pc` — add PC-specific checks (keyboard, mouse, windowed mode)
- `--platform console` — add console-specific checks (gamepad, TV safe zones,
platform certification requirements)
- `--platform mobile` — add mobile-specific checks (touch, portrait/landscape,
battery/thermal behaviour)
- `--platform all` — add all platform variants; output per-platform verdict table
If `--platform` is provided, Phase 4 adds platform-specific batches and
Phase 5 outputs a per-platform verdict table in addition to the overall verdict.
---
## Phase 1: Detect Test Setup
**Read `references/1-detect-setup.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
## Phase 2: Run Automated Tests
**Read `references/2-run-tests.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
## Phase 3: Check Test Coverage
**Read `references/3-coverage.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
## Phase 4: Run Manual Smoke Checks
**Read `references/4-manual-checks.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
## Phase 5: Generate Report
**Read `references/5-report.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
## Phase 6: Write and Gate
**Read `references/6-write-gate.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.
## Collaborative Protocol
**Applies in `collaborative` mode (the default).** For `guided` and
`autonomous` modes, see `.claude/docs/automation-modes.md` — the rules below
describe what collaborative mode requires, not universal behavior.
- **Never treat NOT RUN as automatic FAIL** — record it as NOT RUN and let
the developer confirm status manually. Unconfirmed NOT RUN yields **NOT
ASSESSED**, not FAIL — and not a pass verdict either.
- **Never auto-fix failures** — report them and state what must be resolved.
Do not attempt to edit source code or test files.
- **PASS WITH WARNINGS does not block QA hand-off** — it records advisory
gaps for `/story-done` to follow up on.
- **`quick` argument** skips Phase 3 (coverage scan) and Phase 4 Batch 3.
Use it for rapid re-checks after fixing a specific failure.
- Use `AskUserQuestion` for all manual smoke check verification.
- **Never write the report without asking** — Phase 6 requires explicit
approval before any file is created.
© Donchitos · MIT · Donchitos/Claude-Code-Game-Studios