# Rust symbol analyzer

> Rust symbol analyzer is an open-source agent skill for developer tools. Maps a Rust project's structs, traits, functions and modules via LSP symbols. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/k1-c/linear-tui/tree/main/.claude/skills/rust-symbol-analyzer
- **Repository:** https://github.com/k1-c/linear-tui
- **GitHub stars:** 21
- **License:** MIT
- **Skill name:** rust-symbol-analyzer
- **Collection:** https://github.com/k1-c/linear-tui
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/k1-c/linear-tui/tree/HEAD/.claude/skills/rust-symbol-analyzer)
- [Asks for: LSP, Read, Glob](https://github.com/k1-c/linear-tui/blob/HEAD/.claude/skills/rust-symbol-analyzer/SKILL.md)
- [License: MIT](https://github.com/k1-c/linear-tui/tree/HEAD/.claude/skills/rust-symbol-analyzer)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Rust code navigator](https://ai-powered.com/skills/rust-code-navigator): Rust code navigator is an open-source agent skill for developer tools.
- [Rust trait explorer](https://ai-powered.com/skills/rust-trait-explorer): Rust trait explorer is an open-source agent skill for developer tools.
- [Rust refactor helper](https://ai-powered.com/skills/rust-refactor-helper): Rust refactor helper is an open-source agent skill for developer tools.
- [Rust call graph](https://ai-powered.com/skills/rust-call-graph): Rust call graph is an open-source agent skill for developer tools.
- [Rust deps visualizer](https://ai-powered.com/skills/rust-deps-visualizer): Rust deps visualizer is an open-source agent skill for developer tools.
- [Rust skill creator](https://ai-powered.com/skills/rust-skill-creator): Rust skill creator is an open-source agent skill for developer tools.
- [Rust learner](https://ai-powered.com/skills/rust-learner): Rust learner is an open-source agent skill for developer tools.
- [M11 ecosystem](https://ai-powered.com/skills/m11-ecosystem): M11 ecosystem is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/rust-symbol-analyzer
