fix(project-bootstrap): Search rule — расширенная формулировка по review-субагенту (запрет не-gitignore-aware обхода, rg --no-ignore, ag/ack/find-exec-grep)
v3.0.2 → v3.0.3 (review task:1234 findings).
This commit is contained in:
BIN
dist/project-bootstrap.skill
vendored
BIN
dist/project-bootstrap.skill
vendored
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: project-bootstrap
|
||||
author: ours
|
||||
version: 3.0.2
|
||||
version: 3.0.3
|
||||
description: >
|
||||
Initializes or upgrades a project in the current folder: git, .gitignore, README.md,
|
||||
.wiki/ using Karpathy's method, .tasks/ for task tracking, AGENTS.md (canon) with
|
||||
|
||||
@@ -7,10 +7,13 @@ inbox monitor: raise on start
|
||||
|
||||
# Search rule
|
||||
|
||||
⛔ Never `grep -r`/`find`-walk trees containing node_modules/dist/build/.nuxt
|
||||
(measured: 3701s vs rg 0s, 2026-08-26) — use `rg` (gitignore-aware) instead.
|
||||
`grep --include` filters result file names, NOT directory traversal — it still
|
||||
walks every node_modules entry.
|
||||
⛔ Never walk `node_modules/`, `dist/`, `build/`, `.nuxt/` (or any parent tree
|
||||
containing them) with non-gitignore-aware search tools — measured 3701s vs rg
|
||||
0s (2026-08-26). Use `rg` and NEVER `rg --no-ignore`/`-u` (those bypass the
|
||||
ignore protection and walk node_modules again). Also no `grep -r`/`-R`/
|
||||
`--recursive`, `ag`, `ack`, `find … -exec grep`. `grep --include` filters
|
||||
result file names, NOT directory traversal — it still walks every node_modules
|
||||
entry; `| grep -v node_modules` filters after the walk, doesn't save you.
|
||||
|
||||
talk like a caveman
|
||||
use project wiki
|
||||
|
||||
Reference in New Issue
Block a user