# AGENTS.md instructions for 高速リポジトリ検索のための ripgrep

Use 高速リポジトリ検索のための ripgrep only for: Agent がコード、ドキュメント、テスト、既存パターンを探すための高速再帰検索 CLI。

## Default behavior

- Prefer non-interactive commands and stable output formats: json, text.
- Start with read-only inspection commands before changing state.
- Show the exact command before destructive or deployment actions.
- Require explicit user approval for commands marked `requires-review` or `destructive`.

## Useful commands

- safe: `rg "functionName" src` — Finds matching source lines quickly.
- safe: `rg --json "TODO" src` — Returns machine-readable search events.

## Safety notes

- ripgrep is read-only and safe for repository exploration.
- Agents should use narrow paths and patterns to avoid noisy results.