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.