bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Rust language server (rust-analyzer) providing code intelligence and analysis for .rs files. Use when working with Rust code that needs autocomplete, go-to-definition, find references, error detection, or refactoring support.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install bowen31337/rust-analyzer-lspInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
Rust language server integration providing comprehensive code intelligence through rust-analyzer.
.rs
rustup component add rust-analyzer
brew install rust-analyzer
# Ubuntu/Debian
sudo apt install rust-analyzer
# Arch Linux
sudo pacman -S rust-analyzer
Download pre-built binaries from the releases page.
Verify installation:
rust-analyzer --version
The language server runs automatically in LSP-compatible editors. For manual operations:
cargo fmt
cargo clippy
cargo build
cargo test
cargo check
Create .rust-analyzer.json in project root:
{
"checkOnSave": {
"command": "clippy"
},
"inlayHints": {
"typeHints": true,
"parameterHints": true
}
}
When editing Rust code:
cargo fmt to format codecargo clippy for lintingcargo test before committingcargo new <name> - Create new projectcargo build - Compile projectcargo run - Build and runcargo test - Run testscargo check - Fast compile checkcargo clippy - Run lintercargo fmt - Format codecargo doc --open - Generate and open docsThese signals come from indexed source analysis and may lag behind changes. Check the current source files.
# rust-analyzer LSP
Rust language server integration providing comprehensive code intelligence through rust-analyzer.
## Capabilities
- **Code intelligence**: Autocomplete, go-to-definition, find references
- **Error detection**: Real-time diagnostics for compilation errors
- **Refactoring**: Rename symbols, extract function/variable
- **Analysis**: Macro expansion, type hints, inlay hints
- **Supported extensions**: `.rs`
## Installation
### Via rustup (recommended)
```bash
rustup component add rust-analyzer
```
### Via Homebrew (macOS)
```bash
brew install rust-analyzer
```
### Via package manager (Linux)
```bash
# Ubuntu/Debian
sudo apt install rust-analyzer
# Arch Linux
sudo pacman -S rust-analyzer
```
### Manual download
Download pre-built binaries from the [releases page](https://github.com/rust-lang/rust-analyzer/releases).
Verify installation:
```bash
rust-analyzer --version
```
## Usage
The language server runs automatically in LSP-compatible editors. For manual operations:
### Format code
```bash
cargo fmt
```
### Run linter
```bash
cargo clippy
```
### Build and test
```bash
cargo build
cargo test
```
### Check without building
```bash
cargo check
```
## Configuration
Create `.rust-analyzer.json` in project root:
```json
{
"checkOnSave": {
"command": "clippy"
},
"inlayHints": {
"typeHints": true,
"parameterHints": true
}
}
```
## Integration Pattern
When editing Rust code:
1. rust-analyzer provides real-time diagnostics
2. Run `cargo fmt` to format code
3. Use `cargo clippy` for linting
4. Run `cargo test` before committing
## Common Cargo Commands
- `cargo new <name>` - Create new project
- `cargo build` - Compile project
- `cargo run` - Build and run
- `cargo test` - Run tests
- `cargo check` - Fast compile check
- `cargo clippy` - Run linter
- `cargo fmt` - Format code
- `cargo doc --open` - Generate and open docs
## More Information
- [rust-analyzer Website](https://rust-analyzer.github.io/)
- [GitHub Repos...Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.
Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.