Agent skill

Rust Code Navigator

by fjrevoredo in fjrevoredo/mini-diarium

Navigate Rust code using LSP. An agent skill from fjrevoredo/mini-diarium.

MITAuto-check: warningsDevelopment

Install Rust Code Navigator

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add fjrevoredo/mini-diarium --skill rust-code-navigator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fjrevoredo/mini-diarium rust-code-navigator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fjrevoredo/mini-diarium.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/rust-code-navigator .claude/skills/rust-code-navigator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rust-code-navigator
GitHub stars
308
Used in
1 other repo
Token cost
~815 tokens
SKILL.md length
136 words
Files
1
Skills in repo
41
Repo updated
First seen
Licence
MIT

At a glance

Navigate Rust code using LSP. An agent skill from fjrevoredo/mini-diarium.

  • Works in 3 steps: Go to Definition → Find References → Hover Information
  • Go to definition
  • SKILL.md covers Usage, LSP Operations, Workflow and Output Format, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Rust Code Navigator is an agent skill from fjrevoredo/mini-diarium. Navigate Rust code using LSP. Triggers on: /navigate, go to definition, find references, where is defined, 跳转定义, 查找引用, 定义在哪, 谁用了这个

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Codebase onboarding. It works with Rust. The repository describes itself as: A local-only journal with serious encryption. Free, open source, and never touches the internet. The licence is MIT.

When your agent uses it

  • Go to definition
  • Find references
  • Where is defined

Example prompts

  • “/rust-code-navigator”

Requirements

  • Pre-approved tools (allowed-tools): LSP, Read, Glob

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Go to Definition
  2. Find References
  3. Hover Information

What it can do on your machine

Read from SKILL.md and the folder at commit 75c1286. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • LSP
    • Read
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rust Code Navigator loads about 815 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 136 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~815

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningContains zero-width charactersSKILL.md:108
    ⟨U+200B⟩```rust
  • WarningContains zero-width charactersSKILL.md:115
    ⟨U+200B⟩```

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from fjrevoredo/mini-diarium at commit 75c1286, republished under its MIT licence (© fjrevoredo). 136 words, ~815 tokens.

