Files
lobe-chat/.cursor/rules/rules-index.mdc
T

45 lines
1.5 KiB
Plaintext
Raw Normal View History

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
# Available project rules index
2025-07-04 19:07:16 +08:00
All following rules are saved under `.cursor/rules/` directory:
2025-07-04 19:07:16 +08:00
## Backend
2025-07-04 19:07:16 +08:00
- `drizzle-schema-style-guide.mdc` Style guide for defining Drizzle ORM schemas
## Frontend
2025-12-19 23:05:15 +08:00
- `react.mdc` React component style guide and conventions
- `i18n.mdc` Internationalization guide using react-i18next
2025-07-14 20:29:57 +08:00
- `typescript.mdc` TypeScript code style guide
- `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)
## 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
## Desktop (Electron)
2025-07-04 19:07:16 +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
## Debugging
2025-07-04 19:07:16 +08:00
- `debug-usage.mdc` Using the debug package and namespace conventions
2025-07-04 19:07:16 +08:00
## Testing
2025-07-14 20:29:57 +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