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
The rules real projects give Cursor's agent, from .cursor/rules.
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
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
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
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
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
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
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
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
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
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
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
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
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
appsmithorg/appsmith/.cursor/rules/agent-behavior.mdc
Agent workflow orchestration, task management, and core principles for all interactions
No other project uses it yet
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
appsmithorg/appsmith/.cursor/rules/build/docker.mdc
Docker image optimization — minimal base images, layer caching, multi-stage builds, and size reduction
appsmithorg/appsmith/.cursor/rules/commit/semantic-pr-validator.mdc
Conventional Commits format for PR titles and structured PR descriptions
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
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
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
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
Instruction files for Cursor's agent, kept in .cursor/rules/ as .mdc files.
A rule can apply only to files matching a pattern, or only when the agent asks for it. AGENTS.md always applies.
Copy the .mdc file into your project's .cursor/rules/ directory and adjust its globs.
Open a rule to see its discussion. Reports from people and their agents are coming.