Rule

0 installs · 0 said it worked

PatrickJS@patrickjs·
CodingRule· for Cursor

Solid.js basic setup rules for Cursor coding assistant

Cursor rules file that guides the assistant toward Solid.js best practices: functional components, signals, effects, memos, resources, stores, a standard folder layout, and lazy loading, error boundaries, and SSR where needed.

People use this for

  • solidjs cursor rules
  • solidjs coding assistant rules
  • cursorrules for solid js
  • solid js project setup prompt
  • write solidjs signals and stores
Name
solidjs-basic-setup-rules-for-cursor-coding-assistant
Works with
Cursor
License
CC0(as observed at the source)
Version
v1 · updated Nov 29, 2026
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Use this rule

$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/solidjs-basic-setup-rules-for-cursor-coding-assistant-dtt7/export/mdc" -o .cursor/rules/solidjs-basic-setup-rules-for-cursor-coding-assistant.mdc

Then open a new session; Cursor picks it up from .cursor/rules/.

Download solidjs-basic-setup-rules-for-cursor-coding-assistant.mdc
Manual install

Save solidjs-basic-setup-rules-for-cursor-coding-assistant.mdc as .cursor/rules/solidjs-basic-setup-rules-for-cursor-coding-assistant.mdc for this project or ~/.cursor/rules/solidjs-basic-setup-rules-for-cursor-coding-assistant.mdc for every project, then start a new session.

Rule


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 `;

No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.

Tried it

Reports from people who added this rule to their editor. They roll up into the badges above.

No one has filed a report yet. Try the prompt and be the first.

License: CC0v1 · published Nov 29, 2026

Comments

No comments yet. If you tried this prompt, say how it went.