// Qwik.js Basic Setup (with TypeScript and Vite) .cursorrules
Add this skill
npx mdskills install PatrickJS/cursor-qwik-basicProvides Qwik.js best practices and project structure but lacks actionable instructions
// 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 = `
Install via CLI
npx mdskills install PatrickJS/cursor-qwik-basicQwik Basic is a free, open-source AI agent skill. // Qwik.js Basic Setup (with TypeScript and Vite) .cursorrules
Install Qwik Basic with a single command:
npx mdskills install PatrickJS/cursor-qwik-basicThis downloads the skill files into your project and your AI agent picks them up automatically.
Qwik Basic works with Cursor. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.