mastra-smoke-test
Smoke test Mastra projects locally or deploy to staging/production. Tests Studio UI, agents, tools, workflows, traces, memory, and more. Supports both local…
от mastra-ai★ 29 944 звезды на GitHub
Установить mastra-smoke-test в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Mastra Smoke Test
Comprehensive smoke testing for Mastra projects.
Release smoke workflows
Use progressive disclosure: stay in this file until the workflow branches, then read only the reference for the branch you are on. references/release-smoke.md is a short index if you need the full map.
Alpha release branch point
Before alpha smoke testing, identify the alpha versioning PR state. Prefer the standard Changesets release branch:
gh pr view changeset-release/main \
--json number,title,state,url,headRefName,baseRefName,isDraft,mergeable,reviewDecision,updatedAt,mergedAt,mergeCommit
Expected shape:
title: chore: version packages (alpha)
head: changeset-release/main
base: main
If that branch lookup fails, search open and recently merged PRs:
gh pr list --state open --search 'version packages alpha in:title' --limit 20
gh pr list --state merged --search 'version packages alpha in:title' --limit 20
Then branch:
- If the versioning PR is open, read
references/alpha-versioning-pr.md. - If the versioning PR is merged, read
references/alpha-publish.md. - If no versioning PR exists, report that and wait for the scheduled alpha versioning flow or user direction.
Do not create the alpha smoke-test project until the automatic alpha publish workflow has completed and the intended packages are installable.
Stable release branch point
If the user is running the stable/full release workflow, read references/stable-release-smoke.md. If that workflow fails after some packages publish, switch to references/stable-partial-publish-recovery.md.
Scope and targeted checks
After the release package is published and before running smoke tests, read references/release-scope-discovery.md to identify changed features. Use the default generated project for the baseline checklist, then add targeted checks for changed features the generated project does not exercise.
When scope discovery identifies a branch:
- For general changed-feature coverage, read
references/targeted-feature-smoke.md. - For storage/provider schema or migration changes, read
references/storage-provider-migration-smoke.md.
⚠️ Mandatory Test Checklist
Use task_write to track progress. Run ALL tests unless --test specifies otherwise.
Do not skip tests unless you hit an actual blocker. "Seemed complex" or "wasn't sure" are not valid reasons. Attempt everything - only stop a test when you literally cannot proceed. Report what you tried and what blocked you.
| # | Test | Reference | When Required |
|---|---|---|---|
| 1 | Setup | references/tests/setup.md |
Always |
| 2 | Agents | references/tests/agents.md |
--test agents or full |
| 3 | Tools | references/tests/tools.md |
--test tools or full |
| 4 | Workflows | references/tests/workflows.md |
--test workflows or full |
| 5 | Traces | references/tests/traces.md |
--test traces or full |
| 6 | Scorers | references/tests/scorers.md |
--test scorers or full |
| 7 | Memory | references/tests/memory.md |
--test memory or full |
| 8 | MCP | references/tests/mcp.md |
--test mcp or full |
| 9 | Errors | references/tests/errors.md |
--test errors or full |
| 10 | Experiments | references/tests/experiments.md |
--test experiments or local full |
| 11 | Studio Deploy | references/tests/studio.md |
--test studio (cloud only) |
| 12 | Server Deploy | references/tests/server.md |
--test server (cloud only) |
Full staging and production runs skip Experiments as not applicable; the companion worker is a local build artifact. A targeted --test experiments run therefore requires --env local.
Execution Flow
- Read the reference file for each test you're about to run
- Execute the steps in that reference file
- Mark the test complete before moving to the next
Partial Testing (--test)
If --test is provided:
- Always run Setup (step 1)
- Run only the specified test(s)
- Skip other tests
Example: --test agents,traces → Run steps 1, 2, and 5 only.
Local Studio Browser Smoke
For local release smoke tests, do both API/curl checks and a Studio browser pass unless --skip-browser is explicitly requested or browser access is genuinely blocked. API checks prove runtime endpoints work; browser checks prove the Playground/Studio UI can load, submit forms, and display results.
Before opening the browser:
Confirm the dev server is alive on the expected port:
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/alpha-publish.md
- references/alpha-versioning-pr.md
- references/architecture.md
- references/cloud-advanced.md
- references/cloud-deploy.md
- references/common-errors.md
- references/environment-variables.md
- references/gcp-debugging.md
- references/local-setup.md
- references/release-scope-discovery.md
- references/release-smoke.md
- references/stable-partial-publish-recovery.md
- references/stable-release-smoke.md
- references/storage-provider-migration-smoke.md
- references/targeted-feature-smoke.md
- scripts/check-versioning-pr.sh
- scripts/discover-release-scope.sh
- scripts/test-server.sh
FAQ
Что делает скилл mastra-smoke-test?
Smoke test Mastra projects locally or deploy to staging/production. Tests Studio UI, agents, tools, workflows, traces, memory, and more. Supports both local development and cloud deployments.
Как установить скилл mastra-smoke-test?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mastra-smoke-test запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…