rust-code-navigator

Locate Rust symbol definitions, references, and hover info via LSP.

1.4k|110|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/actionbook/rust-skills --skill rust-code-navigator-actionbook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-code-navigator
Source: https://github.com/actionbook/rust-skills/tree/main/skills/rust-code-navigator
Command: npx skills add https://github.com/actionbook/rust-skills --skill rust-code-navigator-actionbook

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly locate definitions, references, and symbol details in large Rust projects using the Language Server Protocol (LSP).

Core Features & Use Cases

  • Definition navigation: Jump to where a symbol is defined across modules and crates.
  • References discovery: Find all usages of a symbol to understand impact during refactoring.
  • Hover & docs: Retrieve type information and inline documentation for symbols.
  • Use case: You are refactoring a complex Rust workspace and need fast, accurate symbol resolution.

Quick Start

Use the rust-code-navigator to go to a symbol's definition or find all references, e.g. navigate to Config in src/config.rs.

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 all references to a symbol in a large Rust workspace?

Finding all references in a Rust project uses LSP to trace symbol usages across modules and crates. This allows you to understand the full impact of a symbol during complex refactoring.

How do I jump to a symbol definition across different Rust crates?

Jumping to a definition across crates relies on LSP-backed goToDefinition operations. The navigator resolves symbols rapidly to pinpoint their exact location within large multi-crate Rust architectures.

Can I retrieve hover information and inline docs for Rust symbols?

Yes, you can retrieve hover information and inline documentation for Rust symbols using LSP hover operations. This provides immediate access to type details and docs directly within your codebase.

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

Yes, navigating Rust code with LSP requires an LSP-capable Rust toolchain such as rust-analyzer. This server provides the precise symbol resolution needed for goToDefinition and findReferences operations.

What is the best way to trace symbol usage during a Rust refactoring?

The best way to trace symbol usage during Rust refactoring is using LSP references discovery. It locates all usages of a symbol across the project, ensuring safe and comprehensive code modifications.

Does LSP navigation work for multi-crate Rust architectures?

Yes, LSP navigation works effectively for multi-crate Rust architectures. The navigator resolves definitions and references across different crates, making it suitable for large codebases and complex workspaces.