Agent skill · software engineering · aiskillstore

native-data-fetching

Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, axios, React Query, SWR, error handling, caching strategies, offline support.

Why this skill is useful

Provides specific patterns for API requests, error handling, and caching strategies that the AI wouldn't reliably generate on its own.

What it needs

About 6k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Expo Networking You MUST use this skill for ANY networking work including API requests, data fetching, caching, or network debugging. When to Use Use this router when: Implementing API requests Setting up data fetching (React Query, SWR) Debugging network failures Implementing caching strategies Handling offline scenarios Authentication/token management Configuring API URLs and environment variables Preferences Avoid axios, prefer expo/fetch Common Issues & Solutions 1. Basic Fetch Usage Simple GET request: POST request with body: --- 2. React Query (TanStack Query) Setup: Fetching data: Mutations: --- 3. Error Handling Comprehensive error handling: Retry logic: --- 4. Authentication Token management: Token refresh: --- 5. Offline Support Check network status: Offline-first with React Query: --- 6. Environment Variables Using environment variables for API configuration: Expo supports environment variables with the EXPOPUBLIC prefix. These are inlined at build time and available in your JavaScript code. Environment-specific configuration: Creating an API client with environment config: Important notes: Only variables prefixed with EXPOPUBLIC are exposed to the client bundle Never put secrets (API keys with write access, database passwords) in EXPOPUBLIC variables—they're visible in the built app Environment variables are inlined at build time, not runtime Restart the dev server after changing .env files For server-side secrets in API routes, use variables without the EXPOPUBLIC prefix TypeScript support: --- 7. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/native-data-fetching

View the source on GitHub

Browse the @skills marketplace