// Solid.js Basic Setup .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-solidjs-basicProvides basic Solid.js conventions but lacks actionable instructions and trigger conditions
1// Solid.js Basic Setup .cursorrules23// Prefer functional components45const preferFunctionalComponents = true;67// Solid.js best practices89const solidjsBestPractices = [10 "Use createSignal() for reactive state",11 "Utilize createEffect() for side effects",12 "Implement createMemo() for derived values",13 "Use createResource() for data fetching",14 "Implement Show and For components for conditional and list rendering",15 "Utilize createStore() for complex state management",16];1718// Folder structure1920const folderStructure = `21src/22 components/23 pages/24 utils/25 App.jsx26 index.jsx27public/28 index.html29`;3031// Additional instructions3233const additionalInstructions = `341. Use JSX for component templates352. Implement proper error boundaries363. Utilize Solid Router for routing when applicable374. Use Solid's built-in optimization features385. Implement lazy-loading for improved performance396. Follow Solid.js naming conventions and best practices407. Use server-side rendering (SSR) when needed41`;4243
Full transparency — inspect the skill content before installing.