Skip to content
Development
Skill

/rust

- [ ] **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:**

From plugin
pudo-code-system
534 skills1 agent
Install
$ npx -y skills add DongDuong2001/pudo-code-system --skill rust --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/rust

Context preview

The summary Claude sees to decide when to auto-load this skill.

- [ ] **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:**

SKILL.md

rust.SKILL.md

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`.
Read more
Ships withpudo-code-system

Modular, scalable, automated development intelligence.

Get the whole plugin
Stats
5
Stars
0
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
1mo ago
Last commit
4mo ago
Created

Repo: DongDuong2001/pudo-code-system

Other skills on pudo-code-system.