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.
スキルの内容
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.
できること
- Mock Studio API calls with typed MSW handlers
- Assert on rendered UI state
- Mock permissions and routes in tests
- Find requests no handler matched
概要
- 公開元
- Supabase
- ツール
- Supabase
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Supabase, テスト | |
| 公開元 | Supabase | 出典 |
| 公式かどうか | 公式in Supabase's own monorepo; a maintainer skill for Supabase's code, not for Supabase users | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | いいえ | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | Apache-2.0 | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月11日GitHubスター 114,826ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
出典
- スキルファイル(SKILL.md)github.com/supabase/supabase · 根拠となる項目:公式かどうか, スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/supabase/supabase · 根拠となる項目:ライセンス, 公開元, 活動状況2026年11月11日
- リポジトリ内のフォルダ(studio-mock-api-tests)github.com/supabase/supabase · 根拠となる項目:スクリプトを含む2026年11月10日