{"filename":"solidjs-basic-cursorrules-prompt-file.mdc","content":"---\ndescription: \"Cursor rules for Solid.js development with basic setup.\"\nglobs: **/*\nalwaysApply: false\n---\n// Solid.js Basic Setup .cursorrules\n\n// Prefer functional components\n\nconst preferFunctionalComponents = true;\n\n// Solid.js best practices\n\nconst solidjsBestPractices = [\n  \"Use createSignal() for reactive state\",\n  \"Utilize createEffect() for side effects\",\n  \"Implement createMemo() for derived values\",\n  \"Use createResource() for data fetching\",\n  \"Implement Show and For components for conditional and list rendering\",\n  \"Utilize createStore() for complex state management\",\n];\n\n// Folder structure\n\nconst folderStructure = `\nsrc/\n  components/\n  pages/\n  utils/\n  App.jsx\n  index.jsx\npublic/\n  index.html\n`;\n\n// Additional instructions\n\nconst additionalInstructions = `\n1. Use JSX for component templates\n2. Implement proper error boundaries\n3. Utilize Solid Router for routing when applicable\n4. Use Solid's built-in optimization features\n5. Implement lazy-loading for improved performance\n6. Follow Solid.js naming conventions and best practices\n7. Use server-side rendering (SSR) when needed\n`;\n"}