rust-style

Enforce mandatory Rust conventions for code and development workflows.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hack-ink/skills --skill rust-style-hack-ink
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-style
Source: https://github.com/hack-ink/skills/tree/main/rust-style
Command: npx skills add https://github.com/hack-ink/skills --skill rust-style-hack-ink

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that all Rust code adheres to the mandatory conventions and best practices defined by the hack-ink project, leading to more consistent, maintainable, and secure Rust codebases.

Core Features & Use Cases

  • Mandatory Conventions: Enforces specific rules for tooling, runtime safety, time/TLS usage, formatting, error handling, logging, and borrowing/ownership.
  • Workflow Alignment: Ensures Rust development aligns with the project's established toolchain and workflow requirements.
  • Use Case: When starting a new Rust module or reviewing a pull request for Rust code, use this Skill to verify compliance with all project-specific style guidelines.

Quick Start

Use the rust-style skill to review the current Rust code for adherence to mandatory conventions.

Frequently Asked Questions about rust-style

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

FAQPage Schema
How do I enforce mandatory Rust coding conventions in my repository?

Enforce mandatory Rust coding conventions by applying rules for toolchain pinning, runtime safety, time/TLS dependencies, formatting, error handling, logging, and borrowing/ownership within your crates and binaries.

What Rust style guidelines should I check during a pull request review?

Check Rust style guidelines during a pull request review by verifying adherence to specific tooling configurations, library choices, runtime safety rules, and borrowing/ownership conventions to maintain consistent and secure codebases.

Does this Rust style guide cover toolchain pinning and dependency management?

Yes, this Rust style guide covers toolchain pinning and dependency management, requiring adherence to specific tooling configurations and approved library choices for time and TLS dependencies.

How do I align my Rust development workflow with project-specific standards?

Align your Rust development workflow with project-specific standards by enforcing mandatory conventions for tooling, formatting, error handling, logging, and borrowing to ensure consistency across all modules.

What is the best way to handle error handling and logging in Rust crates?

Handle error handling and logging in Rust crates by following mandatory conventions that require specific tooling configurations and library choices, ensuring consistent and maintainable code across the project.

Can I use custom formatting rules for Rust binaries, or must I follow the defined conventions?

Rust binaries must follow the defined formatting conventions, as this skill enforces mandatory rules for formatting, error handling, and borrowing to ensure all codebases remain consistent and secure.