---
description:
globs:
alwaysApply: true
---

# 📋 Available Rules Index

The following rules are available via `read_file` from the `.cursor/rules/` directory:

## General

- `project-introduce.mdc` – Project description and tech stack
- `cursor-rules.mdc` – Cursor rules authoring and optimization guide
- `code-review.mdc` – How to code review

## Backend

- `backend-architecture.mdc` – Backend layer architecture and design guidelines
- `define-database-model.mdc` – Database model definition guidelines
- `drizzle-schema-style-guide.mdc` – Style guide for defining Drizzle ORM schemas

## Frontend

- `react-component.mdc` – React component style guide and conventions
- `i18n.mdc` – Internationalization guide using react-i18next
- `typescript.mdc` – TypeScript code style guide
- `packages/react-layout-kit.mdc` – Usage guide for react-layout-kit

## State Management

- `zustand-action-patterns.mdc` – Recommended patterns for organizing Zustand actions
- `zustand-slice-organization.mdc` – Best practices for structuring Zustand slices

## Desktop (Electron)

- `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

## Debugging

- `debug.mdc` – General debugging guide
- `debug-usage.mdc` – Using the debug package and namespace conventions

## Testing

- `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
