rust-symbol-analyzer

Map Rust project structure by querying LSP workspace and document symbols.

3|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/0xharryriddle/codex-field-kit --skill rust-symbol-analyzer-0xharryriddle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-symbol-analyzer
Source: https://github.com/0xharryriddle/codex-field-kit/tree/main/archive/upstream/chasebuild-agent-skills/rust/skills/rust-symbol-analyzer
Command: npx skills add https://github.com/0xharryriddle/codex-field-kit --skill rust-symbol-analyzer-0xharryriddle

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly understand and navigate a Rust project's structure by analyzing LSP symbols across the codebase, reducing time spent manually mapping modules, structs, traits, and functions.

Core Features & Use Cases

  • Symbol-based project mapping: document symbols for a single file and workspace symbols for the entire repository.
  • Structure visualization: infer modules, structs, traits, and functions to inform onboarding, refactoring, and architectural decision-making.
  • Trigger-based analysis: responds to commands like /rust-symbol-analyzer and supports type-filter driven queries to focus results.

Quick Start

Analyze and visualize the symbol structure of a Rust project with a simple command-line invocation.

Frequently Asked Questions about rust-symbol-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map Rust project structure using LSP symbols?

You can map a Rust project structure by querying LSP workspace symbols to reveal modules, structs, traits, and functions. This process infers the codebase architecture to support project onboarding and refactor planning through a nested symbol horizon.

What is the best way to visualize Rust code structure for onboarding?

Visualizing Rust code structure involves analyzing document symbols for individual files or workspace symbols for the entire repository. This approach identifies modules, structs, traits, and functions to inform architectural decision-making and reduce manual mapping time.

Can I filter Rust symbols by type during project analysis?

Yes, you can filter Rust symbols by type during project analysis using targeted type filters. This allows you to focus results on specific structures like structs or traits, delivering a customized symbol horizon suitable for visualization.

Does this Rust symbol analyzer require external dependencies to inspect code?

No, this Rust symbol analyzer requires no external dependencies to inspect code. It performs on-demand analysis of workspace or document symbols directly within the Rust sources to map the project structure.

When do I need to analyze document symbols versus workspace symbols in Rust?

You need document symbols to analyze the structure of a single Rust file, while workspace symbols map the entire repository. Choose based on whether you are inspecting an isolated module or planning a full project refactor.