用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill rust-pro命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when user needs capabilities Claude lacks (image generation, real-time X/Twitter data) or explicitly requests external models ("blockrun", "use grok", "use gpt", "dall-e", "deepseek")
Principal AI Architect and Machine Learning Engineer.
Elite Cloud and Multi-Cloud Architect Master Skill.
基于 SOC 职业分类
正在显示 SKILL.md
| name | rust-pro |
| description | Master Rust 1.75+ development with async runtime (Tokio/smol). |
| category | development |
| version | 4.1.0-fractal |
| layer | master-skill |
Goal: Write idiomatic, high-performance, and memory-safe Rust code following standard community practices (The Rust Way).
.clone() unless necessary. Use Arc<Mutex<T>> or RwLock<T> for shared state only when message passing (mpsc) is not viable.Result<T, E> with thiserror for libraries and anyhow for applications. Never use .unwrap() in production code; use .expect() with a context message or ? operator.tokio for general purpose apps. Use join_all for parallel execution of futures.New Type pattern to enforce validation at compile time.cargoclippy (Treat warnings as errors in CI)rustfmt#[test] and cargo test. Use mockall for mocking traits.my_crate/
├── Cargo.toml
├── src/
│ ├── main.rs # Binary entry point
│ ├── lib.rs # Library entry point
│ ├── bin/ # Additional binaries
│ ├── models/ # Data structures
│ ├── error.rs # Central error definition
│ └── utils.rs # Helper functions
└── tests/ # Integration tests
└── integration_test.rs
tokio, futuresaxum or actix-webserde, serde_jsonanyhow, thiserrortracing, tracing-subscriberconfig crate for environment managementString only when ownership is needed; prefer &str for function arguments.unsafe blocks unless absolutely necessary and documented with // SAFETY: comment explaining why it holds.Vec::with_capacity(n) if size is known.struct and enum definitions.main.rs or lib.rs.tests/.Anti-Patterns to Avoid:
Box<dyn Trait> (prefer generics with static dispatch).Result (always handle or propagate).