Ripgrep

Expert guide for using ripgrep (rg) — the blazing-fast, Rust-powered search tool that respects .gitignore and searches recursively by default. Use this skill whenever the user wants to search code, find files by content, grep for patterns, search logs, locate TODOs/FIXMEs, count occurrences, replace text in output, or do any kind of text search across a codebase or directory. Invoke this skill even when the user just says "find all X in my project", "search for Y", "where is Z used", "grep for", or "look for" — ripgrep is almost always the right tool. Also trigger for tasks involving file filtering by type, multiline patterns, JSON output from search, or when the user needs search results piped into other tools.

kpatryk b8d2435 2 files · 19.0 KB Updated

File contents

kpatryk/skills/tree/main/skills/ripgrep commit b8d2435b8f

Frequently asked questions

npx skillmds@latest add kpatryk/ripgrep