rust

rust is a skill for Claude Code, Codex from DongDuong2001/pudo-code-system. It costs 0 tokens per session (452 once invoked), scanned A, original, MIT.

A development checklist for Rust, a programming language often used for backend services. It covers planning, understanding existing code, implementation, and performance review.

In plain words
What is it for?
Use it when planning, reviewing, building, or optimizing a Rust backend.
Why use it?
It gives Rust backend work a consistent set of checks for async code, memory ownership, errors, routes, databases, and safety.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when planning, reviewing, building, or optimizing a Rust backend.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dongduong2001/pudo-code-system/rust
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DongDuong2001/pudo-code-system --skill rust
Clone the repo
git clone --depth 1 https://github.com/DongDuong2001/pudo-code-system

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rust

README.md
[![agentmods](https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/rust/github.svg)](https://agentmods.dev/skills/dongduong2001/pudo-code-system/rust)
Your own site
<a href="https://agentmods.dev/skills/dongduong2001/pudo-code-system/rust"><img src="https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/rust/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rust

Your own site · 80×15
<a href="https://agentmods.dev/skills/dongduong2001/pudo-code-system/rust"><img src="https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/rust.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 452 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00452
Opus 5.5 $0.00000 $0.00181
Sonnet 5.5 $0.00000 $0.00090
Haiku 4.5 $0.00000 $0.00045

Measured 1mo ago against content hash 552e30adedab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rust scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/backend/rust/SKILL.md · 24 lines

What it actually says

Rust (Backend) PUDO Checklist

1. PLAN (Architecture & Strategy)

  • Framework Selection: Choose web framework (Axum, Actix-web) based on performance vs. ecosystem needs.
  • Crate Ecosystem: Plan dependencies (e.g., tokio for async runtime, serde for serialization, sqlx or sea-query for DB).
  • Error Handling: Define a centralized application error type using crates like thiserror or anyhow.
  • State Management: Plan how application state (DB pools, config) will be shared across thread workers.

2. UNDERSTAND (Context & Auditing)

  • Borrow Checker & Lifetimes: Audit data structures to minimize clones; rely on references where safe across async boundaries.
  • Async Context: Ensure types crossing .await points implement Send and Sync.
  • Safety: Review unsafe blocks if any exist. Justify their existence.

3. DEVELOP (Implementation)

  • Structs & Traits: Define core domain models. Use #[derive(Serialize, Deserialize)] for data transfer objects.
  • Routes: Implement handlers with strongly typed extractors (Json, Path, Query).
  • Database: Use compile-time checked SQL queries (e.g., sqlx::query!) for type safety.
  • Testing: Write inline unit tests (#[test]) and asynchronous integration tests (#[tokio::test]).

4. OPTIMIZE (Performance & Review)

  • Binary Size & Speed: Review Cargo.toml profiles (e.g., strictly opt-level = 3, LTO enabled for release).
  • Memory Allocation: Profile long-lived objects. Consider Arc for shared read-only state instead of cloning.
  • Compilation Time: Use cargo clippy and cargo fmt to enforce idiomatic code and avoid macro bloat where unnecessary.
  • Logging: Configure structured async logging using tracing and tracing-subscriber.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 24 lines · 0 tokens per session scan A 552e30adedab

Subscribe to this mod's changes

rust is a skill published in the GitHub repository DongDuong2001/pudo-code-system (5 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 452 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

polars

High-performance DataFrame library for Python ETL, analytics, and pandas migration. It supports expression-based data manipulation with lazy query optimization, parallel execution, streaming out-of-core processing, Arrow interoperability, and optional GPU execution.

K-Dense-AI/scientific-agent-skills · 47 tokens

rust-engineer

Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions. Implements ownership patterns, manages lifetimes, designs trait hierarchies, builds async applications with tokio, and structures error handling with Result/Option. Use when building Rust applications, solving ownership or…

Jeffallan/claude-skills · 120 tokens

memory-safety-patterns

Implement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code, managing resources, or preventing memory bugs.

rmyndharis/antigravity-skills · 45 tokens

rust

Expert in Rust development with focus on safety, performance, and async programming.

Mindrally/skills · 16 tokens

solana-development

Build, test, deploy, and audit Solana programs with Anchor or native Rust, plus ZK Compression (Light Protocol). Use for Solana contracts, token operations, compute optimization, deployment, program audits, or compressed tokens and PDAs.

tenequm/skills · 53 tokens

rust-async-concurrency

Use when writing async Rust — spawning tasks, sharing state across tasks/threads, choosing channels vs mutexes, or hitting Send-bound errors with async traits. Not for HTTP service structure (rust-web-backend) or sync-only ownership (rust-core-language).

fusengine/agents · 57 tokens