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. 01backend-development

    17 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
  2. 02code-reviewer

    5 installs

    Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C#, .NET, Java, C, C++, Rust, Ruby, PHP, and Dart/Flutter. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.

    Buildfrom Multi-Domain Skills
  3. 03rust-best-practices

    4 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. 04dynamic-skill-loader

    4 installs

    Auto-detects the current project's technology stack and hot-loads context-appropriate skills at session start using Claude Code's SessionStart hook with reloadSkills: true. Detects Node.js/TypeScript, Next.js, Python, Rust, Go, Ruby, and monorepo layouts. Emits a .claude/dynamic-context.md with the detected stack and recommended skill list, then signals Claude Code to reload skills before the first agent turn.

    Productivityfrom Skills Hub
  5. 05rust-skills

    3 installs

    Comprehensive Rust coding guidelines with 265 rules across 26 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handling, async patterns, concurrency, unsafe code, API design, memory optimization, performance, numeric safety, conversions, serde, pattern matching, macros, closures, observability, testing, and common anti-patterns. Invoke with /rust-skills.

    Buildfrom Rust Skills
  6. 06linter

    3 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
  7. 07common-security-audit

    3 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
  8. 08huggingface-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
  9. 09tauri-development

    2 installs

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

    Buildfrom Mindrally Skills
  10. 10rust

    2 installs

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

    Buildfrom Mindrally Skills
  11. 11cli-tool

    1 installs

    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
  12. 12qdrant-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
  13. 13solana

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

    Buildfrom Mindrally Skills
  14. 14turbopack-bundler

    Best practices and guidelines for Turbopack, the Rust-powered incremental bundler for Next.js and modern web development

    Buildfrom Mindrally Skills
  15. 15spec-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
  16. 16azure-keyvault-secrets-rust

    Azure Key Vault Secrets library for Rust. Store and retrieve secrets, passwords, and API keys. Triggers: "keyvault secrets rust", "SecretClient rust", "get secret rust", "set secret rust", "list secrets rust".

    Buildfrom Microsoft
  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. 18constant-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

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