IDE Rule: Qwik Basic
IDE Rule: Qwik Basic is a verified IDE_RULE blueprint on Promptally in Framework IDE Rules optimized for leading AI models. Cursorrules_Mdc specification for IDE Rule: Qwik Basic. Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | IDE RULE (Framework IDE Rules) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 320 |
| Source file | .cursorrules |
| Access tier | Free public (MIT) |
Pre-Filled Template
--- 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 = ` 1. Use TypeScript for all .ts and .tsx files 2. Implement proper error boundaries 3. Utilize Qwik City for routing when applicable 4. Use Qwik's built-in optimization features 5. Implement lazy-loading for improved performance 6. Follow Qwik's naming conventions and best practices 7. Use server$ for server-side code execution 8. Leverage Vite plugins for optimized builds `;
How to use this ide rule
- Review the pre-filled example and source files above.
- Copy the template or download
.cursorrules, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use IDE Rule: Qwik Basic?
Open the ide rule on Promptally, review the pre-filled example, then copy the template or download .cursorrules and paste it into your model, IDE or workflow tool. IDE Rule: Qwik Basic is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is IDE Rule: Qwik Basic free?
Yes. IDE Rule: Qwik Basic is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does IDE Rule: Qwik Basic need?
IDE Rule: Qwik Basic is a static blueprint with no dynamic variables. Copy it and use it as-is.