playground-msw-tests
97 / 100 · Low risk
Fine to try.
REQUIRED and PRIMARY testing approach for packages/playground and packages/playground-ui. Triggers on: adding or modifying hooks, pages, route components, data-fetching code, React Query interactions, or any test work in these packages. Generates Vitest tests that drive the real @mastra/client-js + React Query stack through MSW handlers and typed fixtures derived from @mastra/client-js response types. This is the #1 way to test the playground packages — ABOVE Playwright E2E. Use Playwright only…
What this skill can do
Connects to the internet
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'playground-msw-tests' ] || [ -L ~/.agents/skills/'playground-msw-tests' ]; then echo 'A skill folder named playground-msw-tests already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/mastra-ai/mastra' "$d" && git -C "$d" checkout --quiet '43d1e9c16d6681a66636e318c34118597911f7c5' -- '.claude/skills/playground-msw-tests' && mkdir -p ~/.agents/skills && cp -R "$d"/'.claude/skills/playground-msw-tests' ~/.agents/skills/'playground-msw-tests' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'playground-msw-tests' ~/.claude/skills/'playground-msw-tests' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/mastra-ai/mastra/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-12 | 43d1e9c | 97 |