AcademyRulesDevelopment

Solid.js with TypeScript Rules for Cursor

Frontend teams writing typed Solid.js code who want Cursor to follow strict TypeScript habits.

  • 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-typescript-cursorrules-prompt-file.mdc -o .cursor/rules/solidjs-typescript.mdc
solidjs-typescript.mdc

Loading the file...

What it does

A Cursor rules file for Solid.js projects written in TypeScript. It asks the AI for typed signals, interfaces for props, strict mode, type inference where it fits, typed context and event handlers, and careful use of type assertions.

Use cases

  1. 01Define typed props with an interface
  2. 02Create a type-safe context with createContext
  3. 03Type an event handler in a .tsx component

Questions about
Solid.js with TypeScript Rules for Cursor.

What is Solid.js with TypeScript Rules for Cursor used for?

Frontend teams writing typed Solid.js code who want Cursor to follow strict TypeScript habits. A Cursor rules file for Solid.js projects written in TypeScript. It asks the AI for typed signals, interfaces for props, strict mode, type inference where it fits, typed context and event handlers, and careful use of type assertions.

How do I install Solid.js with TypeScript Rules for Cursor?

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

Is Solid.js with TypeScript Rules for Cursor open source?

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

Is Solid.js with TypeScript 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.