Home / Cursor rules / Solidjs Basic
Solidjs Basic
Cursor rules for Solid.js development with basic setup.
Cursor rules (.mdc)Public domain (CC0)
–unranked
Install
mkdir -p .cursor/rules && curl -sL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/b044f956f021b6e8877f16781bcfc466a6a120e9/rules/solidjs-basic-cursorrules-prompt-file.mdc -o .cursor/rules/solidjs-basic.mdcDownloads the file at commit b044f956f021 into .cursor/rules/.
To remove it later:
rm .cursor/rules/solidjs-basic.mdcContext cost: ≈279 tokens when used.
Rules file
--- description: "Cursor rules for Solid.js development with basic setup." globs: **/* alwaysApply: false --- // Solid.js Basic Setup .cursorrules // Prefer functional components const preferFunctionalComponents = true; // Solid.js best practices const solidjsBestPractices = [ "Use createSignal() for reactive state", "Utilize createEffect() for side effects", "Implement createMemo() for derived values", "Use createResource() for data fetching", "Implement Show and For components for conditional and list rendering", "Utilize createStore() for complex state management", ]; // Folder structure const folderStructure = ` src/ components/ pages/ utils/ App.jsx index.jsx public/ index.html `; // Additional instructions const additionalInstructions = ` 1. Use JSX for component templates 2. Implement proper error boundaries 3. Utilize Solid Router for routing when applicable 4. Use Solid's built-in optimization features 5. Implement lazy-loading for improved performance 6. Follow Solid.js naming conventions and best practices 7. Use server-side rendering (SSR) when needed `;
Security
Scanned Nov 4, 2026 at commit b044f956f021, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan