native-data-fetching
Expoのネットワーキングフローを構築
モバイルアプリには、信頼性の高いAPIリクエスト、キャッシュ、トークン処理、オフライン動作が必要です。このスキルは、Expo開発者がfetch、React Query、SecureStore、NetInfo、環境ベースの設定を扱うためのガイドです。
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "native-data-fetching" from https://skillstore.io/skills/expo-native-data-fetching.md and its manifest at https://skillstore.io/api/skills/expo-native-data-fetching/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「native-data-fetching」を使用しています。 ユーザープロフィール画面向けのfetchパターンを作成してください。
期待される結果:
- ローディング、エラー、成功状態を含む推奨リクエストフロー。
- データを解析する前のレスポンスステータスチェック。
- プレースホルダーAPI URLを置き換えるための注記。
「native-data-fetching」を使用しています。 開発環境と本番環境向けのAPI設定を計画してください。
期待される結果:
公開クライアントURL、開発環境と本番環境で分離した値、シークレットをサーバー側に保持するための警告を含む簡潔な環境計画。
「native-data-fetching」を使用しています。 信頼性の低いモバイルAPI呼び出しをデバッグしてください。
期待される結果:
接続性、HTTPステータス処理、リトライのタイミング、キャッシュの古さ、リクエストキャンセルを網羅するトラブルシューティングチェックリスト。
セキュリティ監査
安全All static findings appear to be false positives caused by Markdown fences, TypeScript template literals, placeholder fetch calls, and Expo environment-variable examples in SKILL.md. The skill is documentation-only and includes advice to avoid putting secrets in EXPO_PUBLIC variables. No semantic evidence of shell execution, secret collection, data exfiltration, or prompt injection was found.
リスク要因
⚙️ 外部コマンド (58)
🌐 ネットワークアクセス (17)
🔑 環境変数 (4)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/expo-native-data-fetching/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/expo-native-data-fetching?utm_source=security_passport_badge)HTMLバッジ
<a href="https://skillstore.io/skills/expo-native-data-fetching?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/expo-native-data-fetching/security.svg" alt="Skillstore security assessment" loading="lazy"></a>埋め込みカード
<iframe src="https://skillstore.io/embed/skills/expo-native-data-fetching.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学術引用 (APA · BibTeX · CFF)
APA形式の引用
expo. (2026). native-data-fetching security audit report (audit version 5) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/expo-native-data-fetching/audits/5BibTeX形式の引用
@techreport{expo-expo-native-data-fetching-2026,
author = {expo},
title = {native-data-fetching security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/expo-native-data-fetching/audits/5},
note = {Author version 1.0.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "native-data-fetching security audit report (audit version 5)"
version: "1.0.0"
type: report
authors:
- name: "expo"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/expo-native-data-fetching/audits/5"
identifiers:
- type: other
value: "skillstore:expo-native-data-fetching:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore スコア
このスコアの理由 証拠の信頼度: 高作成できるもの
信頼性の高いAPI呼び出しを出荷する
Expo開発者は、新しいモバイル機能のためにfetchラッパー、ステータスチェック、型付きエラーを追加できます。
キャッシュ戦略を選択する
テクニカルリードは、共有サーバー状態に対してシンプルなfetchパターンとReact Queryを比較できます。
オフライン認証を準備する
プロダクトエンジニアは、SecureStore、NetInfo、リトライ動作を組み合わせて、認証済みでオフライン対応の画面を構築できます。
これらのプロンプトを試す
エラーハンドリングとローディング状態を含めて、Expoアプリでユーザープロフィールをfetchする方法を示してください。
Expo RouterアプリでReact Queryをセットアップし、キャッシュ設定付きのユーザー詳細クエリを追加するのを手伝ってください。
トークンをSecureStoreに保存し、期限切れトークンを更新するExpoアプリ向けの認証済みfetchラッパーを設計してください。
このExpoネットワーキングレイヤーについて、キャッシュ、リトライ、オフライン動作、リクエストキャンセル、環境設定を監査してください。優先順位付きの変更を提案してください。
ベストプラクティス
- APIベースURLは、クライアントバンドルに含めても安全な場合に限り、Expoの公開環境変数に保持してください。
- 認証トークンにはSecureStoreを使用し、機密値にAsyncStorageを使わないでください。
- 成功データを解析する前に、失敗したHTTPステータスコードを処理してください。
回避
- 書き込み権限のあるAPIキーやデータベースパスワードをEXPO_PUBLIC変数に配置しないでください。
- 非2xxのHTTPレスポンスでfetchがthrowすると仮定しないでください。
- バックオフ、キャンセル、明確なユーザーフィードバックなしにリトライを追加しないでください。