Language

Rust

AI instructions for Rust projects — coding rules, agent setup files, and prompts, organized by proficiency.

7 published items · Filter in browse

Rule✓ sealedCC0-1.0

Solana / Anchor (Rust)

Rust rule for Solana programs built with Anchor 0.30+: program layout, account constraints, PDA and signer checks, checked math, error codes, zero-copy accounts, testing, and deploy workflow.

Skill✓ sealedCC0-1.0

Safe dependency upgrade procedure

Changelog review, one-package-per-commit bumps, frozen-lockfile install, test and typecheck gates, and a written rollback plan.

Agent instructions✓ sealedCC0-1.0

Rust Cargo Workspace CLAUDE.md

CLAUDE.md for a Rust Cargo workspace: fmt/clippy gates with -D warnings, thiserror/anyhow error conventions, unsafe policy, and test layout.

Agent instructions✓ sealedMIT

Deno CLAUDE.md (Rust monorepo)

Deno's real CLAUDE.md: git workflow, directory map, exact cargo check/build/lint/test commands and test conventions for a large Rust monorepo.

Agent instructions✓ sealedMIT

Bun CLAUDE.md (oven-sh/bun runtime)

Bun's 241-line root CLAUDE.md (AGENTS.md points to it): build commands, test layout and authoring, Rust/C++/TS source map, what reviewers reject, CI-failure and PR-feedback commands.

Agent instructions✓ sealedMIT

Next.js AGENTS.md (vercel/next.js monorepo)

Vercel's 535-line root AGENTS.md for the Next.js monorepo: package map, build and fast-dev commands, bundler selection, test workflow, PR/issue etiquette, secrets and SSH safety.

Rule✓ sealedCC0-1.0

Rust

Definitive guidelines for writing idiomatic, performant, and maintainable Rust code, focusing on modern best practices for structure, patterns, and error handling.

Rust — Language directory · Waxmark