RuleBase
Open-source prompt directory

Supercharge your AI Code Editor

Discover, copy, and share curated system prompts for Cursor, Windsurf, Copilot, and more. Ship better code, faster.

JD
AK
MR
SL
NP

Joined by 5,000+ developers

How it works

Three steps to AI mastery

01

Find your stack

Browse curated prompts filtered by framework, language, or use case. Find the perfect rules for your workflow.

02

Copy to your editor

One click to copy any rule into .cursorrules, .windsurfrules, or your Copilot instructions file.

03

Code at lightspeed

Your AI editor now understands your stack deeply. Write better code, faster, with context-aware assistance.

All Rules

8 rules
CS

Universal Cursor Coding Agent

by code_sensei

A general-purpose coding agent prompt that works across all languages. Focuses on clean code principles, proper documentation, testing, and incremental development with clear explanations.

#general#cursor#clean-code#tdd
4.9
8.9k
UA

Tailwind CSS & UI Design System

by ui_artist

Expert rules for building beautiful, accessible UIs with Tailwind CSS v4, Shadcn UI, Radix primitives, and Framer Motion. Covers responsive design, animations, and WCAG compliance.

#tailwind#ui#design#accessibility
4.8
6.2k
TW

TypeScript Strict DX Rules

by type_wizard

Enforces strict TypeScript patterns including branded types, exhaustive pattern matching, proper error handling with Result types, and zero-any policy for maximum type safety.

#typescript#strict#copilot#dx
4.7
5.6k
VD

Next.js 16 & React 19 Ultimate Rules

by vercel_dev

Comprehensive system prompt for building modern web apps with Next.js 16 App Router, React 19 Server Components, and Server Actions. Covers best practices for caching, streaming, and Partial Prerendering.

#nextjs16#react19#cursor#app-router
4.8
4.8k
PM

Strict Python FastAPI Agent

by py_master

A battle-tested prompt for Python FastAPI development enforcing strict typing, Pydantic v2 models, async patterns, and comprehensive error handling with structured logging.

#python#fastapi#pydantic#windsurf
4.6
3.2k
BG

Node.js REST API Architect

by backend_guru

Enterprise-grade Node.js backend rules covering Express/Hono setup, PostgreSQL with Drizzle ORM, authentication, rate limiting, input validation with Zod, and structured error responses.

#nodejs#backend#api#drizzle
4.5
3.9k
MN

React Native Expo Router Pro

by mobile_ninja

Production-grade rules for React Native with Expo Router, covering navigation patterns, platform-specific code, animations with Reanimated, and offline-first architecture.

#react-native#expo#mobile#cursor
4.4
2.2k
DP

Django Full-Stack Power Rules

by django_pro

Complete Django development rules covering models, views, DRF serializers, Celery tasks, and HTMX integration for building modern full-stack applications with Python.

#python#django#drf#htmx
4.3
2.8k

Have a killer system prompt?

Share it with thousands of developers. Help the community write better code with smarter AI assistants.