ripgrep-search-discipline
Installation
SKILL.md
ripgrep-search-discipline — search code at ripgrep speed, not grep speed
Core insight:
rgis gitignore-aware, parallel, and Unicode-correct by default. Reaching forgrep -rorfind | xargs grepthrows all three away. Default torg.
⚠️ Critical Constraints
- Default to
rg, nevergrep -rorfind … -exec grep. Why:rgwalks the tree in parallel, skips.git/,node_modules/, and everything in.gitignoreautomatically, and is typically 5–50× faster.# WRONG — slow, scans ignored dirs, no parallelism grep -rn "parseConfig" . find . -name '*.go' -exec grep -l "parseConfig" {} + # CORRECT rg "parseConfig" rg -t go "parseConfig"