serena-code-intelligence

Navigate code symbols and locate definitions and references via an LSP-backed server.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/sachmata/serena-skills --skill serena-code-intelligence
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: serena-code-intelligence
Source: https://github.com/sachmata/serena-skills/tree/main/skills/serena-code-intelligence
Command: npx skills add https://github.com/sachmata/serena-skills --skill serena-code-intelligence

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers quickly understand and navigate complex codebases by providing tools to inspect symbols, find definitions, and locate references, reducing the time spent on manual code exploration.

Core Features & Use Cases

  • Symbol Overview: Get a structured overview of all symbols (functions, classes, variables) within a file.
  • Symbol Navigation: Find specific symbols by name path, even across the entire codebase.
  • Reference Finding: Discover all locations where a particular symbol is used.
  • Use Case: When onboarding to a new project, use this Skill to get a high-level overview of the main server file, then drill down to find the definition of a specific function and all places it's called.

Quick Start

Use the serena-code-intelligence skill to find all references to the 'connect' symbol within the 'src/server.ts' file.

Frequently Asked Questions about serena-code-intelligence

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find all references to a specific function in a codebase?

To find all references to a specific function, you can use this Skill to identify every location where a given symbol is used. It leverages an LSP-backed server to accurately locate symbol usage across your project files, reducing manual code exploration.

What is the best way to get an overview of symbols in a file?

Getting an overview of symbols in a file involves generating a structured list of all functions, classes, and variables. This Skill provides a symbol overview tool that extracts these elements, helping you quickly comprehend file structures without reading every line.

Can I locate a symbol definition by name path across a project?

Yes, you can locate a symbol definition by name path across an entire project. The Skill provides navigation tools that find specific symbols by their name path, making it easier to track down definitions during complex codebase exploration.

Does this code intelligence tool require a specific language server setup?

This code intelligence tool is backed by an LSP server to provide symbol navigation and reference finding. While it requires an LSP environment to operate, it does not list any external dependencies, integrating directly into your code analysis workflow.

How do I explore a new codebase for onboarding?

To explore a new codebase for onboarding, you can use this Skill to get a high-level overview of main server files, then drill down to find specific function definitions and all their references. This reduces the time spent on manual code exploration.