frontend-data-fetching
A maintainer skill in Sentry's own repository for how React code in its frontend calls the Sentry API, using TanStack Query with Sentry's apiOptions helper.
スキルの内容
A maintainer skill in Sentry's own repository for how React code in its frontend calls the Sentry API, using TanStack Query with Sentry's apiOptions helper. It lists the approved helpers for queries, mutations, conditional queries and manual fetches, and marks older helpers as deprecated. Rules require an explicit stale time, reusable abstractions built on the options object rather than on hooks, letting TypeScript infer types instead of passing generics, typing mutation inputs rather than hook generics, and treating errors as plain Error narrowed at runtime. It also explains that the cache holds both JSON and headers and how to read pagination and hit-count headers with a select helper.
できること
- Write queries and mutations with apiOptions
- Disable a query conditionally
- Read pagination and hit-count headers
- Avoid deprecated query helpers
概要
- 公開元
- Sentry
- ツール
- Sentry
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Sentry | |
| 公開元 | Sentry | 出典 |
| 公式かどうか | 公式in Sentry's own repository; a maintainer skill for Sentry's code, not for Sentry users | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | いいえ | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | NOASSERTION | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月11日GitHubスター 45,751ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
出典
- スキルファイル(SKILL.md)github.com/getsentry/sentry · 根拠となる項目:公式かどうか, スクリプトを含む, ライセンス2026年11月10日
- GitHubリポジトリgithub.com/getsentry/sentry · 根拠となる項目:公開元, 活動状況2026年11月11日
- リポジトリ内のフォルダ(frontend-data-fetching)github.com/getsentry/sentry · 根拠となる項目:スクリプトを含む2026年11月10日