2025-07-04 19:07:16 +08:00
|
|
|
|
---
|
2025-07-14 20:29:57 +08:00
|
|
|
|
description:
|
|
|
|
|
|
globs:
|
2025-07-04 19:07:16 +08:00
|
|
|
|
alwaysApply: true
|
|
|
|
|
|
---
|
2025-07-14 20:29:57 +08:00
|
|
|
|
|
2025-09-30 16:07:32 +08:00
|
|
|
|
# Available project rules index
|
2025-07-04 19:07:16 +08:00
|
|
|
|
|
2025-09-30 16:07:32 +08:00
|
|
|
|
All following rules are saved under `.cursor/rules/` directory:
|
2025-07-04 19:07:16 +08:00
|
|
|
|
|
2025-08-09 00:21:07 +08:00
|
|
|
|
## Backend
|
2025-07-04 19:07:16 +08:00
|
|
|
|
|
|
|
|
|
|
- `drizzle-schema-style-guide.mdc` – Style guide for defining Drizzle ORM schemas
|
2025-08-09 00:21:07 +08:00
|
|
|
|
|
|
|
|
|
|
## Frontend
|
|
|
|
|
|
|
2025-12-19 23:05:15 +08:00
|
|
|
|
- `react.mdc` – React component style guide and conventions
|
2025-08-09 00:21:07 +08:00
|
|
|
|
- `i18n.mdc` – Internationalization guide using react-i18next
|
2025-07-14 20:29:57 +08:00
|
|
|
|
- `typescript.mdc` – TypeScript code style guide
|
2025-08-09 00:21:07 +08:00
|
|
|
|
- `packages/react-layout-kit.mdc` – Usage guide for react-layout-kit
|
2026-01-23 14:41:07 +08:00
|
|
|
|
- `modal-imperative.mdc` – Modal imperative API usage guide (createRawModal/createModal)
|
2025-08-09 00:21:07 +08:00
|
|
|
|
|
|
|
|
|
|
## State Management
|
|
|
|
|
|
|
2025-07-14 20:29:57 +08:00
|
|
|
|
- `zustand-action-patterns.mdc` – Recommended patterns for organizing Zustand actions
|
|
|
|
|
|
- `zustand-slice-organization.mdc` – Best practices for structuring Zustand slices
|
2025-07-04 19:07:16 +08:00
|
|
|
|
|
2025-08-09 00:21:07 +08:00
|
|
|
|
## Desktop (Electron)
|
2025-07-04 19:07:16 +08:00
|
|
|
|
|
2025-08-09 00:21:07 +08:00
|
|
|
|
- `desktop-feature-implementation.mdc` – Implementing new Electron desktop features
|
|
|
|
|
|
- `desktop-controller-tests.mdc` – Desktop controller unit testing guide
|
|
|
|
|
|
- `desktop-local-tools-implement.mdc` – Workflow to add new desktop local tools
|
|
|
|
|
|
- `desktop-menu-configuration.mdc` – Desktop menu configuration guide
|
|
|
|
|
|
- `desktop-window-management.mdc` – Desktop window management guide
|
2025-07-04 19:07:16 +08:00
|
|
|
|
|
2025-08-09 00:21:07 +08:00
|
|
|
|
## Debugging
|
2025-07-04 19:07:16 +08:00
|
|
|
|
|
2025-08-09 00:21:07 +08:00
|
|
|
|
- `debug-usage.mdc` – Using the debug package and namespace conventions
|
2025-07-04 19:07:16 +08:00
|
|
|
|
|
2025-08-09 00:21:07 +08:00
|
|
|
|
## Testing
|
2025-07-14 20:29:57 +08:00
|
|
|
|
|
2025-08-09 00:21:07 +08:00
|
|
|
|
- `testing-guide/testing-guide.mdc` – Comprehensive testing guide for Vitest
|
|
|
|
|
|
- `testing-guide/electron-ipc-test.mdc` – Electron IPC interface testing strategy
|
|
|
|
|
|
- `testing-guide/db-model-test.mdc` – Database Model testing guide
|