agentleFS
Sign inSign up

Cursor rules examples

The rules real projects give Cursor's agent, from .cursor/rules.

Best matches · from page 3Worked for most · soon
publisher-skillCursor rule

publisher / rules

publisher-skill/publisher/.cursor/rules/publisher.mdc

Publish HTML frontend projects to the publishing platform (publisher). Use when the user wants to publish/ship a project, get an access URL, list their published projects, or build an Android APK. No Python required — call the HTTP APIs directly.

373mo agoDiscuss
krutikJainCursor rule

android-agent-skills / rules

krutikJain/android-agent-skills/.cursor/rules/android-mobile-frontend-design.mdc

Design Android mobile frontend experiences from scratch, improve existing screens, and fix UI issues with brand-forward, localization-safe, overflow-safe guidance across Compose and Views.

146mo agoDiscuss
0xdfinityCursor rule

fhevm-agent-skill / rules

0xdfinity/fhevm-agent-skill/.cursor/rules/fhevm-agent-skill.mdc

Zama FHEVM skills. Use for confidential Solidity contracts, encrypted frontend flows, tests, deployments, ERC-7984, input proofs, ACL, and decryption.

05mo agoDiscuss
JustineDevsCursor rule

Collection / rules

JustineDevs/Collection/.cursor/rules/production.mdc

The standard way for production teams to connect frontend and backend branches and ensure integration before merging to main is to use temporary integration or "test" branches for local verification, automated testing, and code review.

18mo agoDeletes or force-pushesDiscuss
arez-xdCursor rule

ux-ui-design-taste / rules

arez-xd/ux-ui-design-taste/.cursor/rules/design-taste.mdc

Apply senior designer judgment to any frontend UI work. Activates when building, reviewing, or iterating on components, pages, dashboards, or any rendered interface. This skill is the result of hands-on research into what actually works and what doesn't when giving AI agents design judgment.

12mo agoDiscuss
edhoferdianCursor rule

EEF / rules

edhoferdian/EEF/.cursor/rules/backend-engineering-edho-ferdian.mdc

Authoring server-side code between the API contract and the datastore — layering and ports/adapters boundaries, error taxonomy and resilience (typed errors, Result style, retry with backoff, circuit breakers), background jobs and queues, structured logging emission, and adding a new integration that matches the repo's existing connector pattern. The backend counterpart to frontend-engineering-edho-ferdian. Framework guides: NestJS and Ruby on Rails (service/form/query objects, Hotwire, Rails 8 Solid stack). Trigger phrases: \"struktur service layer\", \"error handling di backend\", \"retry/circuit breaker\", \"background job / queue\", \"tambah integrasi baru\", \"bikin app Rails\", \"Rails service object\".

197d agoDiscuss
n-shadlooCursor rule

frontend-production-engineer / rules

n-shadloo/frontend-production-engineer/.cursor/rules/frontend-production-engineer.mdc

Production-grade frontend engineering for Next.js and TypeScript against a Django/DRF backend — plan first, verify the installed versions, never invent an API, keep the diff minimal, run the checks, and hold the work to a stated definition of done. Covers routing and rendering, the server/client boundary, the React component tree, the typed backend contract, and the non-functional guarantees (accessibility, security, performance, testing) that gate completion. All twenty-four domains are integrated; the router in SKILL.md is the authoritative list of what is loadable. Canonical instructions live in SKILL.md and references/.

27d agoDiscuss
dirnbauerCursor rule

webconsulting-skills / rules

dirnbauer/webconsulting-skills/.cursor/rules/frontend-design.mdc

Use the frontend-design Agent Skill when relevant; read the full skill directory before acting.

332mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/dataframe-serialization.mdc

DataFrame Serialization All DataFrame-to-records conversion for API responses, streaming events, or frontend-visible data MUST use the centralized helpers in `data_formulator.datalake.parquet_utils`: | Source type | Helper | |---|---| | `pd.DataFrame

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/dev-guides-first.mdc

Require reading dev-guides before development and keeping docs in sync

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/i18n-no-hardcoded-strings.mdc

No hardcoded UI strings — use i18n translation keys

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/implementation-review-checklist.mdc

Require structural code review after implementation before final response

17k5mo agoDiscuss
MicrosoftCursor rule

data-formulator / rules

microsoft/data-formulator/.cursor/rules/language-injection-conventions.mdc

Language injection conventions for LLM Agent prompts

17k5mo agoDiscuss
triggerdotdevCursor rule

trigger.dev / rules

triggerdotdev/trigger.dev/.cursor/rules/writing-tasks.mdc

Guidelines for writing Trigger.dev tasks

16k50d agoReads credentialsDiscuss
refly-aiCursor rule

refly / rules

refly-ai/refly/.cursor/rules/02-project-structure.mdc

directories: ## Apps Directory - [apps/api](mdc:apps/api) - Backend API built with NestJS - [apps/web](mdc:apps/web) - Frontend web application built with React - [apps/extension](mdc:apps/extension) - Browser extension for web clipping ## Packages Directory

7.5k8mo agoDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/airweave-overview.mdc

General overview of Airweave.

6.6k6mo agoDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/api-layer.mdc

Layer Rules ## Overview FastAPI-based HTTP interface providing RESTful endpoints for SDK access and frontend communication, with unified Auth0/API key authentication. ## Architecture ### Structure ``` api/ ├── v1/ │ ├── api.py # Main router aggregation │ └── endpoints

6.6k6mo agoDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/backend-rules.mdc

dict - **Timing**: Use `time.monotonic()` for duration measurements, not `time.time()` - **Session Replay Integration**: - **Header Flow**: Frontend sends PostHog session ID via `X-Airweave-Session-ID` header - **Header Extraction**: `deps._extract_headers_from_request()` extracts session

6.6k6mo agoReads credentialsDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/connect-widget.mdc

test ``` Use Vitest with Testing Library for component tests. ## Key Differences from Main Frontend | Aspect | Connect Widget | Main Frontend | |--------|---------------|---------------| | React version | 19 | 18 | | UI Components | Base UI | ShadCN UI | | Router

6.6k6mo agoReads credentialsDiscuss
airweave-aiCursor rule

airweave / rules

airweave-ai/airweave/.cursor/rules/feature-flags.mdc

enabled_features` from the `feature_flags` relationship using Pydantic validators (handles async context properly). ## Frontend Usage ```typescript import { useOrganizationStore } from '@/lib/stores/organizations'; import { FeatureFlags } from '@/lib/constants/feature-flags'; const hasFeature = useOrganizationStore((state) => state.hasFeature

6.6k6mo agoDiscuss
CLAUDE.md vs AGENTS.md

About cursor rules

What are cursor rules?

Instruction files for Cursor's agent, kept in .cursor/rules/ as .mdc files.

How are they different from AGENTS.md?

A rule can apply only to files matching a pattern, or only when the agent asks for it. AGENTS.md always applies.

How do I use one?

Copy the .mdc file into your project's .cursor/rules/ directory and adjust its globs.

Which ones worked?

Open a rule to see its discussion. Reports from people and their agents are coming.