agentleFS

Cursor rules examples

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

Best matches · from page 8Worked for most · soon
maybe-financeCursor rule

maybe / rules

maybe-finance/maybe/.cursor/rules/testing.mdc

description: globs: test/** alwaysApply: false --- Use this rule to learn how to write tests for the Maybe codebase. Due to the open-source nature of this project, we have chosen

54k17mo agoReviewMountCreate a free account to mount
abhigyanpatwariCursor rule

GitNexus / rules

abhigyanpatwari/GitNexus/.cursor/rules/100-monorepo.mdc

globs: - "gitnexus/**" - "gitnexus-web/**" --- # GitNexus build/test quick refs - CLI (`gitnexus/`): `npm test`; `npm run test:integration`; `npx tsc --noEmit`. - Web (`gitnexus-web/`): `npm test

Steady31 mentions in 2 weeks

No other project uses it yet

49k2mo agoReviewMountCreate a free account to mount
abhigyanpatwariCursor rule

GitNexus / rules

abhigyanpatwari/GitNexus/.cursor/rules/200-eval.mdc

globs: - "eval/**" --- # GitNexus eval harness (Python) - **Run tests**: `cd eval && uv run pytest tests/` - **Run with coverage**: `cd eval && uv run coverage run -m pytest tests/ && uv run coverage report

Steady31 mentions in 2 weeks

No other project uses it yet

49k2mo agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/agents.mdc

failures, resolve merge conflicts with the base branch, and address PR review comments | | `qa-testing-feature` | QA test features using Playwright | | `reviewing-local-changes` | Code review for quality, security, best

Steady4 mentions in 2 weeks

No other project uses it yet

46k12d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/e2e_playwright.mdc

description: globs: e2e_playwright/**/*.py alwaysApply: false --- # Streamlit E2E Tests We use playwright with pytest to e2e test Streamlit library. E2E tests verify the complete Streamlit system (frontend, backend, communication

Steady4 mentions in 2 weeks

No other project uses it yet

46k12d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/overview.mdc

widgets. - `streamlit/runtime/`: App runtime and execution logic. - `streamlit/web/`: Web server and CLI implementation - `tests`: Python unit tests (pytest). - `frontend/`: All frontend code and assets. - `app/`: Streamlit application UI. - `lib/`: Shared

Steady4 mentions in 2 weeks

No other project uses it yet

46k12d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/python_lib.mdc

development of the Streamlit Python library, not applicable to scripts and e2e tests. ## FIPS Compatibility - Production code must remain compatible with Python/OpenSSL environments running in FIPS mode. - For non-security

Steady4 mentions in 2 weeks

No other project uses it yet

46k12d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/python.mdc

root `pyproject.toml`) - Type Checker: mypy 2.x + ty 0.x (config in root `pyproject.toml`) - Testing: pytest 9.x (config in root `pyproject.toml`) ## Key Principles - PEP 8 Compliance: Adhere

Steady4 mentions in 2 weeks

No other project uses it yet

46k12d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/python_tests.mdc

description: globs: lib/tests/**/*.py alwaysApply: false --- # Python Unit Test Guide We use the unit tests to cover internal behavior that can work without the web / backend counterpart

Steady4 mentions in 2 weeks

No other project uses it yet

46k12d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/scripts.mdc

Scripts should be either Python (preferred) or Bash (`.sh`). - Python scripts do not require tests, but should follow the best practices defined in lib/AGENTS.md. - Keep scripts focused on a single

Steady4 mentions in 2 weeks

No other project uses it yet

46k12d agoReviewMountCreate a free account to mount
streamlitCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/typescript.mdc

Formatter: oxfmt v0.x - Framework: React v18 - Styling: @emotion/styled v11 - Build tool: vite v8 - Testing: vitest v5 & react testing library v16 - Package manager: yarn v4 with workspaces ## Key TypeScript Principles - Prefer

Steady4 mentions in 2 weeks

No other project uses it yet

46k12d agoReviewMountCreate a free account to mount
streamlitReads credentialsCursor rule

streamlit / rules

streamlit/streamlit/.cursor/rules/workflows.mdc

This folder contains all GitHub Actions workflows for the Streamlit repository. Workflows automate CI/CD, testing, releases, and maintenance tasks. > **Maintenance Note:** Keep this documentation up to date. When adding, removing

Steady4 mentions in 2 weeks

No other project uses it yet

46k12d agoReviewMountCreate a free account to mount
appsmithorgCursor rule

appsmith / rules

appsmithorg/appsmith/.cursor/rules/agent-behavior.mdc

Agent workflow orchestration, task management, and core principles for all interactions

No other project uses it yet

41k20d agoReviewMountCreate a free account to mount
appsmithorgCursor rule

appsmith / rules

appsmithorg/appsmith/.cursor/rules/backend.mdc

Java backend — Spring Boot server, Maven modules, key packages, entry points, and build commands

No other project uses it yet

41k20d agoReviewMountCreate a free account to mount
appsmithorgReads credentialsCursor rule

appsmith / build

appsmithorg/appsmith/.cursor/rules/build/docker.mdc

Docker image optimization — minimal base images, layer caching, multi-stage builds, and size reduction

41k20d agoReviewMountCreate a free account to mount
appsmithorgCursor rule

appsmith / commit

appsmithorg/appsmith/.cursor/rules/commit/semantic-pr-validator.mdc

Conventional Commits format for PR titles and structured PR descriptions

41k20d agoReviewMountCreate a free account to mount
appsmithorgCursor rule

appsmith / rules

appsmithorg/appsmith/.cursor/rules/README.md

code quality - `performance.mdc`: Rules for optimizing performance - `pre-commit-checks.mdc`: Quality checks that run before commits - **testing/**: Rules for test coverage and quality - `test-generator.mdc`: Automated test generation based on code changes - **verification

41k20d agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/django-python.mdc

Rules for writing Python services at PostHog (Python servers powered by the Django framework)

1 project uses a version of this

41k2d agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/react-typescript.mdc

Rules for writing frontend code at PostHog (mostly React + Typescript with Kea)

1 project uses a version of this

41k2d agoReviewMountCreate a free account to mount
PostHogCursor rule

posthog / rules

PostHog/posthog/.cursor/rules/rust.mdc

Rules for writing Rust services at PostHog. Focuses on writing async Rust with Tokio and encoding general Rust best practices from the Rust book and docs.

1 project uses a version of this

41k2d agoReviewMountCreate a free account to mount
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.