cursor-rules-collection Svelte Themes

Cursor Rules Collection

šŸŽÆ Battle-tested .cursorrules for every stack. Next.js, React, Python, Rust, Go, Svelte, Tailwind & more. Free + Premium.

šŸŽÆ Cursor Rules Collection

The ultimate collection of .cursorrules files for AI-powered development.

Stop writing mediocre prompts. These battle-tested rules make Cursor (and other AI coding assistants) dramatically better at generating code in your stack.

šŸ“¦ What's Inside

Rule Set Description Best For
nextjs-app-router.md Next.js 15 + App Router + Server Components Full-stack React apps
react-typescript.md React 19 + TypeScript strict mode Frontend SPAs
python-fastapi.md FastAPI + Pydantic v2 + async patterns Python APIs
tailwind-ui.md Tailwind CSS 4 + Radix UI + shadcn/ui Component design
rust-systems.md Rust idioms, error handling, lifetimes Systems programming
node-api.md Node.js + Express/Hono + Drizzle ORM Backend APIs
svelte-kit.md SvelteKit 2 + TypeScript + form actions Svelte apps
go-service.md Go 1.22+ idioms, stdlib HTTP, sqlc Go microservices

šŸš€ Quick Start

# Copy a rules file to your project
cp rules/nextjs-app-router.md .cursorrules

# Or use our CLI (coming soon)
npx cursor-rules init --stack nextjs

⭐ Why These Rules?

  • Stack-specific: Not generic "write good code" - actual patterns for your framework
  • 2026-updated: Uses latest APIs (Next.js 15, React 19, Tailwind 4, Pydantic v2)
  • Battle-tested: Refined across hundreds of real projects
  • Composable: Mix and match rules for your specific stack

šŸ’Ž Premium Rules ($9)

The free rules above are great. The premium pack includes:

  • fullstack-saas.md - Complete SaaS stack (auth, billing, DB, email, queues)
  • ai-agent.md - Build AI agents with tool-use, RAG, streaming
  • chrome-extension-mv3.md - Manifest V3 extensions with React/Svelte
  • monorepo-turbo.md - Turborepo + shared packages + CI/CD
  • testing-e2e.md - Playwright + Vitest + MSW comprehensive testing

šŸ‘‰ Get Premium Rules on Gumroad →

šŸ“– How to Use

  1. Copy the .md file for your stack into your project root as .cursorrules
  2. Cursor will automatically pick it up
  3. Works with Cursor, Windsurf, Copilot Chat, and any AI that reads project context

šŸ¤ Contributing

Found a rule that works great? PRs welcome! See CONTRIBUTING.md.

šŸ“œ License

Free rules: MIT. Premium rules: Personal license per purchase.


Made with šŸ”„ by kszongic • ⭐ Star this repo

Top categories

Loading Svelte Themes