AcademyRulesDevelopment

Solid.js Basic Rules for Cursor

Frontend teams starting a Solid.js project who want Cursor to follow the framework's own patterns.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/solidjs-basic-cursorrules-prompt-file.mdc -o .cursor/rules/solidjs-basic.mdc
solidjs-basic.mdc

Loading the file...

What it does

A Cursor rules file with a basic setup for Solid.js projects. It points the AI to functional components, signals, effects, memos and resources, the Show and For components, stores for complex state, and a simple folder layout.

Use cases

  1. 01Create a component with createSignal for local state
  2. 02Fetch data with createResource
  3. 03Render lists and conditions with For and Show

Questions about
Solid.js Basic Rules for Cursor.

What is Solid.js Basic Rules for Cursor used for?

Frontend teams starting a Solid.js project who want Cursor to follow the framework's own patterns. A Cursor rules file with a basic setup for Solid.js projects. It points the AI to functional components, signals, effects, memos and resources, the Show and For components, stores for complex state, and a simple folder layout.

How do I install Solid.js Basic Rules for Cursor?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/solidjs-basic-cursorrules-prompt-file.mdc -o .cursor/rules/solidjs-basic.mdc

Is Solid.js Basic Rules for Cursor open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is Solid.js Basic Rules for Cursor safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.