Download SKILL.mdSave it as .claude/skills/rust-code-navigator/SKILL.md (or your agent's skills folder).
name
rust-code-navigator
description
Navigate Rust code using LSP. Triggers on: /navigate, go to definition, find references, where is defined, 跳转定义, 查找引用, 定义在哪, 谁用了这个
allowed-tools
LSP, Read, Glob
argument-hint
<symbol> [in file.rs:line]

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

User: "Where is the Config struct defined?"
    │
    ▼
[1] Search for "Config" in workspace
    LSP(operation: "workspaceSymbol", ...)
    │
    ▼
[2] If multiple results, ask user to clarify
    │
    ▼
[3] Go to definition
    LSP(operation: "goToDefinition", ...)
    │
    ▼
[4] Show file path and context
    Read surrounding code for context

Output Format

Definition Found
## Config (struct)

**Defined in:** `src/config.rs:15`

```rust
#[derive(Debug, Clone)]
pub struct Config {
    pub name: String,
    pub port: u16,
    pub debug: bool,
}

Documentation: Configuration for the application server.


### References Found

References to Config (5 found)

LocationContext
src/main.rs:10let config = Config::load()?;
src/server.rs:25fn new(config: Config) -> Self
src/server.rs:42self.config.port
src/tests.rs:15Config::default()
src/cli.rs:8config: Option<Config>

## Common Patterns

| User Says | LSP Operation |
|-----------|---------------|
| "Where is X defined?" | goToDefinition |
| "Who uses X?" | findReferences |
| "What type is X?" | hover |
| "Find all structs" | workspaceSymbol |
| "What's in this file?" | documentSymbol |

## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| "No LSP server" | rust-analyzer not running | Suggest: `rustup component add rust-analyzer` |
| "Symbol not found" | Typo or not in scope | Search with workspaceSymbol first |
| "Multiple definitions" | Generics or macros | Show all and let user choose |

## Related Skills

| When | See |
|------|-----|
| Call relationships | rust-call-graph |
| Project structure | rust-symbol-analyzer |
| Trait implementations | rust-trait-explorer |
| Safe refactoring | rust-refactor-helper |

© fjrevoredo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. 2 hidden characters (zero-width or bidirectional) removed. Raw file

Files

Just SKILL.md in .agents/skills/rust-code-navigator of fjrevoredo/mini-diarium.

Open the folder on GitHubat commit 75c1286

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in fjrevoredo/mini-diarium, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Rust Code Navigator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rust Code Navigator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rust Code Navigator this skillfjrevoredo/mini-diarium3081 repos~815Automated safety check: WarnMIT
Deepwiki Rssopaco/deepwiki-rs3.1k—~748Automated safety check: PassMIT
tilth Code Reading CLIjahala/tilth352—~1.1kAutomated safety check: PassMIT
Project StructureEynzof/Hermes-CN-Desktop1.7k—~4.2kAutomated safety check: NotesCustom licence
Codex Proxy RS Development Guidezyycn/codex-proxy-rs738—~618Automated safety check: PassApache-2.0
Flowfile Build and Environment SetupEdwardvaneechoud/Flowfile370—~7.3kAutomated safety check: NotesMIT

Similar skills

  • Deepwiki Rs

    sopaco/deepwiki-rs

    AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation.

    3.1k GitHub stars~748 tokensUpdated 23 days ago
    DevelopmentAuto-check passed
  • Replaces grep, cat, find and ls with the tilth CLI, which returns AST-aware outlines, definitions, usages and callers across many languages in one call.

    352 GitHub stars~1.1k tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Project Structure

    Eynzof/Hermes-CN-Desktop

    A skill your agent uses when orienting within the Hermes Agent CN Desktop codebase, locating source files, understanding the Tauri+React architecture, finding Rust commands or frontend modules, or…

    1.7k GitHub stars~4.2k tokensUpdated 16 days ago
    DevelopmentAuto-check: notes
  • Routes development, troubleshooting, review and documentation tasks on the Codex Proxy RS repository to the right section of its docs, instead of loading the whole architecture or contributing guide.

    738 GitHub stars~618 tokensUpdated today
    DevelopmentAuto-check passed
  • Flowfile Build and Environment Setup

    Edwardvaneechoud/Flowfile

    Recreates every Flowfile development and build environment from scratch, with exact version pins and an explanation of what each Makefile target really does.

    370 GitHub stars~7.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Codewhale Contributor Onboarding

    codewhale-hq/Codewhale

    Reports whether a fresh Codewhale checkout is current, builds and passes its tests, and what changed since the contributor was last here, without touching the working tree.

    41k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

More from fjrevoredo/mini-diarium

All 41 skills in this repo
  • Manual Planning

    fjrevoredo/mini-diarium

    Create, update, review, and execute manual Markdown implementation plans when harness planning mode is not being used.

    308 GitHub stars~3.7k tokensUpdated 2 days ago
    Auto-check passed
  • M10 Performance

    fjrevoredo/mini-diarium

    CRITICAL: Use for performance optimization. An agent skill from fjrevoredo/mini-diarium.

    308 GitHub starsUsed in 2 repos~1k tokens
    Auto-check passed
  • Solidjs

    fjrevoredo/mini-diarium

    SolidJS framework development skill for building reactive web applications with fine-grained reactivity.

    308 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed
  • Rust Symbol Analyzer

    fjrevoredo/mini-diarium

    Analyze Rust project structure using LSP symbols. An agent skill from fjrevoredo/mini-diarium.

    308 GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Tauri V2

    fjrevoredo/mini-diarium

    Tauri v2 cross-platform app development with Rust backend. An agent skill from fjrevoredo/mini-diarium.

    308 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Exploration Mode

    fjrevoredo/mini-diarium

    Enter exploration mode: a thinking partner for researching and thinking through ideas and problems before implementation.

    308 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about Rust Code Navigator

What does Rust Code Navigator do?

Navigate Rust code using LSP. An agent skill from fjrevoredo/mini-diarium. Rust Code Navigator is an agent skill from fjrevoredo/mini-diarium. Navigate Rust code using LSP.

When should I use Rust Code Navigator?

Rust Code Navigator fits situations like: go to definition; find references; where is defined.

How do I install Rust Code Navigator in Claude Code?

Run `npx skills add fjrevoredo/mini-diarium --skill rust-code-navigator -a claude-code`. Or copy the skill folder (.agents/skills/rust-code-navigator in fjrevoredo/mini-diarium) into .claude/skills/rust-code-navigator in your project. Claude Code loads it when a task matches its description.

How do I install Rust Code Navigator in Codex?

Run `npx skills add fjrevoredo/mini-diarium --skill rust-code-navigator -a codex`. Or copy the skill folder (.agents/skills/rust-code-navigator in fjrevoredo/mini-diarium) into .agents/skills/rust-code-navigator in your project. Codex loads it when a task matches its description.

Can I use Rust Code Navigator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fjrevoredo/mini-diarium --skill rust-code-navigator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rust-code-navigator, .gemini/skills/rust-code-navigator, .github/skills/rust-code-navigator and .opencode/skills/rust-code-navigator in your project.

What does Rust Code Navigator need to run?

SKILL.md names no scripts, command-line tools or credentials: Rust Code Navigator is instructions for the agent only. Its frontmatter pre-approves these tools: LSP, Read, Glob.

Does Rust Code Navigator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rust Code Navigator safe to install?

Our automated static check of SKILL.md flagged 2 warning(s): contains zero-width characters. Read the flagged lines before installing; the check is not a guarantee either way.

What licence does Rust Code Navigator use?

Rust Code Navigator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rust Code Navigator use?

About 815 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rust Code Navigator?

Skills that share tags, products or a category with Rust Code Navigator: Deepwiki Rs (sopaco/deepwiki-rs, 3.1k stars), tilth Code Reading CLI (jahala/tilth, 352 stars), Project Structure (Eynzof/Hermes-CN-Desktop, 1.7k stars) and Codex Proxy RS Development Guide (zyycn/codex-proxy-rs, 738 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rust Code Navigator?

fjrevoredo (a GitHub user) maintains it in fjrevoredo/mini-diarium, which has 308 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 4, 2026.

Source: fjrevoredo/mini-diarium on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.