Code Search Skill
Use this skill when you need to search for code symbols, navigate a codebase, or understand code structure.
Available Tools
- •
search-symbols: Search for functions, classes, and variables by name - •
read-file: Read file contents
Best Practices
- •
Start with symbol search: Before reading entire files, search for specific symbols to find exactly what you need.
- •
Use partial matches: The search supports partial name matching, so search for
userto findUserService,get_user, etc. - •
Filter by type: When available, filter by symbol type (function, class, variable).
- •
Navigate from symbols: Once you find a symbol, use its file path to read the surrounding context.
Example Workflow
- •User asks: "Find the login function"
- •Use
search-symbolswith query "login" - •Review results:
login_userinauth/service.py:42 - •Use
read-fileto readauth/service.pyaround line 42