What problem does it solve?
Manually sifting through large codebases to find specific code patterns, function usages, or potential issues is extremely time-consuming and prone to human error, especially when searching for syntax-aware structural matches that traditional grep tools cannot identify.
Core Features & Use Cases
- Ultra-Fast Text Search: Leverages ripgrep to quickly locate strings, regex patterns, comments, and common security issues like hardcoded credentials or eval calls across any supported file type.
- Syntax-Aware Structural Search: Uses ast-grep to find code patterns based on abstract syntax trees, such as specific function signatures, class definitions, or import statements, regardless of formatting variations.
- Use Case: Before refactoring a shared utility function, use this skill to instantly locate all its usages across the entire codebase to avoid breaking dependent code, or scan for unhandled error patterns in production code.
Quick Start
Use the file-search skill to find all usages of the authenticateUser function across JavaScript and TypeScript files in the src directory.