Skip to main content

AI skills for Rust

AI Coding Skills for Rust

Browse the best AI coding skills for Rust in 2026, Tokio async patterns, Axum / Actix API scaffolding, cargo workspace management, security audits with cargo-audit. Works with every major AI coding tool.

Short answer

The best AI coding skills for Rust are skills-hub's `code-review`, `unit-test` (cargo test + tokio-test patterns), `api-scaffold` (Axum / Actix), `secure`, `dependency-scan` (cargo-audit), and `docker` (multi-stage Rust builds). All portable across Claude Code, Cursor, Codex CLI, Windsurf, Copilot, and Cline.

Rust is the second-most-loved language in 2026 and AI coding skills here are mature, though smaller than for TypeScript or Python. The skills below detect your Rust stack (cargo workspaces, Tokio, Axum, Actix-web, SQLx, sqlx-cli) and emit idiomatic Rust with proper lifetimes, Result chains, and async patterns. They respect ownership semantics rather than fighting them.

Top skills for Rust

  1. 01huggingface-tokenizers

    3 installs

    Fast tokenizers optimized for research and production. Rust-based implementation tokenizes 1GB in <20 seconds. Supports BPE, WordPiece, and Unigram algorithms. Train custom vocabularies, track alignments, handle padding/truncation. Integrates seamlessly with transformers. Use when you need high-performance tokenization or custom tokenizer training.

    Researchfrom AI Research Skills
  2. 02backend-development

    2 installs

    Build robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis), APIs (REST, GraphQL, gRPC), authentication (OAuth 2.1, JWT), testing strategies, security best practices (OWASP Top 10), performance optimization, scalability patterns (microservices, caching, sharding), DevOps practices (Docker, Kubernetes, CI/CD), and monitoring. Use when designing APIs, implementing authentication, optimizing database queries, setting up CI/CD pipelines, handling security vulnerabilities, building microservices, or developing production-ready backend systems.

    Buildfrom ClaudeKit Skills
  3. 03rust-best-practices

    1 installs

    Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook. Use this skill when: (1) writing new Rust code or functions, (2) reviewing or refactoring existing Rust code, (3) deciding between borrowing vs cloning or ownership patterns, (4) implementing error handling with Result types, (5) optimizing Rust code for performance, (6) writing tests or documentation for Rust projects.

    Buildfrom Apollo GraphQL
  4. 04common-security-audit

    1 installs

    Probe for hardcoded secrets, injection surfaces, unguarded routes, business logic flaws, and platform-specific weaknesses across backend (Node, Go, Java, Python, Rust), frontend (React, Angular, Vue), and mobile (iOS, Android, Flutter) codebases. Use when performing security audits, vulnerability scans, secrets detection, or penetration testing.

    Buildfrom Multi-Language Standards
  5. 05linter

    1 installs

    Configure linting, formatting, and editor integration for any stack. Sets up ESLint 9 or Biome for JS/TS, Ruff for Python, golangci-lint for Go, Clippy for Rust, RuboCop for Ruby, or dart analyze for Flutter. Adds Prettier or equivalent formatter, .editorconfig, and VS Code format-on-save. Use when you need to add a linter, fix formatting inconsistencies, migrate from legacy lint tools, or set up code style enforcement.

    Productivityfrom Skills Hub
  6. 06qdrant-vector-search

    1 installs

    High-performance vector similarity search engine for RAG and semantic search. Use when building production RAG systems requiring fast nearest neighbor search, hybrid search with filtering, or scalable vector storage with Rust-powered performance.

    Researchfrom AI Research Skills
  7. 07gtars

    High-performance toolkit for genomic interval analysis in Rust with Python bindings. Use when working with genomic regions, BED files, coverage tracks, overlap detection, tokenization for ML models, or fragment analysis in computational genomics and machine learning applications.

    Researchfrom Scientific Skills
  8. 08gtars

    High-performance toolkit for genomic interval analysis in Rust with Python bindings. Use when working with genomic regions, BED files, coverage tracks, overlap detection, tokenization for ML models, or fragment analysis in computational genomics and machine learning applications.

    Healthcarefrom OpenClaw Medical
  9. 09constant-time-analysis

    Detects timing side-channel vulnerabilities in cryptographic code. Use when implementing or reviewing crypto code, encountering division on secrets, secret-dependent branches, or constant-time programming questions in C, C++, Go, Rust, Swift, Java, Kotlin, C#, PHP, JavaScript, TypeScript, Python, or Ruby.

    Buildfrom Trail of Bits
  10. 10cli-tool

    Generate a production-ready command-line tool -- scaffold a complete CLI application with subcommand parsing, interactive prompts with validation, colored and structured output (tables, spinners, progress bars), JSON output mode for scripting, XDG-compliant config management, custom error types with exit codes, and distribution setup for publishing. Supports Node.js (Commander.js, Inquirer, chalk, ora), Python (Typer, Rich, httpx, Pydantic), Go (Cobra, Bubble Tea, Lip Gloss, Viper, goreleaser), and Rust (clap derive, dialoguer, console, comfy-table). Build a CLI, create command-line app, generate terminal tool, scaffold CLI utility, new CLI project.

    Buildfrom Skills Hub
  11. 11solana

    Expert guidelines for Solana program development with Rust, Anchor framework, and Web3.js integration

    Buildfrom Mindrally Skills
  12. 12tauri-development

    Tauri development guidelines for building cross-platform desktop applications with TypeScript, Rust, and modern web technologies

    Buildfrom Mindrally Skills
  13. 13rust

    Expert in Rust development with focus on safety, performance, and async programming

    Buildfrom Mindrally Skills
  14. 14geomaster

    Comprehensive geospatial science skill covering remote sensing, GIS, spatial analysis, machine learning for earth observation, and 30+ scientific domains. Supports satellite imagery processing (Sentinel, Landsat, MODIS, SAR, hyperspectral), vector and raster data operations, spatial statistics, point cloud processing, network analysis, cloud-native workflows (STAC, COG, Planetary Computer), and 8 programming languages (Python, R, Julia, JavaScript, C++, Java, Go, Rust) with 500+ code examples. Use for remote sensing workflows, GIS analysis, spatial ML, Earth observation data processing, terrain analysis, hydrological modeling, marine spatial analysis, atmospheric science, and any geospatial computation task.

    Buildfrom Scientific Skills
  15. 15reverse-engineering-rust-malware

    Reverse engineer Rust-compiled malware using IDA Pro and Ghidra with techniques for handling non-null-terminated strings, crate dependency extraction, and Rust-specific control flow analysis.

    Buildfrom Cybersecurity Skills
  16. 16rust-skills

    Comprehensive Rust coding guidelines with 179 rules across 14 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handling, async patterns, API design, memory optimization, performance, testing, and common anti-patterns. Invoke with /rust-skills.

    Buildfrom Rust Skills
  17. 17apollo-router-plugin-creator

    Guide for writing Apollo Router native Rust plugins. Use this skill when: (1) users want to create a new router plugin, (2) users want to add service hooks (router_service, supergraph_service, execution_service, subgraph_service), (3) users want to modify an existing router plugin, (4) users need to understand router plugin patterns or the request lifecycle. (5) triggers on requests like "create a new plugin", "add a router plugin", "modify the X plugin", or "add subgraph_service hook".

    Buildfrom Apollo GraphQL
  18. 18spec-to-repo

    Use when the user says 'build me an app', 'create a project from this spec', 'scaffold a new repo', 'generate a starter', 'turn this idea into code', 'bootstrap a project', 'I have requirements and need a codebase', or provides a natural-language project specification and expects a complete, runnable repository. Stack-agnostic: Next.js, FastAPI, Rails, Go, Rust, Flutter, and more.

    Buildfrom Multi-Domain Skills

Frequently asked questions

Do AI skills understand Rust lifetimes?

Yes, the better ones do. Modern Claude Opus and GPT-5 generate Rust code with correct lifetime annotations on first try ~80% of the time. The code-review skill catches lifetime mistakes the model might miss.

Can AI generate Tokio async tests?

Yes. The unit-test skill detects Tokio and emits #[tokio::test] tests with proper async setup, mock channels, and timeout patterns.

What's the best AI tool for Rust?

Cursor and Claude Code both handle Rust well. Cursor's inline completion is best-in-class. Claude Code excels at multi-crate workspace refactors and migration to new dependencies.

Do AI skills handle cargo workspaces?

Yes. Modern skills parse `Cargo.toml` workspace members and respect inter-crate dependencies when scaffolding new modules.

Other languages and frameworks