// Solid.js with TypeScript .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-solidjs-typescriptSolid.js/TypeScript conventions in JavaScript syntax with basic best practices but no agent instructions
1// Solid.js with TypeScript .cursorrules23// Prefer functional components45const preferFunctionalComponents = true;67// Solid.js and TypeScript best practices89const solidjsTypeScriptBestPractices = [10 "Use createSignal<T>() for typed reactive state",11 "Implement proper type definitions for components",12 "Utilize TypeScript's strict mode",13 "Use type inference where possible",14 "Implement interfaces for complex prop types",15 "Utilize utility types provided by Solid.js",16];1718// Folder structure1920const folderStructure = `21src/22 components/23 pages/24 utils/25 types/26 App.tsx27 index.tsx28public/29 index.html30tsconfig.json31`;3233// Additional instructions3435const additionalInstructions = `361. Use .tsx extension for files with JSX372. Implement strict TypeScript checks383. Utilize Solid Router with proper typing394. Use type-safe context with createContext405. Implement proper typing for event handlers416. Follow TypeScript best practices and naming conventions427. Use type assertions sparingly and only when necessary43`;4445
Full transparency — inspect the skill content before installing.