rust

Enforce Rust coding standards and safety rules for secure code.

87|26|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/databricks-solutions/apx --skill rust-databricks-solutions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust
Source: https://github.com/databricks-solutions/apx/tree/main/.claude/skills/rust
Command: npx skills add https://github.com/databricks-solutions/apx --skill rust-databricks-solutions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enforces Rust coding standards and safety practices, helping developers write secure and efficient Rust code.

Core Features & Use Cases

  • Enforce Coding Standards: Follows Rust coding guidelines for readability, performance, and safety.
  • Safety Rules: Implements rules from "The Power of Ten" for developing safety-critical code.
  • Error Handling: Standardizes error handling using Result and Option types.
  • Domain-Driven Design: Encourages using domain-specific language and value objects.
  • API Design: Recommends best practices for building robust and maintainable APIs.
  • Use Case: Ideal for refactoring existing Rust code or developing new features that require adherence to Rust best practices.

Quick Start

Use the rust skill to check the 'main.rs' file for adherence to Rust coding standards.

Frequently Asked Questions about rust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for error handling in Rust?

Standardize Rust error handling by using `Result` and `Option` types to explicitly manage recoverable errors and absent values. This enforces safety rules and readability by forcing explicit error management.

How do I check my Rust code for safety and coding standards?

Check your Rust code for safety and coding standards by evaluating it against Rust conventions and "The Power of Ten" rules. This ensures readability, performance, and secure coding practices are met during development or refactoring efforts.

Can I use domain-driven design principles in Rust development?

Domain-driven design in Rust is encouraged by using domain-specific language and value objects. This approach helps build robust, maintainable APIs and enforces strict coding standards for complex software engineering projects.

What is the best way to refactor existing Rust code for better safety?

The best way to refactor existing Rust code for safety is to enforce guidelines from "The Power of Ten" for safety-critical code. Apply standardized error handling with `Result` and `Option` types while adhering to strict Rust coding conventions.

Does this approach apply to building robust and maintainable Rust APIs?

Yes, this approach applies to building robust and maintainable Rust APIs by recommending best practices for API design. It enforces domain-specific language, value objects, and strict safety rules to ensure secure and efficient interfaces.