smoke-regression
БесплатноБез исполняемых скриптовНе проверенRun the smoke and regression pass for this stack after a change: the hermetic suites, the turn-matrix script that drives real agent turns and asserts every…
от Boise-State-Development★ 22 звезды на GitHubОб этом скилле
Smoke / regression pass
The matrix, its fixtures and how to read a failure live in docs/testing/smoke-regression.md. Read §2.2 before running L1 and §3 before L2. This skill is the procedure.
0. Decide the layers
From the diff, pick per §4 of the doc:
- L0 always, for the packages touched.
- L1 when the change touches
inference_api/chat/*,agents/main_agent/**,apis/shared/harness/**,apis/shared/client_tools/**, the SSE table, or any interrupt flow (theclient_tool_call_resumerow covers the terminal client's local-tools protocol without needing the TUI). - L2 when the change touches a rendered surface (composer, loader, tool rail, pickers, banners) or an interrupt flow.
Say which layers you are running and why in one line before starting.
1. L0 — hermetic
From the branch's checkout. In a worktree PYTHONPATH is mandatory or you test
develop:
cd <checkout>/backend && PYTHONPATH=$PWD/src AWS_EC2_METADATA_DISABLED=true <main checkout>/backend/.venv/bin/python -m pytest tests/ -q
Frontend cd frontend/ai.client && npx ng test --watch=false; infra
cd infrastructure && npx tsc --noEmit && npx jest. Never pass dummy AWS
credentials to make a stall go away (see the doc §1).
2. L1 — turn matrix
Pick the target in this order and state which one you used:
- Deployed dev through the Runtime (always available to an agent with the
dev-aiprofile and an active headless grant):
The grant's owner id is incd backend && AWS_PROFILE=dev-ai uv run python scripts/smoke_turns.py --auth headless-grant --user-id <sub> --prefix dev-boisestateai-v2 --json /tmp/smoke.jsondev-boisestateai-v2-bff-sessionsunderPK=HEADLESS-GRANT#…(grant_user_id). If the script reports no active grant, the user must sign in and run a headless run once; do not try to mint tokens another way (the doc explains why the other routes are dead ends). This mode skips the app-api-only rows (409, Stop, steer). It deletes the sessions it created; after a crash or--keep, pass--delete-sessions id,id. - Local stack when the branch is not deployed yet and you need the
app-api rows: app-api on :8000 with
SKIP_AUTH=true, inference-api on :8001, then--base-url http://127.0.0.1:8000. Do not flipSKIP_AUTHin the user'sbackend/src/.envwithout asking; use a worktree copy. - Deployed through app-api with a Cognito password user
(
--auth cognito), when one exists for the environment.
Add --with-attachments when attachments are in scope, and the fixture flags
(--approval-tool, --skill-id, --agent-id) when those rows matter. Never
pass --allow-prod.
Paste the report table into your summary. Treat SKIP as "not covered here", OBSERVED as information, WARN as a model-quality note. A FAIL is a finding: quote its detail, check the three traps in the doc §2.2 before calling it a bug, then fix or report.
3. L2 — in-app browser
Use the built-in browser pane on https://dev.boisestate.ai; it carries the
user's session. Install the frame-capture snippet from the doc §3 with
javascript_tool first, then work through the checklist rows that apply.
Verify with read_page and window.__frames, not screenshots, except for a
final visual proof. Mirror the CSRF cookie into X-CSRF-Token for any manual
non-GET call. Delete the smoke conversations when done.
4. Report
One table per layer run, a one-line verdict, and the exact commands used so the run is reproducible. If a layer was skipped, say which and why.
Установить smoke-regression в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл smoke-regression?
Run the smoke and regression pass for this stack after a change: the hermetic suites, the turn-matrix script that drives real agent turns and asserts every SSE code path (frame order, interrupt/resume, 409, Stop, preview, restore, cache stability), and the in-app-browser checklist for rendered surfaces. Use when the user says "smoke test", "regression test", "run the smoke pass", "verify this on dev", "test all the response paths", "did we break streaming", or before a release. Points at docs/testing/smoke-regression.md as the single source of truth for rows, fixtures and failure reading.
Как установить скилл smoke-regression?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл smoke-regression запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic