[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CE59NX6F9FYJCDR2S81G8V":3,"skill-same:01M7CE59NX6F9FYJCDR2S81G8V":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7CE59NX6F9FYJCDR2S81G8V","systems-programming-rust-project",null,"You are a Rust project architecture expert specializing in scaffolding production-ready Rust applications. Generate complete project structures with cargo tooling, proper module organization, testing","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fsystems-programming-rust-project\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: systems-programming-rust-project\ndescription: \"You are a Rust project architecture expert specializing in scaffolding production-ready Rust applications. Generate complete project structures with cargo tooling, proper module organization, testing\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Rust Project Scaffolding\n\nYou are a Rust project architecture expert specializing in scaffolding production-ready Rust applications. Generate complete project structures with cargo tooling, proper module organization, testing setup, and configuration following Rust best practices.\n\n## Use this skill when\n\n- Working on rust project scaffolding tasks or workflows\n- Needing guidance, best practices, or checklists for rust project scaffolding\n\n## Do not use this skill when\n\n- The task is unrelated to rust project scaffolding\n- You need a different domain or tool outside this scope\n\n## Context\n\nThe user needs automated Rust project scaffolding that creates idiomatic, safe, and performant applications with proper structure, dependency management, testing, and build configuration. Focus on Rust idioms and scalable architecture.\n\n## Requirements\n\n$ARGUMENTS\n\n## Instructions\n\n### 1. Analyze Project Type\n\nDetermine the project type from user requirements:\n- **Binary**: CLI tools, applications, services\n- **Library**: Reusable crates, shared utilities\n- **Workspace**: Multi-crate projects, monorepos\n- **Web API**: Actix\u002FAxum web services, REST APIs\n- **WebAssembly**: Browser-based applications\n\n### 2. Initialize Project with Cargo\n\n```bash\n# Create binary project\ncargo new project-name\ncd project-name\n\n# Or create library\ncargo new --lib library-name\n\n# Initialize git (cargo does this automatically)\n# Add to .gitignore if needed\necho \"\u002Ftarget\" >> .gitignore\necho \"Cargo.lock\" >> .gitignore  # For libraries only\n```\n\n### 3. Generate Binary Project Structure\n\n```\nbinary-project\u002F\n├── Cargo.toml\n├── README.md\n├── src\u002F\n│   ├── main.rs\n│   ├── config.rs\n│   ├── cli.rs\n│   ├── commands\u002F\n│   │   ├── mod.rs\n│   │   ├── init.rs\n│   │   └── run.rs\n│   ├── error.rs\n│   └── lib.rs\n├── tests\u002F\n│   ├── integration_test.rs\n│   └── common\u002F\n│       └── mod.rs\n├── benches\u002F\n│   └── benchmark.rs\n└── examples\u002F\n    └── basic_usage.rs\n```\n\n**Cargo.toml**:\n```toml\n[package]\nname = \"project-name\"\nversion = \"0.1.0\"\nedition = \"2021\"\nrust-version = \"1.75\"\nauthors = [\"Your Name \u003Cemail@example.com>\"]\ndescription = \"Project description\"\nlicense = \"MIT OR Apache-2.0\"\nrepository = \"https:\u002F\u002Fgithub.com\u002Fuser\u002Fproject-name\"\n\n[dependencies]\nclap = { version = \"4.5\", features = [\"derive\"] }\ntokio = { version = \"1.36\", features = [\"full\"] }\nanyhow = \"1.0\"\nserde = { version = \"1.0\", features = [\"derive\"] }\nserde_json = \"1.0\"\n\n[dev-dependencies]\ncriterion = \"0.5\"\n\n[[bench]]\nname = \"benchmark\"\nharness = false\n\n[profile.release]\nopt-level = 3\nlto = true\ncodegen-units = 1\n```\n\n**src\u002Fmain.rs**:\n```rust\nuse anyhow::Result;\nuse clap::Parser;\n\nmod cli;\nmod commands;\nmod config;\nmod error;\n\nuse cli::Cli;\n\n#[tokio::main]\nasync fn main() -> Result\u003C()> {\n    let cli = Cli::parse();\n\n    match cli.command {\n        cli::Commands::Init(args) => commands::init::execute(args).await?,\n        cli::Commands::Run(args) => commands::run::execute(args).await?,\n    }\n\n    Ok(())\n}\n```\n\n**src\u002Fcli.rs**:\n```rust\nuse clap::{Parser, Subcommand};\n\n#[derive(Parser)]\n#[command(name = \"project-name\")]\n#[command(about = \"Project description\", long_about = None)]\npub struct Cli {\n    #[command(subcommand)]\n    pub command: Commands,\n}\n\n#[derive(Subcommand)]\npub enum Commands {\n    \u002F\u002F\u002F Initialize a new project\n    Init(InitArgs),\n    \u002F\u002F\u002F Run the application\n    Run(RunArgs),\n}\n\n#[derive(Parser)]\npub struct InitArgs {\n    \u002F\u002F\u002F Project name\n    #[arg(short, long)]\n    pub name: String,\n}\n\n#[derive(Parser)]\npub struct RunArgs {\n    \u002F\u002F\u002F Enable verbose output\n    #[arg(short, long)]\n    pub verbose: bool,\n}\n```\n\n**src\u002Ferror.rs**:\n```rust\nuse std::fmt;\n\n#[derive(Debug)]\npub enum AppError {\n    NotFound(String),\n    InvalidInput(String),\n    IoError(std::io::Error),\n}\n\nimpl fmt::Display for AppError {\n    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {\n        match self {\n            AppError::NotFound(msg) => write!(f, \"Not found: {}\", msg),\n            AppError::InvalidInput(msg) => write!(f, \"Invalid input: {}\", msg),\n            AppError::IoError(e) => write!(f, \"IO error: {}\", e),\n        }\n    }\n}\n\nimpl std::error::Error for AppError {}\n\npub type Result\u003CT> = std::result::Result\u003CT, AppError>;\n```\n\n### 4. Generate Library Project Structure\n\n```\nlibrary-name\u002F\n├── Cargo.toml\n├── README.md\n├── src\u002F\n│   ├── lib.rs\n│   ├── core.rs\n│   ├── utils.rs\n│   └── error.rs\n├── tests\u002F\n│   └── integration_test.rs\n└── examples\u002F\n    └── basic.rs\n```\n\n**Cargo.toml for Library**:\n```toml\n[package]\nname = \"library-name\"\nversion = \"0.1.0\"\nedition = \"2021\"\nrust-version = \"1.75\"\n\n[dependencies]\n# Keep minimal for libraries\n\n[dev-dependencies]\ntokio-test = \"0.4\"\n\n[lib]\nname = \"library_name\"\npath = \"src\u002Flib.rs\"\n```\n\n**src\u002Flib.rs**:\n```rust\n\u002F\u002F! Library documentation\n\u002F\u002F!\n\u002F\u002F! # Examples\n\u002F\u002F!\n\u002F\u002F! ```\n\u002F\u002F! use library_name::core::CoreType;\n\u002F\u002F!\n\u002F\u002F! let instance = CoreType::new();\n\u002F\u002F! ```\n\npub mod core;\npub mod error;\npub mod utils;\n\npub use core::CoreType;\npub use error::{Error, Result};\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]\n    fn it_works() {\n        assert_eq!(2 + 2, 4);\n    }\n}\n```\n\n### 5. Generate Workspace Structure\n\n```\nworkspace\u002F\n├── Cargo.toml\n├── .gitignore\n├── crates\u002F\n│   ├── api\u002F\n│   │   ├── Cargo.toml\n│   │   └── src\u002F\n│   │       └── lib.rs\n│   ├── core\u002F\n│   │   ├── Cargo.toml\n│   │   └── src\u002F\n│   │       └── lib.rs\n│   └── cli\u002F\n│       ├── Cargo.toml\n│       └── src\u002F\n│           └── main.rs\n└── tests\u002F\n    └── integration_test.rs\n```\n\n**Cargo.toml (workspace root)**:\n```toml\n[workspace]\nmembers = [\n    \"crates\u002Fapi\",\n    \"crates\u002Fcore\",\n    \"crates\u002Fcli\",\n]\nresolver = \"2\"\n\n[workspace.package]\nversion = \"0.1.0\"\nedition = \"2021\"\nrust-version = \"1.75\"\nauthors = [\"Your Name \u003Cemail@example.com>\"]\nlicense = \"MIT OR Apache-2.0\"\n\n[workspace.dependencies]\ntokio = { version = \"1.36\", features = [\"full\"] }\nserde = { version = \"1.0\", features = [\"derive\"] }\n\n[profile.release]\nopt-level = 3\nlto = true\n```\n\n### 6. Generate Web API Structure (Axum)\n\n```\nweb-api\u002F\n├── Cargo.toml\n├── src\u002F\n│   ├── main.rs\n│   ├── routes\u002F\n│   │   ├── mod.rs\n│   │   ├── users.rs\n│   │   └── health.rs\n│   ├── handlers\u002F\n│   │   ├── mod.rs\n│   │   └── user_handler.rs\n│   ├── models\u002F\n│   │   ├── mod.rs\n│   │   └── user.rs\n│   ├── services\u002F\n│   │   ├── mod.rs\n│   │   └── user_service.rs\n│   ├── middleware\u002F\n│   │   ├── mod.rs\n│   │   └── auth.rs\n│   └── error.rs\n└── tests\u002F\n    └── api_tests.rs\n```\n\n**Cargo.toml for Web API**:\n```toml\n[package]\nname = \"web-api\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n[dependencies]\naxum = \"0.7\"\ntokio = { version = \"1.36\", features = [\"full\"] }\ntower = \"0.4\"\ntower-http = { version = \"0.5\", features = [\"trace\", \"cors\"] }\nserde = { version = \"1.0\", features = [\"derive\"] }\nserde_json = \"1.0\"\nsqlx = { version = \"0.7\", features = [\"runtime-tokio-native-tls\", \"postgres\"] }\ntracing = \"0.1\"\ntracing-subscriber = \"0.3\"\n```\n\n**src\u002Fmain.rs (Axum)**:\n```rust\nuse axum::{Router, routing::get};\nuse tower_http::cors::CorsLayer;\nuse std::net::SocketAddr;\n\nmod routes;\nmod handlers;\nmod models;\nmod services;\nmod error;\n\n#[tokio::main]\nasync fn main() {\n    tracing_subscriber::fmt::init();\n\n    let app = Router::new()\n        .route(\"\u002Fhealth\", get(routes::health::health_check))\n        .nest(\"\u002Fapi\u002Fusers\", routes::users::router())\n        .layer(CorsLayer::permissive());\n\n    let addr = SocketAddr::from(([0, 0, 0, 0], 3000));\n    tracing::info!(\"Listening on {}\", addr);\n\n    let listener = tokio::net::TcpListener::bind(addr).await.unwrap();\n    axum::serve(listener, app).await.unwrap();\n}\n```\n\n### 7. Configure Development Tools\n\n**Makefile**:\n```makefile\n.PHONY: build test lint fmt run clean bench\n\nbuild:\n\tcargo build\n\ntest:\n\tcargo test\n\nlint:\n\tcargo clippy -- -D warnings\n\nfmt:\n\tcargo fmt --check\n\nrun:\n\tcargo run\n\nclean:\n\tcargo clean\n\nbench:\n\tcargo bench\n```\n\n**rustfmt.toml**:\n```toml\nedition = \"2021\"\nmax_width = 100\ntab_spaces = 4\nuse_small_heuristics = \"Max\"\n```\n\n**clippy.toml**:\n```toml\ncognitive-complexity-threshold = 30\n```\n\n## Output Format\n\n1. **Project Structure**: Complete directory tree with idiomatic Rust organization\n2. **Configuration**: Cargo.toml with dependencies and build settings\n3. **Entry Point**: main.rs or lib.rs with proper documentation\n4. **Tests**: Unit and integration test structure\n5. **Documentation**: README and code documentation\n6. **Development Tools**: Makefile, clippy\u002Frustfmt configs\n\nFocus on creating idiomatic Rust projects with strong type safety, proper error handling, and comprehensive testing setup.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","# Rust Project Scaffolding\n\nYou are a Rust project architecture expert specializing in scaffolding production-ready Rust applications. Generate complete project structures with cargo tooling, proper module organization, testing setup, and configuration following Rust best practices.\n\n## Use this skill when\n\n- Working on rust project scaffolding tasks or workflows\n- Needing guidance, best practices, or checklists for rust project scaffolding\n\n## Do not use this skill when\n\n- The task is unrelated to rust project scaffolding\n- You need a different domain or tool outside this scope\n\n## Context\n\nThe user needs automated Rust project scaffolding that creates idiomatic, safe, and performant applications with proper structure, dependency management, testing, and build configuration. Focus on Rust idioms and scalable architecture.\n\n## Requirements\n\n$ARGUMENTS\n\n## Instructions\n\n### 1. Analyze Project Type\n\nDetermine the project type from user requirements:\n- **Binary**: CLI tools, applications, services\n- **Library**: Reusable crates, shared utilities\n- **Workspace**: Multi-crate projects, monorepos\n- **Web API**: Actix\u002FAxum web services, REST APIs\n- **WebAssembly**: Browser-based applications\n\n### 2. Initialize Project with Cargo\n\n```bash\n# Create binary project\ncargo new project-name\ncd project-name\n\n# Or create library\ncargo new --lib library-name\n\n# Initialize git (cargo does this automatically)\n# Add to .gitignore if needed\necho \"\u002Ftarget\" >> .gitignore\necho \"Cargo.lock\" >> .gitignore  # For libraries only\n```\n\n### 3. Generate Binary Project Structure\n\n```\nbinary-project\u002F\n├── Cargo.toml\n├── README.md\n├── src\u002F\n│   ├── main.rs\n│   ├── config.rs\n│   ├── cli.rs\n│   ├── commands\u002F\n│   │   ├── mod.rs\n│   │   ├── init.rs\n│   │   └── run.rs\n│   ├── error.rs\n│   └── lib.rs\n├── tests\u002F\n│   ├── integration_test.rs\n│   └── common\u002F\n│       └── mod.rs\n├── benches\u002F\n│   └── benchmark.rs\n└── examples\u002F\n    └── basic_usage.rs\n```\n\n**Cargo.toml**:\n```toml\n[package]\nname = \"project-name\"\nversion = \"0.1.0\"\nedition = \"2021\"\nrust-version = \"1.75\"\nauthors = [\"Your Name \u003Cemail@example.com>\"]\ndescription = \"Project description\"\nlicense = \"MIT OR Apache-2.0\"\nrepository = \"https:\u002F\u002Fgithub.com\u002Fuser\u002Fproject-name\"\n\n[dependencies]\nclap = { version = \"4.5\", features = [\"derive\"] }\ntokio = { version = \"1.36\", features = [\"full\"] }\nanyhow = \"1.0\"\nserde = { version = \"1.0\", features = [\"derive\"] }\nserde_json = \"1.0\"\n\n[dev-dependencies]\ncriterion = \"0.5\"\n\n[[bench]]\nname = \"benchmark\"\nharness = false\n\n[profile.release]\nopt-level = 3\nlto = true\ncodegen-units = 1\n```\n\n**src\u002Fmain.rs**:\n```rust\nuse anyhow::Result;\nuse clap::Parser;\n\nmod cli;\nmod commands;\nmod config;\nmod error;\n\nuse cli::Cli;\n\n#[tokio::main]\nasync fn main() -> Result\u003C()> {\n    let cli = Cli::parse();\n\n    match cli.command {\n        cli::Commands::Init(args) => commands::init::execute(args).await?,\n        cli::Commands::Run(args) => commands::run::execute(args).await?,\n    }\n\n    Ok(())\n}\n```\n\n**src\u002Fcli.rs**:\n```rust\nuse clap::{Parser, Subcommand};\n\n#[derive(Parser)]\n#[command(name = \"project-name\")]\n#[command(about = \"Project description\", long_about = None)]\npub struct Cli {\n    #[command(subcommand)]\n    pub command: Commands,\n}\n\n#[derive(Subcommand)]\npub enum Commands {\n    \u002F\u002F\u002F Initialize a new project\n    Init(InitArgs),\n    \u002F\u002F\u002F Run the application\n    Run(RunArgs),\n}\n\n#[derive(Parser)]\npub struct InitArgs {\n    \u002F\u002F\u002F Project name\n    #[arg(short, long)]\n    pub name: String,\n}\n\n#[derive(Parser)]\npub struct RunArgs {\n    \u002F\u002F\u002F Enable verbose output\n    #[arg(short, long)]\n    pub verbose: bool,\n}\n```\n\n**src\u002Ferror.rs**:\n```rust\nuse std::fmt;\n\n#[derive(Debug)]\npub enum AppError {\n    NotFound(String),\n    InvalidInput(String),\n    IoError(std::io::Error),\n}\n\nimpl fmt::Display for AppError {\n    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {\n        match self {\n            AppError::NotFound(msg) => write!(f, \"Not found: {}\", msg),\n            AppError::InvalidInput(msg) => write!(f, \"Invalid input: {}\", msg),\n            AppError::IoError(e) => write!(f, \"IO error: {}\", e),\n        }\n    }\n}\n\nimpl std::error::Error for AppError {}\n\npub type Result\u003CT> = std::result::Result\u003CT, AppError>;\n```\n\n### 4. Generate Library Project Structure\n\n```\nlibrary-name\u002F\n├── Cargo.toml\n├── README.md\n├── src\u002F\n│   ├── lib.rs\n│   ├── core.rs\n│   ├── utils.rs\n│   └── error.rs\n├── tests\u002F\n│   └── integration_test.rs\n└── examples\u002F\n    └── basic.rs\n```\n\n**Cargo.toml for Library**:\n```toml\n[package]\nname = \"library-name\"\nversion = \"0.1.0\"\nedition = \"2021\"\nrust-version = \"1.75\"\n\n[dependencies]\n# Keep minimal for libraries\n\n[dev-dependencies]\ntokio-test = \"0.4\"\n\n[lib]\nname = \"library_name\"\npath = \"src\u002Flib.rs\"\n```\n\n**src\u002Flib.rs**:\n```rust\n\u002F\u002F! Library documentation\n\u002F\u002F!\n\u002F\u002F! # Examples\n\u002F\u002F!\n\u002F\u002F! ```\n\u002F\u002F! use library_name::core::CoreType;\n\u002F\u002F!\n\u002F\u002F! let instance = CoreType::new();\n\u002F\u002F! ```\n\npub mod core;\npub mod error;\npub mod utils;\n\npub use core::CoreType;\npub use error::{Error, Result};\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]\n    fn it_works() {\n        assert_eq!(2 + 2, 4);\n    }\n}\n```\n\n### 5. Generate Workspace Structure\n\n```\nworkspace\u002F\n├── Cargo.toml\n├── .gitignore\n├── crates\u002F\n│   ├── api\u002F\n│   │   ├── Cargo.toml\n│   │   └── src\u002F\n│   │       └── lib.rs\n│   ├── core\u002F\n│   │   ├── Cargo.toml\n│   │   └── src\u002F\n│   │       └── lib.rs\n│   └── cli\u002F\n│       ├── Cargo.toml\n│       └── src\u002F\n│           └── main.rs\n└── tests\u002F\n    └── integration_test.rs\n```\n\n**Cargo.toml (workspace root)**:\n```toml\n[workspace]\nmembers = [\n    \"crates\u002Fapi\",\n    \"crates\u002Fcore\",\n    \"crates\u002Fcli\",\n]\nresolver = \"2\"\n\n[workspace.package]\nversion = \"0.1.0\"\nedition = \"2021\"\nrust-version = \"1.75\"\nauthors = [\"Your Name \u003Cemail@example.com>\"]\nlicense = \"MIT OR Apache-2.0\"\n\n[workspace.dependencies]\ntokio = { version = \"1.36\", features = [\"full\"] }\nserde = { version = \"1.0\", features = [\"derive\"] }\n\n[profile.release]\nopt-level = 3\nlto = true\n```\n\n### 6. Generate Web API Structure (Axum)\n\n```\nweb-api\u002F\n├── Cargo.toml\n├── src\u002F\n│   ├── main.rs\n│   ├── routes\u002F\n│   │   ├── mod.rs\n│   │   ├── users.rs\n│   │   └── health.rs\n│   ├── handlers\u002F\n│   │   ├── mod.rs\n│   │   └── user_handler.rs\n│   ├── models\u002F\n│   │   ├── mod.rs\n│   │   └── user.rs\n│   ├── services\u002F\n│   │   ├── mod.rs\n│   │   └── user_service.rs\n│   ├── middleware\u002F\n│   │   ├── mod.rs\n│   │   └── auth.rs\n│   └── error.rs\n└── tests\u002F\n    └── api_tests.rs\n```\n\n**Cargo.toml for Web API**:\n```toml\n[package]\nname = \"web-api\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n[dependencies]\naxum = \"0.7\"\ntokio = { version = \"1.36\", features = [\"full\"] }\ntower = \"0.4\"\ntower-http = { version = \"0.5\", features = [\"trace\", \"cors\"] }\nserde = { version = \"1.0\", features = [\"derive\"] }\nserde_json = \"1.0\"\nsqlx = { version = \"0.7\", features = [\"runtime-tokio-native-tls\", \"postgres\"] }\ntracing = \"0.1\"\ntracing-subscriber = \"0.3\"\n```\n\n**src\u002Fmain.rs (Axum)**:\n```rust\nuse axum::{Router, routing::get};\nuse tower_http::cors::CorsLayer;\nuse std::net::SocketAddr;\n\nmod routes;\nmod handlers;\nmod models;\nmod services;\nmod error;\n\n#[tokio::main]\nasync fn main() {\n    tracing_subscriber::fmt::init();\n\n    let app = Router::new()\n        .route(\"\u002Fhealth\", get(routes::health::health_check))\n        .nest(\"\u002Fapi\u002Fusers\", routes::users::router())\n        .layer(CorsLayer::permissive());\n\n    let addr = SocketAddr::from(([0, 0, 0, 0], 3000));\n    tracing::info!(\"Listening on {}\", addr);\n\n    let listener = tokio::net::TcpListener::bind(addr).await.unwrap();\n    axum::serve(listener, app).await.unwrap();\n}\n```\n\n### 7. Configure Development Tools\n\n**Makefile**:\n```makefile\n.PHONY: build test lint fmt run clean bench\n\nbuild:\n\tcargo build\n\ntest:\n\tcargo test\n\nlint:\n\tcargo clippy -- -D warnings\n\nfmt:\n\tcargo fmt --check\n\nrun:\n\tcargo run\n\nclean:\n\tcargo clean\n\nbench:\n\tcargo bench\n```\n\n**rustfmt.toml**:\n```toml\nedition = \"2021\"\nmax_width = 100\ntab_spaces = 4\nuse_small_heuristics = \"Max\"\n```\n\n**clippy.toml**:\n```toml\ncognitive-complexity-threshold = 30\n```\n\n## Output Format\n\n1. **Project Structure**: Complete directory tree with idiomatic Rust organization\n2. **Configuration**: Cargo.toml with dependencies and build settings\n3. **Entry Point**: main.rs or lib.rs with proper documentation\n4. **Tests**: Unit and integration test structure\n5. **Documentation**: README and code documentation\n6. **Development Tools**: Makefile, clippy\u002Frustfmt configs\n\nFocus on creating idiomatic Rust projects with strong type safety, proper error handling, and comprehensive testing setup.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7},"unknown","community","2026-02-27","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fsystems-programming-rust-project",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill systems-programming-rust-project",{"tool":42,"command":43},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill systems-programming-rust-project",{"tool":45,"command":46},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill systems-programming-rust-project","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills\u002Fskills\u002Fsystems-programming-rust-project\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]