ripgrep
✓ファイル、コードベース、書籍、ドキュメント内のテキストを検索するときに使用します。パターンでファイルを検索する場合、大きすぎて完全に読み取ることができない大きなファイルを検索する場合、多くのファイルから特定のコンテンツを抽出する場合、または grep/find が遅すぎる場合に使用します。 「検索」、「出現箇所の検索」、「パターンの検索」、「ファイル内の検索」をトリガーします。
SKILL.md
Ripgrep is a line-oriented search tool that recursively searches directories for regex patterns. It's 10-100x faster than grep and respects .gitignore by default. Use it instead of grep, find, or manually reading large files.
Core principle: When you need to find text in files, use ripgrep. Don't read entire files into context when you can search them.
| Basic search | rg "pattern" [path] | | Case insensitive | rg -i "pattern" | | Smart case (auto) | rg -S "pattern" | | Whole word only | rg -w "word" | | Fixed string (no regex) | rg -F "literal.string" | | Show context lines | rg -C 3 "pattern" (3 before & after) | | Show line numbers | rg -n "pattern" (default in tty) |
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/ratacat/claude-skills --skill ripgrep- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
ripgrep とは?
ファイル、コードベース、書籍、ドキュメント内のテキストを検索するときに使用します。パターンでファイルを検索する場合、大きすぎて完全に読み取ることができない大きなファイルを検索する場合、多くのファイルから特定のコンテンツを抽出する場合、または grep/find が遅すぎる場合に使用します。 「検索」、「出現箇所の検索」、「パターンの検索」、「ファイル内の検索」をトリガーします。 ソース: ratacat/claude-skills。
ripgrep のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/ratacat/claude-skills --skill ripgrep インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/ratacat/claude-skills
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-01