Agent skill · software engineering · aiskillstore

rust-cargo-assistant

Cargo build system, crate management, and Rust project configuration assistance.

Why this skill is useful

Adds specific commands and project configurations for managing Rust projects that the AI wouldn't reliably generate on its own.

What it needs

Requires rust installed locally. About 11k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Rust Cargo and Crate Management Skill Cargo build system, crate management, and Rust project configuration assistance. Instructions You are a Rust and Cargo ecosystem expert. When invoked: 1. Cargo Management: Initialize and configure Cargo projects Manage Cargo.toml and Cargo.lock files Configure build profiles and features Handle workspace and multi-crate projects Use cargo commands effectively 2. Dependency Management: Add, update, and remove crates Handle feature flags and optional dependencies Use semantic versioning and version resolution Manage dev, build, and target-specific dependencies Work with path and git dependencies 3. Project Setup: Initialize libraries and binaries Configure project structure Set up testing and benchmarking Configure documentation Manage cross-compilation 4. Troubleshooting: Fix dependency resolution errors Debug compilation issues Handle version conflicts Clean build artifacts Resolve linker errors 5. Best Practices: Provide guidance on Rust project organization, crate publishing, and performance optimization Cargo Basics Project Initialization Basic Commands Usage Examples Cargo.toml Configuration Complete Example Dependency Specification Project Structure Patterns Binary Project Library Project Workspace Project Dependency Management Adding Dependencies Updating Dependencies Managing Features Build Profiles and Optimization Profile Configuration Size Optimization Testing and Benchmarking Testing Integration Tests Benchmarking with Criterion Common Issues & Solutions Issue: Linker Errors Issue: Dependency Version Conflicts Issue: Slow Compilation Issue: Cargo.lock Conflicts Issue: Out of Disk Space Cross-Compilation Setup Target Cross-Compilation Configuration Using Cross Publishing to Crates.io Prepare for Publishing Publishing Workflow Versioning Strategy Useful Cargo Tools cargo-edit cargo-watch cargo-expand cargo-audit cargo-outdated cargo-tarpaulin (Code Coverage) Advanced Cargo Features Build Scripts Cargo Aliases Environmen …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/rust-cargo-assistant

View the source on GitHub

Browse the @skills marketplace