Claude Rules for Rust

CLAUDE.md rules for Rust development. Covers ownership and borrowing conventions, error handling strategies, Cargo workspace patterns, and Rust-specific idioms.

21 rules matching Rust

Rust CLAUDE.md Rules

Rust's ownership model and strong type system mean there are a lot of project-specific decisions Claude needs to know about before it can suggest code that fits your codebase. Which error-handling crate do you prefer — `anyhow`, `thiserror`, or a hand-rolled enum? Which async runtime — Tokio or async-std? How is your Cargo workspace structured? Are there modules where `unsafe` is permitted? A Rust CLAUDE.md captures those decisions so Claude proposes solutions that compile *and* match your team's patterns. The Rust CLAUDE.md rules in this directory come from open-source projects ranging from systems tools to web services to language tooling — varied enough that you can find conventions close to your own and adapt them. If you're starting a Rust CLAUDE.md, the highest-value first additions are the error-handling crate, the async runtime, and the test-organization pattern.

📋

Polyphony CLAUDE.md

by @penso

Repo-native AI orchestration engine — connects issue trackers (GitHub, GitLab, Linear, webhooks) to coding agents (Claude, Codex, Copilot, Pi) with isolated wor

RustGraphQL
📋

Bitsandbytes CLAUDE.md

by @bitsandbytes-foundation

Accessible large language models via k-bit quantization for PyTorch.

RustPython
📋

Dotfiles CLAUDE.md

by @phatblat

CLAUDE.md for the Dotfiles project (Shell).

PythonRustRubyJavaKotlinSwiftFlutterDocker
📋

Graphgrc CLAUDE.md

by @engseclabs

Build security program documentation using Git and Markdown

PythonRustGo
📋

Cc Plugin Catalog CLAUDE.md

by @giginet

Static site generator for Claude Code Plugin Marketplace repositories

PythonRust
📋

Context Creator CLAUDE.md

by @matiasvillaverde

A high-performance Rust CLI for optimizing context engineering in agentic programming.

Rust
📋

Iam Policy Validator CLAUDE.md

by @boogy

⚡ Stop IAM misconfigurations before they become breaches — Catch overprivileged permissions, dangerous wildcards, and policy errors before deployment.

PythonRustAWS
📋

Ggsql CLAUDE.md

by @posit-dev

A SQL extension for declarative data visualisation based on the Grammar of Graphics.

TypeScriptPythonRust
📋

N8n Install CLAUDE.md

by @kossakovsky

🚀 Self-hosted AI automation platform. Deploy n8n, Ollama, Flowise, RAG, Supabase & 30+ tools with one command. Auto HTTPS. Free Zapier/Make alternative.

PythonRustJavaDockerPostgreSQLRedisSupabaseShell
📋

Rivet CLAUDE.md

by @rivet-dev

Rivet Actors are the primitive for stateful workloads. Built for AI agents, collaborative apps, and durable execution.

TypeScriptRustDocker
📋

Tapo CLAUDE.md

by @mihai-dinculescu

🦀 Rust API, 🐍 Python API, and 🤖 MCP Server for TP-Link Tapo smart devices

PythonRust
📋

Sandbox Agent CLAUDE.md

by @rivet-dev

Run Coding Agents in Sandboxes. Control Them Over HTTP. Supports Claude Code, Codex, OpenCode, and Amp.

ReactTypeScriptRustDocker
📋

Deltio CLAUDE.md

by @jeffijoe

A Google Cloud Pub/Sub emulator alternative, written in Rust.

Rust
📋

Prql CLAUDE.md

by @PRQL

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

PythonRust
📋

Quickwit CLAUDE.md

by @quickwit-oss

Cloud-native search engine for observability. An open-source alternative to Datadog, Elasticsearch, Loki, and Tempo.

ReactPythonRustDockerPostgreSQLAWS
📋

KnowSeams CLAUDE.md

by @KnowSeams

Fast, accurate sentence detection for English narrative with proper dialog handling.

Rust
📋

Yaml Serde CLAUDE.md

by @yaml

Strongly typed YAML library for Rust

Rust
📋

BYAN CLAUDE.md

by @Yan-Acadenice

Des agent IA mais intelligent qui respect toute les bonne pratique de conception

RustJavaScript
📋

Arcanea CLAUDE.md

by @frankxai

Public mirror of Arcanea.ai — the creative intelligence platform for chat, lore, academy, and worldbuilding.

RustHTML
📋

PocketWatch CLAUDE.md

by @viperrcrypto

CLAUDE.md for the PocketWatch project (TypeScript).

Next.jsReactTypeScriptRustPrismaPostgreSQLTailwind CSS
📋

Llm Driven System Design CLAUDE.md

by @evgenyvinnik

Collection of the system designs driven by LLMs

ReactTypeScriptPythonRustNode.jsJavaDockerKubernetes

Why add Rust rules to your CLAUDE.md?

Rust's ownership model and strong type system mean there are lots of project-specific decisions Claude needs to know about — whether you prefer `anyhow` or `thiserror` for error handling, how you structure your Cargo workspace, which async runtime you use, and how you handle unsafe code. A Rust CLAUDE.md prevents Claude from suggesting solutions that compile but conflict with your project's architecture.