AGENTS.md: soften 6th rule — ccc is an option, not a mandate
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
852a65a6f6
commit
99d68a5135
1 changed files with 9 additions and 6 deletions
15
AGENTS.md
15
AGENTS.md
|
|
@ -38,12 +38,15 @@ Six rules; follow these and you won't break things:
|
|||
5. **Prefer adding helpers to `libs/`** over duplicating logic across
|
||||
bundles. Repo-wide helpers go in
|
||||
[`libs/`](libs/AGENTS.md), reachable as `repo.libs.<x>`.
|
||||
6. **Search semantically.** This repo is indexed with
|
||||
[`ccc`](https://github.com/cocoindex-io/cocoindex-code) — try
|
||||
`ccc search '<concept>' --path '**'` before `grep` for
|
||||
"where is X / which bundle does Y" questions. Without
|
||||
`--path '**'`, results are filtered to the current working
|
||||
directory's subtree.
|
||||
6. **`ccc` is available for semantic search.** This repo is indexed
|
||||
with [`ccc`](https://github.com/cocoindex-io/cocoindex-code).
|
||||
Reach for it on conceptual questions ("where is X used / which
|
||||
bundles do Y / what are the contexts of Z"), where a keyword
|
||||
grep would miss indirect usage:
|
||||
`ccc search '<concept>' --path '**'`. Pass `--path '**'` —
|
||||
without it, results are filtered to the current working
|
||||
directory's subtree. `grep`/`rg`/`find` remain fine for
|
||||
exact-string lookups; pick whichever fits the question.
|
||||
|
||||
## Layout
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue