RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/.cursorrules/Qwertic/cursorrules

.cursorrules (deprecated)

rules/tauri-svelte-typescript-guide-cursorrules-prompt-f/.cursorrules
.cursorrules

Quality

42/100

Scores the file, not the repository.

Length

472 words

0 headings · 0 code blocks

Repository

26

— · pushed 679 days ago

Last changed

3 days ago

First indexed 3 days ago.
Qwertic/cursorrules/rules/tauri-svelte-typescript-guide-cursorrules-prompt-f/.cursorrulesRawGitHub
1You are an expert in developing desktop applications using Tauri with Svelte and TypeScript for the frontend.Key Principles:- Write clear, technical responses with precise examples for Tauri, Svelte, and TypeScript.- Prioritize type safety and utilize TypeScript features effectively.- Follow best practices for Tauri application development, including security considerations.- Implement responsive and efficient UIs using Svelte's reactive paradigm.- Ensure smooth communication between the Tauri frontend and external backend services.Frontend (Tauri + Svelte + TypeScript):- Use Svelte's component-based architecture for modular and reusable UI elements.- Leverage TypeScript for strong typing and improved code quality.- Utilize Tauri's APIs for native desktop integration (file system access, system tray, etc.).- Implement proper state management using Svelte stores or other state management solutions if needed.- Use Svelte's built-in reactivity for efficient UI updates.- Follow Svelte's naming conventions (PascalCase for components, camelCase for variables and functions).Communication with Backend:- Use Axios for HTTP requests from the Tauri frontend to the external backend.- Implement proper error handling for network requests and responses.- Use TypeScript interfaces to define the structure of data sent and received.- Consider implementing a simple API versioning strategy for future-proofing.- Handle potential CORS issues when communicating with the backend.Security:- Follow Tauri's security best practices, especially when dealing with IPC and native API access.- Implement proper input validation and sanitization on the frontend.- Use HTTPS for all communications with external services.- Implement proper authentication and authorization mechanisms if required.- Be cautious when using Tauri's allowlist feature, only exposing necessary APIs.Performance Optimization:- Optimize Svelte components for efficient rendering and updates.- Use lazy loading for components and routes where appropriate.- Implement proper caching strategies for frequently accessed data.- Utilize Tauri's performance features, such as resource optimization and app size reduction.Testing:- Write unit tests for Svelte components using testing libraries like Jest and Testing Library.- Implement end-to-end tests for critical user flows using tools like Playwright or Cypress.- Test Tauri-specific features and APIs thoroughly.- Implement proper mocking for API calls and external dependencies in tests.Build and Deployment:- Use Vite for fast development and optimized production builds of the Svelte app.- Leverage Tauri's built-in updater for seamless application updates.- Implement proper environment configuration for development, staging, and production.- Use Tauri's CLI tools for building and packaging the application for different platforms.Key Conventions:1. Follow a consistent code style across the project (e.g., use Prettier).2. Use meaningful and descriptive names for variables, functions, and components.3. Write clear and concise comments, focusing on why rather than what.4. Maintain a clear project structure separating UI components, state management, and API communication.Dependencies:- Tauri- Svelte- TypeScript- Vite- AxiosRefer to official documentation for Tauri, Svelte, and TypeScript for best practices and up-to-date APIs.Note on Backend Communication:When working with the external Python backend:- Ensure proper error handling for potential backend failures or slow responses.- Consider implementing retry mechanisms for failed requests.- Use appropriate data serialization methods when sending/receiving complex data structures.

What it covers

testlint-format

Format

.cursorrules

Cursor's original single-file format, superseded by .cursor/rules/*.mdc. Tracked here precisely because it is dead: how much of the ecosystem is still shipping a deprecated file is a measurable answer, and a large share of the "best cursor rules" pages on the web still teach this format.

What the corpus says about it

Repository

Owner
Qwertic
Language
—
License
—
Archived
no

All configs in this repo

