AgentStack
SKILL verified MIT Self-run

Rust

skill-dongduong2001-pudo-code-system-rust · by DongDuong2001

A Claude skill from DongDuong2001/pudo-code-system.

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-dongduong2001-pudo-code-system-rust

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Rust? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.