smoke
БесплатноБез исполняемых скриптовНе проверенStart one or more local OpenBot dev instances and smoke test the features that the current changes or a pull request add. Use when asked to smoke test, QA, or…
от nightly-labs★ 13 288 звёзд на GitHubОб этом скилле
Smoke
Start the local dev stack for this worktree. Then drive the real app and prove that each feature in the change works. Report what passed, what failed, and what you did not check.
A smoke test does not replace tests or CI. Do not run broad checks here.
AGENTS.md forbids them locally.
Before you start
- Read
AGENTS.mdand theAGENTS.mdof each directory in the change. - Run
node --version. Node 24 is necessary. - Prefix each
bun run dev*command withenv -u ELECTRON_RUN_AS_NODE. An agent shell can leak this variable, and then Electron starts as Node. - In a fresh worktree, run
bun run dev:bootstraponce. When it reports a missing.env.keys, copy the file from the main checkout. Do not create a new one.
Step 1 — Find what to test
Get the change set. Use the first source that applies:
- A PR number or URL:
gh pr view <pr> --json title,body,headRefName,filesandgh pr diff <pr> --name-only. Check out the PR branch in this worktree only when the user asks. Otherwise test the current branch. - A branch:
git diff --name-only $(git merge-base origin/main HEAD), plusgit status --shortfor uncommitted work.
bun run dev:verify reads only uncommitted changes. Use it for setup and
runtime state, not for the change set. Ignore the lint and typecheck
entries in its commands.
Read the PR body and the diff. Write a short test plan before you start the app. Give each item a user action and an expected result:
| # | Feature | Surface | Action | Expected result |
|---|---|---|---|---|
| 1 | Short name | desktop / test-client / web / mobile | Steps | Visible result |
Include the reverse action for each state change: snooze/unsnooze, pause/resume, revoke/reconnect, mute/unmute. Include a restart when the change touches persisted state or migrations.
When a change has no user-visible behavior, such as a refactor, a test, or docs only, say so and stop. Do not start the app for it.
Step 2 — Choose the stack
Choose the smallest stack that covers the plan:
| Plan needs | Command |
|---|---|
| Desktop renderer or main process | bun run dev |
| Two clients: teams, invitations, sharing, Team API | bun run dev:test-client |
Browser client at /app or public web |
bun run dev:api (add bun run dev when a desktop host is also necessary) |
| iOS app | bun run dev:mobile |
Rules:
- Run
bun run dev:statusfirst. Reuse this worktree's stack when it is live. Do not start a second stack in the same worktree. - Never drive a stack or an app of a different worktree.
- Start the stack with
run_in_background. Wait for the ports that the supervisor prints, or pollbun run dev:statusuntil the service is live. Use the ports that the stack reports, never a fixed port. - Do not pass
--shared, so that the test does not change the sharedOpenBot Devprofile. A new profile gets the showcase data ofbun run dev:seed. - Do not run
dev:reset, ordev:seedwithout--dry-run, on a profile that you did not create. Ask first.
Step 3 — Drive the app
Use bun run dev:automation for the desktop app and the test client:
bun run dev:automation instances
bun run dev:automation pages
bun run dev:automation snapshot --wait-for=<role>,<name>
bun run dev:automation click --role=<role> --name=<name> --allow-mutations --instance=<id> --wait-for=<role>,<name>
bun run dev:automation type --role=<role> --name=<name> --text=<text> --allow-mutations --instance=<id>
Follow this loop for each plan item:
snapshot → action with --wait-for → snapshot.
The accessibility snapshot is the evidence. Do not take screenshots by
default: they cost more. Take one only when the user asks, when the
result is visual (layout, color, animation, an image) and a snapshot
cannot show it, or when the user asks for PR evidence. Then use
bun run dev:automation screenshot --out=<name>.png.
- Select elements by accessible role and name. When an element has no accessible name, record it as a finding. Do not add a test ID.
--page=<target-id|url-substring>selects a window or an embedded browser view.--service=test-clientselects the second client.- Wait for a role, not for elapsed time.
dev:automationcannot close a window or run a script. For window lifecycle checks, use CDP on the instance'sremoteDebuggingPort.- For the browser client, use the preview or Chrome DevTools tools on the URL that the stack reports.
- For the iOS app, use the device tools to open the simulator. Take a simulator screenshot only when the result is visual.
- For a restart check, stop only the stack you started with
bun run dev:stop, then start it again with the same flags.
Also look for problems outside the plan: renderer console errors in the
dev:automation stderr, errors in the stack log, and a UI that does not
respond.
A provider turn uses the signed-in subscription. Send model turns only when the feature needs them, and keep the prom
Установить smoke в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл smoke?
Start one or more local OpenBot dev instances and smoke test the features that the current changes or a pull request add. Use when asked to smoke test, QA, or check a change or PR in the real app, including two-client team flows, the browser client, and the iOS simulator.
Как установить скилл smoke?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл smoke запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic