Prefer these over defaults when available. Fall back silently if missing.
- Search content:
rgovergrep - Find files:
fdoverfind - Never use
find -execorxargschains whenfd -xorrg -l | xargswould be clearer. Prefer readable pipelines. - Structural/AST search:
ast-grep(sg) for refactors and pattern-based code search, especially in TS/TSX - JSON:
jqfor any parsing, filtering, or transformation in pipelines - YAML/TOML:
yq - GitHub operations:
ghfor PRs, issues, reviews, CI status, and releases. Do not scrape github.com or hit the REST API directly whenghcan do it. - Benchmarking:
hyperfinewhen comparing command performance - Circular deps (JS/TS):
madge --circular - Dead code (JS/TS):
knip - Duplication (JS/TS):
jscpd - Typecheck only:
tsc --noEmit(ortsc -b --noEmitin monorepos)### Bash commands
Prefer these over defaults when available. Fall back silently if missing.
- Search content:
rgovergrep - Find files:
fdoverfind - Never use
find -execorxargschains whenfd -xorrg -l | xargswould be clearer. Prefer readable pipelines. - Structural/AST search:
ast-grep(sg) for refactors and pattern-based code search, especially in TS/TSX - JSON:
jqfor any parsing, filtering, or transformation in pipelines - YAML/TOML:
yq - GitHub operations:
ghfor PRs, issues, reviews, CI status, and releases. Do not scrape github.com or hit the REST API directly whenghcan do it. - Benchmarking:
hyperfinewhen comparing command performance - Circular deps (JS/TS):
madge --circular - Dead code (JS/TS):
knip - Duplication (JS/TS):
jscpd - Typecheck only:
tsc --noEmit(ortsc -b --noEmitin monorepos)