Bounded Codebase Search

•
1
•

Performs capped, structured directory searches to locate code patterns while maintaining a clean AI context.

The aci-search-dir skill provides a disciplined approach to code exploration by porting the SWE-agent search primitive to the Claude Code environment. By enforcing a result cap and a structured 'file:line:snippet' format, it prevents large repositories from flooding the agent's context window with excessive grep output. This tool is essential for developers needing to locate call sites, track symbol usage, or identify relevant test files before initiating refactors or edits, ensuring the AI remains efficient and focused during complex development tasks.

主な機能

01Capped result count to prevent AI context window overflow
02Automatic snippet truncation and newline collapsing to single lines
031 GitHub stars
04Regex-supported pattern matching across project directories
05Visual match counters with truncation alerts
06Structured 'file:line:snippet' output for easy visual scanning

ユースケース

01Locating function call sites before performing a code edit
02Identifying all files referencing a specific symbol for a codebase-wide refactor
03Discovering relevant unit tests for a module currently under modification