docs(search): правило ast-index vs vex (когда что) + ссылки в CLAUDE.md

- .claude/rules/search-tools.md — матрица: ast-index (символы/usages/callers/outline),
  vex (semantic/similar/pattern/duplicates/show)
- usages/callers по JS — только ast-index (vex пропускает)
- CLAUDE.md и ast-index.md ссылаются на новое правило

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Maxim Dolgolyov
2026-06-01 21:02:12 +03:00
parent fe122b7681
commit f2b0db4d9a
3 changed files with 54 additions and 1 deletions
+3
View File
@@ -1,5 +1,8 @@
# ast-index Rules
> Семантический поиск / AST-паттерны / дубликаты — это **vex**, см. `search-tools.md`.
> Это правило — про ast-index (дефолт для символов, usages, callers, outline).
## Mandatory Search Rules
1. **ALWAYS use ast-index FIRST** for any code search task