---
title: "Rust Hooks"
description: "> This file extends [common/hooks.md](../common/hooks.md) with Rust-specific content."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/hooks-31
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:25:13.385Z
license: CC-BY-4.0
attribution: "Rust Hooks — Claudary (https://claudary.paisolsolutions.com/skills/hooks-31)"
---

# Rust Hooks
> This file extends [common/hooks.md](../common/hooks.md) with Rust-specific content.

## Overview

---
paths:
  - "**/*.rs"
  - "**/Cargo.toml"
---
# Rust Hooks

> This file extends [common/hooks.md](../common/hooks.md) with Rust-specific content.

## PostToolUse Hooks

Configure in `~/.claude/settings.json`:

- **cargo fmt**: Auto-format `.rs` files after edit
- **cargo clippy**: Run lint checks after editing Rust files
- **cargo check**: Verify compilation after changes (faster than `cargo build`)

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/hooks-31) · https://claudary.paisolsolutions.com
