Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

studio-testing

Skill by supabase

Guides testing decisions for the Supabase Studio app (apps/studio). It helps choose the right test layer, write MSW-based component tests, and prune low-value tests.

  • Score 91
  • 116k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install studio-testing

Built from the published package, never by AI.

git clone --depth 1 https://github.com/supabase/supabase /tmp/supabase && mkdir -p ~/.claude/skills && cp -r /tmp/supabase/.agents/skills/studio-testing ~/.claude/skills/studio-testing

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install studio-testing in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill sets out a testing strategy and quality bar for Supabase Studio, the apps/studio codebase. It tells the assistant when a change needs a test and when static checks such as TypeScript, ESLint, Knip, or OpenAPI types are enough. It lists unit, component, and E2E layers and when each one applies.

The skill also gives six review checks for tests, such as asserting visible behavior instead of CSS classes and never using real sleeps. It shows MSW component test patterns with addAPIMock, fake timers, scoped listbox queries, and test runs with retries disabled. It is written for developers and AI assistants working on Studio tests.

Written from the project's SKILL.md and checked against it.

What it can do

  • Test necessity gateDecides whether a change needs a test or is covered by static analysis alone.
  • Layer selectionPicks unit, component, or E2E tests for a given behavior, using the smallest effective layer.
  • Quality litmus checksRuns six review checks that flag tests to delete or rewrite, such as mirror or tautology tests.
  • MSW component testsMocks HTTP calls at the network boundary with addAPIMock and customRender instead of vi.mock.
  • Async and timer rulesCovers awaiting waitFor, using fake timers, and avoiding real sleeps in tests.
  • Fast test guidanceExplains when to use .test.ts node runs versus .test.tsx jsdom runs.
  • Verification workflowShows how to run Vitest with retries disabled and how to repeat and shuffle tests to debug flakiness.

What you need

  • Supabase Studio repository (apps/studio)
  • pnpm
  • Vitest

Try asking

  • Should this Studio change in apps/studio get a test or is typecheck enough?
  • Write an MSW component test for an API-backed form in Supabase Studio.
  • Review this Studio test file and tell me which assertions to delete or rewrite.

Good to know

  • Guidance is specific to the Supabase Studio codebase (apps/studio).
  • Older tests still live under apps/studio/tests, so new tests are co-located instead.
  • Playwright E2E journeys are covered by a separate studio-e2e-tests skill.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/studio-testing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/msw-component-tests.md13 KB

Alternatives to studio-testing

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

studio-testing: common questions

Does this skill write tests for me?

It gives the assistant a strategy and review checks for deciding, writing, and pruning Studio tests. The source does not describe automatic test generation.

Which test runner does it use?

The source shows Vitest commands run through pnpm --filter studio, with jsdom for .test.tsx files and node for .test.ts files.

How does it handle API mocking?

It recommends intercepting HTTP calls with addAPIMock from @/tests/lib/msw and avoiding vi.mock on @/data modules.

How do I install studio-testing?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is studio-testing free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is studio-testing safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to studio-testing?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

studio-testing Install

Add to stack

Loading.