Also in Qwertic/cursorrules

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
Qwertic/cursorrulesrules/next-type-llm/.cursorrules · 26.cursorrulesunclassifiedsecurity30/1003 days ago
Qwertic/cursorrulesrules/angular-typescript-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedtestdocs34/1003 days ago
Qwertic/cursorrulesrules/ascii-simulation-game-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedno sections34/1003 days ago
Qwertic/cursorrulesrules/astro-typescript-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedgit30/1003 days ago
Qwertic/cursorrulesrules/chrome-extension-dev-js-typescript-cursorrules-pro/.cursorrules · 26.cursorrulesunclassifiedstyle38/1003 days ago
Qwertic/cursorrulesrules/code-guidelines-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedstyletesting-strategydo-notagent-behaviour41/1003 days ago
Qwertic/cursorrulesrules/cursor-ai-react-typescript-shadcn-ui-cursorrules-p/.cursorrules · 26.cursorrulesunclassifiedno sections16/1003 days ago
Qwertic/cursorrulesrules/cursorrules-cursor-ai-nextjs-14-tailwind-seo-setup/.cursorrules · 26.cursorrulesunclassifiedsetupbuildlint-formatstyle+862/1003 days ago
Qwertic/cursorrulesrules/deno-integration-techniques-cursorrules-prompt-fil/.cursorrules · 26.cursorrulesunclassifiedno sections16/1003 days ago
Qwertic/cursorrulesrules/dragonruby-best-practices-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedstyle34/1003 days ago
Qwertic/cursorrulesrules/elixir-engineer-guidelines-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedno sections16/1003 days ago
Qwertic/cursorrulesrules/github-code-quality-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifieddo-notagent-behaviour37/1003 days ago
Qwertic/cursorrulesrules/github-cursorrules-prompt-file-instructions/.cursorrules · 26.cursorrulesunclassifiedno sections26/1003 days ago
Qwertic/cursorrulesrules/go-backend-scalability-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedno sections40/1003 days ago
Qwertic/cursorrulesrules/go-servemux-rest-api-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedno sections30/1003 days ago
Qwertic/cursorrulesrules/graphical-apps-development-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedsetupbuildstylearch+446/1003 days ago
Qwertic/cursorrulesrules/html-tailwind-css-javascript-cursorrules-prompt-fi/.cursorrules · 26.cursorrulesunclassifiedno sections30/1003 days ago
Qwertic/cursorrulesrules/javascript-astro-tailwind-css-cursorrules-prompt-f/.cursorrules · 26.cursorrulesunclassifieddo-not49/1003 days ago
Qwertic/cursorrulesrules/javascript-chrome-apis-cursorrules-prompt-file/.cursorrules · 26.cursorrulesunclassifiedno sections16/1003 days ago
Qwertic/cursorrulesrules/javascript-typescript-code-quality-cursorrules-pro/.cursorrules · 26.cursorrulesunclassifiedteststyletypesperformance+349/1003 days ago
Diff against rules/next-type-llm/.cursorrules Diff against rules/angular-typescript-cursorrules-prompt-file/.cursorrules Diff against rules/ascii-simulation-game-cursorrules-prompt-file/.cursorrules Diff against rules/astro-typescript-cursorrules-prompt-file/.cursorrules Diff against rules/chrome-extension-dev-js-typescript-cursorrules-pro/.cursorrules Diff against rules/code-guidelines-cursorrules-prompt-file/.cursorrules Diff against rules/cursor-ai-react-typescript-shadcn-ui-cursorrules-p/.cursorrules Diff against rules/cursorrules-cursor-ai-nextjs-14-tailwind-seo-setup/.cursorrules Diff against rules/deno-integration-techniques-cursorrules-prompt-fil/.cursorrules Diff against rules/dragonruby-best-practices-cursorrules-prompt-file/.cursorrules Diff against rules/elixir-engineer-guidelines-cursorrules-prompt-file/.cursorrules Diff against rules/github-code-quality-cursorrules-prompt-file/.cursorrules Diff against rules/github-cursorrules-prompt-file-instructions/.cursorrules Diff against rules/go-backend-scalability-cursorrules-prompt-file/.cursorrules Diff against rules/go-servemux-rest-api-cursorrules-prompt-file/.cursorrules Diff against rules/graphical-apps-development-cursorrules-prompt-file/.cursorrules Diff against rules/html-tailwind-css-javascript-cursorrules-prompt-fi/.cursorrules Diff against rules/javascript-astro-tailwind-css-cursorrules-prompt-f/.cursorrules Diff against rules/javascript-chrome-apis-cursorrules-prompt-file/.cursorrules Diff against rules/javascript-typescript-code-quality-cursorrules-pro/.cursorrules
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack