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

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.

agentmods
npx agentmods add skills/dongduong2001/pudo-code-system/rust
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00000 $0.00452
Opus 5 $0.00000 $0.00226
Sonnet 5 $0.00000 $0.00090
Haiku 4.5 $0.00000 $0.00045

Measured 3d ago against content hash 552e30adedab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 27d 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.