Rule
0 installs · 0 said it worked
Solid.js and TypeScript coding rules for Cursor
Cursor rules file that steers the assistant toward functional Solid.js components, typed reactive state with createSignal, strict TypeScript, a standard folder layout, and typed context and event handlers.
People use this for
- solidjs typescript cursor rules
- solidjs component typing help
- cursor rules for solid typed signals
- write typed solidjs components with strict typescript
- set up solidjs project folder structure
- Name
solidjs-and-typescript-coding-rules-for-cursor- Works with
- Cursor
- License
- CC0(as observed at the source)
- Version
- v1 · updated Nov 29, 2026
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-and-typescript-coding-rules-for-cursor-ya7c/export/mdc" -o .cursor/rules/solidjs-and-typescript-coding-rules-for-cursor.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
Manual install
Save solidjs-and-typescript-coding-rules-for-cursor.mdc as .cursor/rules/solidjs-and-typescript-coding-rules-for-cursor.mdc for this project or ~/.cursor/rules/solidjs-and-typescript-coding-rules-for-cursor.mdc for every project, then start a new session.
Rule
description: "Cursor rules for Solid.js development with TypeScript integration." globs: */ alwaysApply: false
// Solid.js with TypeScript .cursorrules
// Prefer functional components
const preferFunctionalComponents = true;
// Solid.js and TypeScript best practices
const solidjsTypeScriptBestPractices = [ "Use createSignal() for typed reactive state", "Implement proper type definitions for components", "Utilize TypeScript's strict mode", "Use type inference where possible", "Implement interfaces for complex prop types", "Utilize utility types provided by Solid.js", ];
// Folder structure
const folderStructure = src/ components/ pages/ utils/ types/ App.tsx index.tsx public/ index.html tsconfig.json;
// Additional instructions
const additionalInstructions = `
- Use .tsx extension for files with JSX
- Implement strict TypeScript checks
- Utilize Solid Router with proper typing
- Use type-safe context with createContext
- Implement proper typing for event handlers
- Follow TypeScript best practices and naming conventions
- Use type assertions sparingly and only when necessary `;
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.
Related rules
- Agent role that turns TypeScript typing work into a tracked TODO plan
A senior TypeScript type-expert role prompt covering type design, generics, narrowing, and migration, with a required output of TODO_ts-type-expert.md containing checkable task items.
Coding · @wkaandemir
- Go backend coding spec for vertical domain modules using shanjunmei/dig
A system-prompt skill that makes the model act as a Go architect and generate or repair code with vertical domain modules, viper config loading, minimal naming, and a unified RegisterRoute handler method for shanjunmei/dig compile-time DI.
Coding · @shanjunmei
- Convex backend coding rules for Cursor AI assistant
A Cursor rules file (.mdc) that guides the AI to write Convex backend code with current best practices: new function syntax, validators, function registration, references, pagination, schema, and query and action rules.
Coding · @patrickjs
- Cursor rules enforcing clean, readable, maintainable code practices
A Cursor .mdc rule file that guides the assistant toward clean code: named constants, meaningful names, sparing comments, single-purpose functions, DRY, language style standards, extracted conditionals, continuous refactoring, and version control.
Coding · @patrickjs
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.