agentsclimarketplace

Rust

Skill DongDuong2001/pudo-code-system/skills/backend/rust

Modular, scalable, automated development intelligence.From the repository description

Install
npx -y skills add DongDuong2001/pudo-code-system --skill rust

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 2 commands, including `cargo clippy` and 1 more.

SKILL.md

1.8 KB, 453 tokens by cl100k_base, as published. Nobody here has run it

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.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.