// React + Styled Components .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-react-styled-componentsProvides basic styled-components conventions but lacks actionable agent instructions
// React + Styled Components .cursorrules
// Prefer functional components with hooks
const preferFunctionalComponents = true;
// Styled Components best practices
const styledComponentsBestPractices = [ "Use the styled-components/macro for better debugging", "Implement a global theme using ThemeProvider", "Create reusable styled components", "Use props for dynamic styling", "Utilize CSS helper functions like css`` when needed", ];
// Folder structure
const folderStructure = src/ components/ styled/ styles/ theme.js globalStyles.js pages/ utils/;
// Additional instructions
const additionalInstructions = `
Install via CLI
npx mdskills install PatrickJS/cursor-react-styled-componentsReact Styled Components is a free, open-source AI agent skill. // React + Styled Components .cursorrules
Install React Styled Components with a single command:
npx mdskills install PatrickJS/cursor-react-styled-componentsThis downloads the skill files into your project and your AI agent picks them up automatically.
React Styled Components works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.