// React + React Query .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-react-queryOutlines React Query conventions but lacks actionable agent instructions and trigger conditions
// React + React Query .cursorrules
// Prefer functional components with hooks
const preferFunctionalComponents = true;
// React Query best practices
const reactQueryBestPractices = [ "Use QueryClient and QueryClientProvider at the root of your app", "Implement custom hooks for queries and mutations", "Utilize query keys for effective caching", "Use prefetching for improved performance", "Implement proper error and loading states", ];
// Folder structure
const folderStructure = src/ components/ hooks/ useQueries/ useMutations/ pages/ utils/ api/;
// Additional instructions
const additionalInstructions = `
Install via CLI
npx mdskills install PatrickJS/cursor-react-queryReact Query is a free, open-source AI agent skill. // React + React Query .cursorrules
Install React Query with a single command:
npx mdskills install PatrickJS/cursor-react-queryThis downloads the skill files into your project and your AI agent picks them up automatically.
React Query works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.