Skip to content
Skill

Rust symbol analyzer

Maps a Rust project's structs, traits, functions and modules via LSP symbols

Rust symbol analyzer is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
21
Last commit
License
MIT
Listing updated

Similar skills

About Rust symbol analyzer

This skill lets an AI coding agent produce a structural overview of a Rust codebase. It uses the language server's document and workspace symbol operations to walk modules, structs, enums, traits, functions and their nesting, then groups the results by symbol type or lays them out as a tree for a single file.

The instructions describe a workflow that globs for Rust source files, pulls symbols from key files such as lib.rs and main.rs, categorizes them, and renders tables or hierarchy diagrams. Optional arguments narrow the output to a single file or to one symbol type such as traits or functions. The document also sketches complexity hotspots and internal import relationships as possible analyses.

The skill is read-only in its declared tools: it relies on LSP, Read and Glob, and ships no scripts. It expects a Rust project with a working language server available to the agent.

When your agent uses it

Analyze Rust project structure using LSP symbols. Triggers on: /symbols, project structure, list structs, list traits, list functions, 符号分析, 项目结构, 列出所有, 有哪些struct

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (5 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/rust-symbol-analyzer to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/rust-symbol-analyzer &&
cp -R "$tmp/.claude/skills/rust-symbol-analyzer" ~/.claude/skills/rust-symbol-analyzer &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/rust-symbol-analyzer inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/rust-symbol-analyzer to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/rust-symbol-analyzer &&
cp -R "$tmp/.claude/skills/rust-symbol-analyzer" ~/.agents/skills/rust-symbol-analyzer &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/rust-symbol-analyzer inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/rust-symbol-analyzer to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/rust-symbol-analyzer &&
cp -R "$tmp/.claude/skills/rust-symbol-analyzer" ~/.cursor/skills/rust-symbol-analyzer &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/rust-symbol-analyzer inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/k1-c/linear-tui.git --path .claude/skills/rust-symbol-analyzer

Or copy the folder to ~/.gemini/skills/rust-symbol-analyzer yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/rust-symbol-analyzer:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/rust-symbol-analyzer &&
cp -R "$tmp/.claude/skills/rust-symbol-analyzer" ~/.copilot/skills/rust-symbol-analyzer &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/rust-symbol-analyzer inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/k1-c/linear-tui.git

Then copy linear-tui/.claude/skills/rust-symbol-analyzer into your agent's skills folder as rust-symbol-analyzer. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Project module tree
Lays out the crate's directories and module files as a nested tree.
Symbols grouped by type
Tabulates structs, traits, functions and enums with their file locations.
Single file hierarchy
Shows a file's symbols nested under modules, impl blocks and fields.
Symbol type filtering
Restricts results to a chosen kind such as struct, trait, fn or mod.
Complexity hotspot view
Sketches per-file counts of structs and functions to flag heavy files.
Dependency overview
Outlines which modules a file imports from and which import it.

Good for

  • List all structs and traits in my Rust project
  • Show the module structure of src/lib.rs
  • Find all async functions across the workspace
  • Which files in this crate have the most functions?
  • Summarize the public API of a Rust module

Rust symbol analyzer FAQ

What does Rust symbol analyzer need to run?

It declares the LSP, Read and Glob tools, so the agent needs access to a Rust language server and to the project files.

How is Rust symbol analyzer triggered?

It triggers on phrases such as /symbols, project structure, list structs, list traits, list functions, and several Chinese equivalents of those requests.

Does Rust symbol analyzer change any code?

Its declared tools are read-oriented (LSP, Read, Glob) and the instructions describe producing analysis output, not editing files.

How do I install Rust symbol analyzer in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/rust-symbol-analyzer to use it in all your projects, or to .claude/skills/rust-symbol-analyzer in one project.

Does Rust symbol analyzer run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Rust symbol analyzer?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Rust symbol analyzer?

The closest alternatives to Rust symbol analyzer are Rust code navigator, Rust trait explorer, Rust refactor helper, Rust call graph and Rust deps visualizer.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from k1-c/linear-tui

  1. Gives the agent a quick reference of Rust-specific naming, error handling and async rules

    • Open source
    • 21 GitHub stars
    • Developer tools
  2. Guides the agent to write Conventional Commits, splitting mixed changes into several

    • Open source
    • 21 GitHub stars
    • Developer tools
  3. Guides an agent through building Rust command-line tools with clap, config layers

    • Open source
    • 21 GitHub stars
    • Developer tools
  4. Guides the agent through Rust ownership, borrow and lifetime compiler errors

    • Open source
    • 21 GitHub stars
    • Developer tools
  5. Guides an agent in choosing Rust smart pointers like Box, Rc, Arc, Weak and RefCell

    • Open source
    • 21 GitHub stars
    • Developer tools
  6. Guides a Rust agent through E0596/E0499/E0502 borrow errors and interior mutability

    • Open source
    • 21 GitHub stars
    • Developer tools