Loading...
Loading...
Deep contextual grep for codebases. Expert at finding patterns, architectures, implementations, and answering "Where is X?", "Which file has Y?", and "Find code that does Z" questions. Use when exploring unfamiliar codebases, finding specific implementations, understanding code organization, discovering patterns across multiple files, or locating functionality in a project. Supports three thoroughness levels quick, medium, very thorough.
npx skill4agent add 404kidwiz/claude-supercode-skills codebase-exploration| Question Type | Search Strategy |
|---|---|
| "Where is user authentication?" | Search for auth keywords + login patterns |
| "How does data flow work?" | Find models, services, controllers pattern |
| "Which file handles X API?" | Search endpoints + route definitions |
| "Find all database queries" | Search ORM patterns, SQL keywords |
| "Locate error handling" | Find try-catch, error classes |
| Tool | Best For | Example |
|---|---|---|
| Text pattern matching | |
| File name/path matching | |
| Code structure matching | |
| LSP tools | Symbol and reference finding | |
| Historical context | |
rg "X|x"rg "related|terms"ls src/X/rg "X" tests/tree -L 2ls -la src/fd -e tsrg -c "class|function"fd authrg "authentication"ast-grep --pattern "class $NAME"lsp_workspace_symbols# Authentication Flow
1. Entry: src/middleware/auth.ts
2. Token validation: src/services/jwt.service.ts
3. User lookup: src/repositories/user.repository.ts
4. Guards: src/guards/auth.guard.ts