serena-code-navigator
Installation
SKILL.md
Serena Code Navigator
Intelligent code navigation workflow that combines Serena tools for efficient codebase exploration.
When to Apply
- Exploring unfamiliar codebases
- Finding specific functions or classes
- Understanding code dependencies
- Navigating large projects
Workflow
Phase 1: Discovery
- Use
serena_find_fileto locate relevant files - Use
serena_list_dirto understand project structure
Phase 2: Analysis
- Use
serena_get_symbols_overviewto get file structure - Use
serena_find_symbolto locate specific symbols
Phase 3: Dependency Analysis
- Use
serena_find_referencing_symbolsto understand usage - Trace call chains and dependencies
Best Practices
- Start broad with
list_dir, then narrow down withfind_file - Use
get_symbols_overviewbefore reading full files - Always check references before modifying code
- Combine multiple Serena tools for comprehensive analysis
Example Usage
// Navigate to a component and understand its usage
const workflow = [
'serena_find_file("Button.tsx")',
'serena_get_symbols_overview("Button.tsx")',
'serena_find_symbol("Button")',
'serena_find_referencing_symbols("Button")',
];
Context
- Learned from repeated code exploration patterns
- Optimized for TypeScript/React codebases
- Confidence: High (based on 5+ observed usages)