بنقرة واحدة
ripgrep
Search for content in the codebase using the `rg` (ripgrep) tool.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Search for content in the codebase using the `rg` (ripgrep) tool.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Spin up throwaway service/database stacks for tests, migrations, and ingest without touching the user's real dev stack or live data. Use when a task runs `docker compose`, database migrations, ingest jobs, or any destructive command that could hit a shared or live service. Triggers on "run the migrations", "ingest the data", "spin up the stack", "run the integration tests", or any plan step that starts containers or writes to a database.
Run the `pi` coding agent as a headless subagent (--mode json) inside a visible tmux pane so the user can watch it stream while the agent still captures and verifies its structured output. Use when asked to "run pi in a pane", "let me watch pi work", "run pi where I can see it", or to delegate to pi with a live view. Requires running inside tmux. For a fully headless run with no pane, use use-pi-subagent instead.
Invoke the `pi` coding agent as a non-interactive subagent from the shell — delegate a self-contained coding or analysis task to a fresh pi process and read its structured JSON output. Use when asked to "run pi", "use pi as a subagent", "delegate this to pi", or to orchestrate pi coder/reviewer agents (see prompt.md).
Keep the computer awake for a set duration or while a command runs, using `caffeinate` on macOS. Use when the user wants to prevent sleep during a long-running task, download, or presentation.
Writes a self-contained handoff document that briefs another agent or person to execute a scoped task without the originating context. Triggers when the user asks to "write a handoff", "hand this off", "brief another agent", "create a delegation doc", or prep work for a sub-agent / worktree agent to pick up. Emits a markdown file following a fixed template.
| name | ripgrep |
| description | Search for content in the codebase using the `rg` (ripgrep) tool. |
Use ripgrep (rg) to search for text or patterns within files. It is highly optimized and respects .gitignore by default.
Find a literal string:
rg -F "search_term"
Find a pattern using regular expressions:
rg "pattern_regex"
Search in a specific file or directory (defaults to current directory):
rg "query" path/to/file
By File Type:
Use --type (-t) to limit search to specific types (e.g., rust, python, json, html).
rg "search_term" -t rust
By Glob Pattern:
Use -g to include/exclude files based on patterns:
# Only search in .js and .ts files
rg "query" -g "*.{js,ts}"
# Exclude a specific directory manually
rg "query" --glob "!node_modules/*"
Only show matches:
Use -o to only output the matching part of the line.
rg -o "pattern"
Replace text in output:
Use --replace (or -r) to replace the matched portion with a different string.
rg "old_term" --replace "new_term"
# or
rg "old_term" -r "new_term"
By default, rg hides binary files and hidden files. To include them:
-u (or --hidden)-a (or --text)-uu or -uuu# Search including hidden files
rg --hidden "query"
# Force search in everything even if it's a binary file
rg -a "query"