Skip to content

lovstudio/install-tanstack-query-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lovstudio-install-tanstack-query

Version

Initialize or refactor a frontend project to use TanStack Query as the shared server-state layer.

Independent source repository, also distributed through lovstudio dev-skills — by lovstudio.ai

Install

npx skills add lovstudio/install-tanstack-query-skill

The aggregate bundle remains available:

npx skills add lovstudio/dev-skills

Or through Claude Code plugin marketplace:

/plugin marketplace add lovstudio/dev-skills
/plugin install dev-tools@lovstudio-dev

Usage

Ask your coding agent:

Use lovstudio-install-tanstack-query to initialize TanStack Query in this app.

or:

Use lovstudio-install-tanstack-query to refactor request state into shared query keys and hooks.

What It Does

  • Detects existing request patterns and package manager.
  • Installs @tanstack/react-query only when needed.
  • Adds or reuses a top-level QueryClientProvider.
  • Creates shared query keys and query/mutation wrappers.
  • Refactors network-backed reads and writes into TanStack Query.
  • Leaves imperative side effects outside Query when that is the safer model.

License

MIT

About

Install and configure TanStack Query for React projects

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors