Rule
0 installs · 0 said it worked
Cursor rules for building Qwik apps with TypeScript and Vite
A Cursor .cursorrules file that guides the assistant to write Qwik.js code with TypeScript and Vite, covering lazy-loaded functions, reactive state hooks, folder layout, and performance conventions.
People use this for
- qwik typescript cursor rules
- qwik vite project setup
- write qwik components with signals and tasks
- cursor rules for qwik lazy loading and state hooks
- Name
cursor-rules-for-building-qwik-apps-with-typescript-and-vite- 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/cursor-rules-for-building-qwik-apps-with-typescript-and-vite-bfz9/export/mdc" -o .cursor/rules/cursor-rules-for-building-qwik-apps-with-typescript-and-vite.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
Manual install
Save cursor-rules-for-building-qwik-apps-with-typescript-and-vite.mdc as .cursor/rules/cursor-rules-for-building-qwik-apps-with-typescript-and-vite.mdc for this project or ~/.cursor/rules/cursor-rules-for-building-qwik-apps-with-typescript-and-vite.mdc for every project, then start a new session.
Rule
description: "Cursor rules for Qwik development with TypeScript and Vite integration." globs: */ alwaysApply: false
// Qwik.js Basic Setup (with TypeScript and Vite) .cursorrules
// Prefer functional components
const preferFunctionalComponents = true;
// Qwik.js best practices
const qwikBestPractices = [ "Use $ suffix for lazy-loaded functions", "Utilize useSignal() for reactive state", "Implement useStore() for complex state objects", "Use useResource$() for data fetching", "Implement useTask$() for side effects", "Utilize useVisibleTask$() for browser-only code", "Leverage TypeScript for type safety", "Use Vite's fast HMR for development", ];
// Folder structure
const folderStructure = src/ components/ routes/ global.css root.tsx entry.ssr.tsx public/ vite.config.ts tsconfig.json;
// Additional instructions
const additionalInstructions = `
- Use TypeScript for all .ts and .tsx files
- Implement proper error boundaries
- Utilize Qwik City for routing when applicable
- Use Qwik's built-in optimization features
- Implement lazy-loading for improved performance
- Follow Qwik's naming conventions and best practices
- Use server$ for server-side code execution
- Leverage Vite plugins for optimized builds `;
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
- 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
- Autonomous coding agent that builds a verified app-builder harness
Master system prompt that directs an autonomous senior Python engineer to build a spec-driven, evidence-traced app-builder harness milestone by milestone without asking questions.
Coding · @mahfuzahmedog
- 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
- 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
- Cursor rules for writing TypeScript Vite Vue and Tailwind code
A Cursor rules file that guides the assistant to write concise, functional TypeScript for Vite, Vue, Pinia, and Tailwind/DaisyUI projects with performance and naming conventions.
Coding · @patrickjs
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.