studio-mock-api-tests
A maintainer skill in the Supabase monorepo for component tests in Supabase Studio that mock the network with Mock Service Worker instead of mocking data modules.
What the skill teaches
A maintainer skill in the Supabase monorepo for component tests in Supabase Studio that mock the network with Mock Service Worker instead of mocking data modules. The agent renders the component with the project's custom render helper, registers typed handlers for every endpoint the component and its children call, and asserts on what appears on screen, checking request bodies only when the interface does not show the result. Its rules cover path parameter syntax, always answering through the JSON response helper so the fetch client does not hang, form events in sheets and modals, profile and route mocks, permission fixtures and listeners for finding requests that no handler matched.
Capabilities
- Mock Studio API calls with typed MSW handlers
- Assert on rendered UI state
- Mock permissions and routes in tests
- Find requests no handler matched
About
- Publisher
- Supabase
- Tool
- Supabase
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tools | Supabase, Testing | |
| Publisher | Supabase | source |
| Official status | Officialin Supabase's own monorepo; a maintainer skill for Supabase's code, not for Supabase users | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026114,826 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from Supabase
1 server · 21 skills
- Supabase (MCP server)
- supabase-postgres-best-practices (Skill)
- supabase (Skill)
- supabase-server (Skill)
- clickhouse-logs-queries (Skill)
- edit-the-docs (Skill)
Also listed under: Testing
Sources
- Skill file (SKILL.md)github.com/supabase/supabase · Backs: Official status, Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/supabase/supabase · Backs: Licence, Publisher, ActivityNov 11, 2026
- Folder in the repository (studio-mock-api-tests)github.com/supabase/supabase · Backs: Includes scriptsNov 10, 2026