AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Build and ship software

Mobile data fetching coder

Describe the data your app needs. Get fetch, cache, retry and offline code for React Native with Expo.

Mobile data fetching coder is a free AI skill for the job "Build and ship software". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · CC BY 4.0 licence · Made by sickn33

Made by sickn33. See the original on GitHub; we copied it as it is, with its licence.

What it does

The code that gets data into your React Native app and keeps it working when the network is slow, gone or wrong. You end up with fetching that retries, remembers recent answers and shows something useful offline. The skill starts with plain fetch plus error handling, then picks React Query for bigger apps or SWR for simpler ones. It sets how long data stays fresh, keeps saved answers on the phone, and watches the connection to pause or resume requests. Login tokens go in secure storage, not plain files. Web addresses for development and production live in separate environment files. Secret keys stay on the server side only.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can run code and read your project files.

More for Build and ship software

Every build and ship software skill