actionbook avatar

Rust Code Navigator

This wraps rust-analyzer's LSP capabilities into Claude, so you can ask "where is Config defined?" or "who uses this function?" in plain English instead of clicking around your editor. It handles go to definition, find references, hover info, and workspace symbol search. The multilingual trigger support is a nice touch if you're working with international teams. The output formatting looks clean with code snippets and reference tables. Honestly most useful when you're exploring an unfamiliar codebase or doing pre-refactoring impact analysis. Just make sure rust-analyzer is actually running or you'll get nothing back.

skills.sh installs
3.4K
GitHub stars
1.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add actionbook/rust-skills --skill rust-code-navigator --agent claude-code

Installs into .claude/skills of the current project.

Files

Rust Code Navigator

Navigate large Rust codebases efficiently using Language Server Protocol.

Usage

/rust-code-navigator <symbol> [in file.rs:line]

Examples:

  • /rust-code-navigator parse_config - Find definition of parse_config
  • /rust-code-navigator MyStruct in src/lib.rs:42 - Navigate from specific location

LSP Operations

1. Go to Definition

Find where a symbol is defined.

LSP(
  operation: "goToDefinition",
  filePath: "src/main.rs",
  line: 25,
  character: 10
)

Use when:

  • User asks "where is X defined?"
  • User wants to understand a type/function
  • Ctrl+click equivalent

2. Find References

Find all usages of a symbol.

LSP(
  operation: "findReferences",
  filePath: "src/lib.rs",
  line: 15,
  character: 8
)

Use when:

  • User asks "who uses X?"
  • Before refactoring/renaming
  • Understanding impact of changes

3. Hover Information

Get type and documentation for a symbol.

LSP(
  operation: "hover",
  filePath: "src/main.rs",
  line: 30,
  character: 15
)

Use when:

  • User asks "what type is X?"
  • User wants documentation
  • Quick type checking

Workflow

Sponsors

Details

Repository
github.com/actionbook/rust-skills
Category
Rust
First seen
May 16, 2026

More from actionbook/rust-skills

All 38

Recommended

More Rust
1actionbook avatarrust-trait-exploreractionbook/rust-skillsExplore Rust trait implementations using LSP. Triggers on: /trait-impl, find implementations, who implements, trait 实现, 谁实现了, 实现了哪些trait3.4Kskills.sh installs
2actionbook avatarrust-call-graphactionbook/rust-skillsVisualize Rust function call graphs using LSP. Triggers on: /call-graph, call hierarchy, who calls, what calls, 调用图, 调用关系, 谁调用了, 调用了谁3.4Kskills.sh installs
3actionbook avatarrust-symbol-analyzeractionbook/rust-skillsAnalyze Rust project structure using LSP symbols. Triggers on: /symbols, project structure, list structs, list traits, list functions, 符号分析, 项目结构, 列出所有, 有哪些stru3.4Kskills.sh installs
4actionbook avatarrust-dailyactionbook/rust-skillsCRITICAL: Use for Rust news and daily/weekly/monthly reports. Triggers on: rust news, rust daily, rust weekly, TWIR, rust blog, Rust 日报, Rust 周报, Rust 新闻, Rust 3.2Kskills.sh installs
5marimo-team avatarwasm-compatibilitymarimo-team/skillsCheck if a marimo notebook is compatible with WebAssembly (WASM) and report any issues.3.1Kskills.sh installs
6hubspot avatarteam-ownershiphubspot/agent-cli-skillsAssign and reassign CRM record ownership, audit who-owns-what across object types, and handle rep transitions. Built on `bulk-operations`.1.8Kskills.sh installs