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
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
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.