Use for Rust code analysis via LSP. Keywords: symbols, project structure, list structs, list traits, list functions, trait implementations, find implementations, go to definition, find references, call hierarchy, call graph, dependency graph, visualize deps, refactor, rename symbol, move function, extract function
التثبيت
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Use for Rust code analysis via LSP. Keywords: symbols, project structure, list structs, list traits, list functions, trait implementations, find implementations, go to definition, find references, call hierarchy, call graph, dependency graph, visualize deps, refactor, rename symbol, move function, extract function
argument-hint
[file.rs] [--type struct|trait|fn|mod]
allowed-tools
["Read","Glob","Grep","Edit","Bash"]
Rust LSP Toolkit
Unified skill for Rust code analysis, navigation, and refactoring using Grep, Glob, Read, Bash, and cargo tools.
Analysis Techniques
Technique
Tool
Use When
Symbol search
Grep("^(pub )?(struct|fn|trait) Name")
Finding definitions
Find references
Grep("SymbolName", glob: "**/*.rs")
Finding all usages
File structure
Grep + Read on target file
Analyzing a single file
Type info
Grep definition + Read context
Getting type signatures and docs
Compiler diagnostics
Bash("cargo check 2>&1")
Checking for errors
Primary tools: Grep and Glob for search, Read for context, Bash for cargo commands.