serena

Locate symbol definitions and references across multi-file codebases using LSP-powered analysis.

1.1k|171|Updated Jul 18, 2025
One-click install
npx skills add https://github.com/massgen/MassGen --skill serena-massgen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: serena
Source: https://github.com/massgen/MassGen/tree/main/massgen/skills/serena
Command: npx skills add https://github.com/massgen/MassGen --skill serena-massgen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables developers to understand and navigate codebases at the symbol level, reducing time spent locating definitions and references and enabling precise edits.

Core Features & Use Cases

  • Symbol Discovery: Locate definitions across multi-file projects using language-aware search.
  • Reference Tracking: Find all usages and call sites to assess impact during refactoring.
  • Precise Editing: Insert or modify code at exact symbol locations with preserved structure.

Quick Start

serena find_symbol --name 'MyClass' --type class

Frequently Asked Questions about serena

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

FAQPage Schema
How do I find all references to a symbol across a multi-file codebase?

Symbol reference tracking across multi-file codebases is performed using LSP-powered analysis to locate definitions, find all usages, and identify call sites for impact assessment during refactoring.

Can I locate class or function definitions across multiple programming languages?

Multi-language symbol discovery is supported through language-aware search, allowing developers to locate definitions across multi-file projects regardless of the specific programming language used.

Do I need an LSP-enabled toolchain to perform IDE-like code navigation?

An LSP-enabled toolchain and Serena integration are required to index and manipulate symbols across languages, providing IDE-like navigation for precise code understanding and edits.

What's the best way to perform precise edits at exact symbol locations?

Precise code editing at exact symbol locations is achieved by using LSP-powered analysis to insert or modify code while preserving the structural integrity of the multi-file codebase.

How does symbol-level code understanding reduce time spent during refactoring?

Symbol-level code understanding reduces refactoring time by enabling developers to quickly locate definitions and track all references, ensuring precise edits without manually scanning files.