// React + Chakra UI .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-react-chakra-uiBasic Chakra UI guidelines but lacks actionable agent instructions and trigger conditions
1// React + Chakra UI .cursorrules23// Prefer functional components with hooks45const preferFunctionalComponents = true;67// Chakra UI best practices89const chakraUIBestPractices = [10 "Use ChakraProvider at the root of your app",11 "Utilize Chakra UI components for consistent design",12 "Implement custom theme for brand-specific styling",13 "Use responsive styles with the Chakra UI breakpoint system",14 "Leverage Chakra UI hooks for enhanced functionality",15];1617// Folder structure1819const folderStructure = `20src/21 components/22 pages/23 theme/24 index.js25 foundations/26 components/27 hooks/28 utils/29`;3031// Additional instructions3233const additionalInstructions = `341. Use TypeScript for type safety with Chakra UI components352. Implement proper component composition using Chakra UI363. Utilize Chakra UI's built-in accessibility features374. Use the 'as' prop for semantic HTML rendering385. Implement dark mode using Chakra UI's color mode396. Use Chakra UI's layout components for responsive design407. Follow Chakra UI best practices for performance optimization41`;4243
Full transparency — inspect the skill content before installing.