ripgrep-search-discipline

Installation
SKILL.md

ripgrep-search-discipline — search code at ripgrep speed, not grep speed

Core insight: rg is gitignore-aware, parallel, and Unicode-correct by default. Reaching for grep -r or find | xargs grep throws all three away. Default to rg.

⚠️ Critical Constraints

  • Default to rg, never grep -r or find … -exec grep. Why: rg walks the tree in parallel, skips .git/, node_modules/, and everything in .gitignore automatically, 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"
    
Installs
1
Repository
boshu2/agentops
GitHub Stars
399
First Seen
Jun 7, 2026
ripgrep-search-discipline — boshu2/agentops