code-search
БесплатноБез исполняемых скриптовНе проверенSearch a codebase efficiently with ripgrep regular expressions, file globs, and git history search. Use to locate symbols, usages, and definitions instead of…
от agentscope-ai★ 6 542 звезды на GitHubОб этом скилле
Code Search
The built-in grep tool matches LITERAL text only. For real regular-expression search and
history-aware lookups, drive ripgrep and git through execute.
Ripgrep (regex)
- Symbol definition:
rg -n "fn\s+\w+\(" src/,rg -n --type java "class \w+Service". - Usages of a name:
rg -n "\bmyFunction\b". - Limit by file type:
rg -n --type ts "useEffect\(". - List files only:
rg -l "TODO"; find files by name:rg --files | rg <name>or useglob.
Git history search
- When a string was introduced/removed:
git log -S "<string>" --oneline. - Who/why a line changed:
git blame -L <start>,<end> <file>. - Search tracked files:
git grep -n "<regex>".
Tips
- Prefer a targeted regex over reading whole files when locating symbols or call sites.
- Escape regex metacharacters when you want a literal match, or pass
-Fto ripgrep. - Narrow scope with a path argument to keep output small (tool output is truncated).
Установить code-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл code-search?
Search a codebase efficiently with ripgrep regular expressions, file globs, and git history search. Use to locate symbols, usages, and definitions instead of reading whole files.
Как установить скилл code-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-search запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic