rust-code-navigator

Navigate Rust codebases using LSP operations like goToDefinition and findReferences.

1|Updated Nov 27, 2025
One-click install
npx skills add https://github.com/flexisuite-org/FlexiSuite_Kernel --skill rust-code-navigator-flexisuite-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-code-navigator
Source: https://github.com/flexisuite-org/FlexiSuite_Kernel/tree/main/.agents/skills/rust-code-navigator
Command: npx skills add https://github.com/flexisuite-org/FlexiSuite_Kernel --skill rust-code-navigator-flexisuite-org

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers efficiently navigate and understand large Rust codebases by leveraging the Language Server Protocol (LSP), reducing the time spent searching for definitions and references.

Core Features & Use Cases

  • Go to Definition: Quickly find where a function, struct, or variable is defined.
  • Find References: Discover all places where a specific symbol is used.
  • Hover Information: Get type information and documentation for symbols directly.
  • Use Case: When encountering an unfamiliar function call, use this Skill to jump directly to its definition to understand its implementation.

Quick Start

Use the rust-code-navigator skill to find the definition of the 'parse_config' function.

Frequently Asked Questions about rust-code-navigator

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

FAQPage Schema
How do I find where a function is defined and get its references in a Rust codebase?

To find definitions and references in a Rust codebase, use Language Server Protocol operations like goToDefinition and findReferences to locate symbol implementations and usages. This requires an active LSP server such as rust-analyzer to provide the necessary symbol information.

How do I get type information for Rust symbols during code exploration?

To get type information for Rust symbols during code exploration, use the LSP hover operation. It retrieves type details and documentation directly for the targeted symbol, requiring an active rust-analyzer LSP server to supply the context.

Can I use LSP to prepare for refactoring large Rust projects?

Yes, you can use LSP to prepare for refactoring large Rust projects by finding all references of a specific symbol before modifying it. This ensures you understand the full impact of changes across the codebase using the findReferences operation.

Do I need rust-analyzer to navigate Rust code using LSP?

Yes, you need an active LSP server like rust-analyzer to navigate Rust code using LSP. The server provides the symbol information and code context required to execute operations such as goToDefinition and hover.

What is the best way to understand unfamiliar Rust code structure?

The best way to understand unfamiliar Rust code structure is to use LSP navigation operations to jump directly to function definitions and retrieve hover information. This reduces time spent manually searching for implementations across the project.

Why does LSP code navigation return no symbol information for my Rust files?

LSP code navigation returns no symbol information for Rust files when there is no active LSP server running. An active rust-analyzer server must be connected to supply the code context and symbol data required for operations like goToDefinition.