studio-queries
A maintainer skill in the Supabase monorepo with the conventions for fetching data in Supabase Studio, the dashboard app, using TanStack React Query.
スキルの内容
A maintainer skill in the Supabase monorepo with the conventions for fetching data in Supabase Studio, the dashboard app, using TanStack React Query. Query keys live in a keys file for each domain rather than inside components, and query options are built from private fetch functions that check their inputs and handle errors. Queries run only when their required values exist, permission-gated queries use a dedicated helper that a lint rule protects, and code outside rendering fetches through the query client. Mutation hooks invalidate the related list and detail keys and show an error toast by default, and components render loading, error and success states in that order. The table editor and edge functions code serve as examples.
できること
- Write React Query hooks for Studio
- Define query keys per domain
- Invalidate related queries after mutations
- Review data-fetching code against the conventions
概要
- 公開元
- 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-queries)github.com/supabase/supabase · 根拠となる項目:スクリプトを含む2026年11月10日