Cursor rule Cursor
Backend Python test conventions (pytest).
🪄 Data Formulator is an interactive AI-powered data analysis system makes it easy to connect, explore and visualize data.
Cursor rule Cursor
Backend Python test conventions (pytest).
Cursor rule Cursor
All DataFrame-to-records conversion for API responses, streaming events, or frontend-visible data MUST use the centralized helpers in dataformulator.datalake.parquetutils.
Cursor rule Cursor
Require reading dev-guides before development and keeping docs in sync.
Cursor rule Cursor
Prevent information exposure through exception messages in HTTP responses.
Cursor rule Cursor
Frontend TypeScript test conventions (Vitest).
Cursor rule Cursor
No hardcoded UI strings — use i18n translation keys.
Cursor rule Cursor
Require structural code review after implementation before final response.
Cursor rule Cursor
Enforce step-by-step implementation with design-doc checks, tests, and i18n after each step.
Cursor rule Cursor
Language injection conventions for LLM Agent prompts.
Cursor rule Cursor
Prevent sensitive data leakage in server-side log messages.
Cursor rule Cursor
Use Yarn only, never npm/pnpm.
Cursor rule Cursor
Chinese-language rules for safely handling user-controlled file paths, including paths used by routes, agents, loaders, workspaces, and knowledge bases. They require using ConfinedDir, a utility that restricts access to an approved directory.
Cursor rule Cursor
A test-driven development workflow requires tests to guide new features and bug fixes. Test-driven development means writing or updating a test for the expected behaviour before completing the code.
Cursor rule Cursor
Unified error handling protocol for backend and frontend.