Cursor Rules

react query - Claude MCP Skill

React + React Query .cursorrules

SEO Guide: Enhance your AI agent with the react query tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to react + react query .cursorrules... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟229 stars • 3256 forks
📥0 downloads

Documentation

SKILL.md
// 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 = `
1. Use TypeScript for type safety with React Query
2. Implement proper error boundaries for query errors
3. Utilize React Query DevTools for debugging
4. Use stale-while-revalidate strategy for data freshness
5. Implement optimistic updates for mutations
6. Use query invalidation for data refetching
7. Follow React Query naming conventions for consistency
`;

Signals

Avg rating0.0
Reviews0
Favorites0

Information

Repository
PatrickJS/awesome-cursorrules
Author
PatrickJS
Last Sync
3/12/2026
Repo Updated
3/12/2026
Created
1/14/2026

Reviews (0)

No reviews yet. Be the first to review this skill!