Data fetching with TanStack Query, loading states, and error handling

No licenceAuto-check passedAI & LLM Engineering

Install Data Fetching

skills CLI
$ npx skills add emanueleielo/deepagents-open-lovable --skill data-fetching -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install emanueleielo/deepagents-open-lovable data-fetching --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/emanueleielo/deepagents-open-lovable.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/skills/data-fetching .claude/skills/data-fetching && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
data-fetching
GitHub stars
111
Token cost
~1.8k tokens
SKILL.md length
78 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

Data fetching with TanStack Query, loading states, and error handling

  • Works in 7 steps: Basic Query with TanStack Query → Mutations with Optimistic Updates → Infinite Scroll / Pagination → …
  • AI & LLM Engineering work in your project
  • SKILL.md covers 1. Basic Query with TanStack…, 2. Mutations with Optimistic…, 3. Infinite Scroll / Pagination and 4. Dependent Queries, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Data Fetching is an agent skill from emanueleielo/deepagents-open-lovable. Data fetching with TanStack Query, loading states, and error handling

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering. It works with TanStack. The repository describes itself as: An open-source AI-powered frontend development platform built on DeepAgents and LangGraph. Generate complete React applications through natural language conversations.

When your agent uses it

  • AI & LLM Engineering work in your project

Example prompts

  • “/data-fetching”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Basic Query with TanStack Query
  2. Mutations with Optimistic Updates
  3. Infinite Scroll / Pagination
  4. Dependent Queries
  5. Prefetching
  6. Loading & Error States
  7. Server Components (Next.js 14+)

What it can do on your machine

Read from SKILL.md and the folder at commit 3935b36. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Data Fetching loads about 1.8k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 78 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 78 words (~1,847 tokens).

name
data-fetching

Read the full SKILL.md on GitHub

Files

Just SKILL.md in agent/skills/data-fetching of emanueleielo/deepagents-open-lovable.

Open the folder on GitHubat commit 3935b36

Compare with similar skills

Data Fetching next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Data Fetching compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Data Fetching this skillemanueleielo/deepagents-open-lovable111—~1.8kAutomated safety check: PassNone
AI SkillsTanStack/ai3.2k—~1.5kAutomated safety check: PassMIT
AI CoreTanStack/ai3.2k—~1.8kAutomated safety check: PassMIT
Tanstack AI Memory HonchoTanStack/ai3.2k—~457Automated safety check: PassMIT
Tanstack AI Memory Mem0TanStack/ai3.2k—~419Automated safety check: PassMIT
Tanstack AIsecondsky/claude-skills227—~3.6kAutomated safety check: NotesMIT

Similar skills

  • AI Skills

    TanStack/ai

    Portable Agent Skills (SKILL.md) for TanStack AI with @tanstack/ai-skills.

    3.2k GitHub stars~1.5k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • AI Core

    TanStack/ai

    Entry point for TanStack AI skills. An agent skill from TanStack/ai.

    3.2k GitHub stars~1.8k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • A skill your agent uses when wiring honcho() from @tanstack/ai-memory/honcho — a hosted memory adapter where recall is a dialectic answer over the user's representation (no discrete fragments).

    3.2k GitHub stars~457 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • A skill your agent uses when wiring mem0() from @tanstack/ai-memory/mem0 — a hosted memory adapter that talks to a mem0 server over plain HTTP (no SDK peer).

    3.2k GitHub stars~419 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Tanstack AI

    secondsky/claude-skills

    TanStack AI (alpha) provider-agnostic type-safe chat with streaming for OpenAI, Anthropic, Gemini, Ollama.

    227 GitHub stars~3.6k tokensUpdated 11 days ago
    AI & LLM EngineeringAuto-check: notes
  • Build Agent

    chmonitor/chmonitor

    Build an AI-agent application end-to-end — from an empty repo or an existing codebase.

    299 GitHub stars~1.8k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed

More from emanueleielo/deepagents-open-lovable

  • Component Patterns

    emanueleielo/deepagents-open-lovable

    React component patterns for reusable, maintainable code. An agent skill from emanueleielo/deepagents-open-lovable.

    111 GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed
  • Form Patterns

    emanueleielo/deepagents-open-lovable

    Form handling with React Hook Form and Zod validation. An agent skill from emanueleielo/deepagents-open-lovable.

    111 GitHub stars~2k tokensUpdated 4 days ago
    Auto-check passed
  • State Management

    emanueleielo/deepagents-open-lovable

    State management patterns - Zustand, Jotai, Context. An agent skill from emanueleielo/deepagents-open-lovable.

    111 GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Data Fetching

What does Data Fetching do?

Data fetching with TanStack Query, loading states, and error handling. Data Fetching is an agent skill from emanueleielo/deepagents-open-lovable.

When should I use Data Fetching?

Data Fetching fits situations like: AI & LLM Engineering work in your project.

How do I install Data Fetching in Claude Code?

Run `npx skills add emanueleielo/deepagents-open-lovable --skill data-fetching -a claude-code`. Or copy the skill folder (agent/skills/data-fetching in emanueleielo/deepagents-open-lovable) into .claude/skills/data-fetching in your project. Claude Code loads it when a task matches its description.

How do I install Data Fetching in Codex?

Run `npx skills add emanueleielo/deepagents-open-lovable --skill data-fetching -a codex`. Or copy the skill folder (agent/skills/data-fetching in emanueleielo/deepagents-open-lovable) into .agents/skills/data-fetching in your project. Codex loads it when a task matches its description.

Can I use Data Fetching in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add emanueleielo/deepagents-open-lovable --skill data-fetching -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/data-fetching, .gemini/skills/data-fetching, .github/skills/data-fetching and .opencode/skills/data-fetching in your project.

What does Data Fetching need to run?

SKILL.md names no scripts, command-line tools or credentials: Data Fetching is instructions for the agent only.

Does Data Fetching access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Data Fetching safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Data Fetching use?

No licence was found for Data Fetching or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Data Fetching use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Data Fetching?

Skills that share tags, products or a category with Data Fetching: AI Skills (TanStack/ai, 3.2k stars), AI Core (TanStack/ai, 3.2k stars), Tanstack AI Memory Honcho (TanStack/ai, 3.2k stars) and Tanstack AI Memory Mem0 (TanStack/ai, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Data Fetching?

emanueleielo (a GitHub user) maintains it in emanueleielo/deepagents-open-lovable, which has 111 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 5, 2026.

Source: emanueleielo/deepagents-open-lovable on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.