crit / rules
tomasz-tomczyk/crit/.cursor/rules/frontend-architecture.mdc
crit — frontend architecture
The rules real projects give Cursor's agent, from .cursor/rules.
tomasz-tomczyk/crit/.cursor/rules/frontend-architecture.mdc
crit — frontend architecture
tomasz-tomczyk/crit/.cursor/rules/frontend-css.mdc
crit — frontend css
tomasz-tomczyk/crit/.cursor/rules/frontend-js.mdc
crit — frontend js
Open-Source-Legal/OpenContracts/.cursor/rules/running-frontend-tests.mdc
How to run frontend component tests
microsoft/data-formulator/.cursor/rules/frontend-test-conventions.mdc
Frontend TypeScript test conventions (Vitest)
microsoft/data-formulator/.cursor/rules/unified-error-protocol.mdc
Unified error handling protocol for backend and frontend
PostHog/posthog/.cursor/rules/react-typescript.mdc
Rules for writing frontend code at PostHog (mostly React + Typescript with Kea)
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
microsoft/data-formulator/.cursor/rules/dev-guides-first.mdc
Require reading dev-guides before development and keeping docs in sync
microsoft/data-formulator/.cursor/rules/i18n-no-hardcoded-strings.mdc
No hardcoded UI strings — use i18n translation keys
microsoft/data-formulator/.cursor/rules/implementation-review-checklist.mdc
Require structural code review after implementation before final response
microsoft/data-formulator/.cursor/rules/language-injection-conventions.mdc
Language injection conventions for LLM Agent prompts
triggerdotdev/trigger.dev/.cursor/rules/writing-tasks.mdc
Guidelines for writing Trigger.dev tasks
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
airweave-ai/airweave/.cursor/rules/airweave-overview.mdc
General overview of Airweave.
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
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
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
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
airweave-ai/airweave/.cursor/rules/frontend-rules.mdc
globs: **/frontend/** alwaysApply: false --- # Airweave Frontend Architecture & Guidelines ## Tech Stack & Core Technologies - **React 18** with TypeScript for type-safe component development - **Vite** for fast development builds and HMR - **TailwindCSS** with
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.