Document regex code navigation rule

This commit is contained in:
2026-06-04 22:14:37 +02:00
parent abe3a86cc5
commit 24197c5f7e
3 changed files with 14 additions and 8 deletions

View File

@@ -63,11 +63,13 @@ cmake --build --preset windows-msvc-default --config Debug --target clean
## Code Navigation
Codex has a repo-specific skill named `panopainter-code-navigation`. Use it when
Codex has a repo-specific skill named `panopainter-code-navigation`. Agents must
use it when necessary: follow this path before broad text search when a task is
about C++ symbol identity, symbol families, declarations/definitions, override
groups, or platform/backend boundaries. Use it when
following C++ symbols, finding symbol families with regular expressions, tracing
service/interface wiring, or checking platform/backend boundary usage.
For C++ refactors, use the skill before broad `rg` searches when the question
depends on symbol identity rather than plain text. Reach for `--name-regex`,
Reach for `--name-regex`,
`--detail-regex`, or `--path-regex` when looking for generated-style name
families, override groups, command/service families, signatures, or
platform/backend path slices. Use normal `rg` for docs, build files, comments,