be4d43105e
Node.js/Express backend + vanilla JS frontend. Features: real-time collaborative whiteboard (SSE), multi-page support, LaTeX formulas, shapes/connectors, coordinate systems, number lines, compass, zoom/pan, Catmull-Rom pencil smoothing, ruler/protractor with rotation & resize controls, minimap navigation overlay, auto-measurements, multi-page thumbnails sidebar, PNG export, page templates. Student/teacher workflows: classes, assignments, library, dashboard. Mobile responsive. SQLite (better-sqlite3). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
# BQ-System — правила для Claude
|
|
|
|
## Поиск по коду
|
|
|
|
**ВСЕГДА использовать `ast-index` ПЕРВЫМ** для любого поиска по коду.
|
|
Grep/Read — только если ast-index вернул пустой результат.
|
|
|
|
```bash
|
|
# Найти класс/функцию/символ
|
|
ast-index class "ClassName"
|
|
ast-index symbol "functionName"
|
|
|
|
# Найти использования
|
|
ast-index usages "symbolName"
|
|
|
|
# Поиск по содержимому файла
|
|
ast-index search "keyword" --in-file "filename"
|
|
|
|
# Структура файла
|
|
ast-index outline "path/to/file.js"
|
|
|
|
# Универсальный поиск
|
|
ast-index search "query"
|
|
```
|
|
|
|
Grep использовать только для:
|
|
- Поиска строковых литералов (`"some text"`)
|
|
- Regex-паттернов
|
|
- Если ast-index вернул пустой результат
|
|
|
|
## Стек
|
|
|
|
- Node.js/Express backend, SQLite (better-sqlite3, sync)
|
|
- Frontend: vanilla JS, без бандлера
|
|
- ast-index проиндексирован: `ast-index rebuild` при добавлении новых файлов
|