// React + GraphQL (Apollo Client) .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-react-graphql-apollo-clientCovers React+Apollo basics but lacks actionable trigger conditions and concrete examples
// React + GraphQL (Apollo Client) .cursorrules
// Prefer functional components with hooks
const preferFunctionalComponents = true;
// GraphQL and Apollo Client best practices
const graphqlBestPractices = [ "Use Apollo Client for state management and data fetching", "Implement query components for data fetching", "Utilize mutations for data modifications", "Use fragments for reusable query parts", "Implement proper error handling and loading states", ];
// Folder structure
const folderStructure = src/ components/ graphql/ queries/ mutations/ fragments/ hooks/ pages/ utils/;
// Additional instructions
const additionalInstructions = `
Install via CLI
npx mdskills install PatrickJS/cursor-react-graphql-apollo-clientReact GraphQL Apollo Client is a free, open-source AI agent skill. // React + GraphQL (Apollo Client) .cursorrules
Install React GraphQL Apollo Client with a single command:
npx mdskills install PatrickJS/cursor-react-graphql-apollo-clientThis downloads the skill files into your project and your AI agent picks them up automatically.
React GraphQL Apollo Client works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.