[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72ZCYQHTF663B15XJTMB8QM":3,"skill-same:01M72ZCYQHTF663B15XJTMB8QM":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M72ZCYQHTF663B15XJTMB8QM","rust-engineer",null,"Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions. Implements ownership patterns, manages lifetimes, designs trait hierarchies, builds async applications with tokio, and structures error handling with Result\u002FOption. Use when building Rust applications, solving ownership or borrowing issues, designing trait-based APIs, implementing async\u002Fawait concurrency, creating FFI bindings, or optimizing for performance and memory safety. Invoke for Rust, Cargo, ownership, borrowing, lifetimes, async Rust, tokio, zero-cost abstractions, memory safety, systems programming.","enigmaicon-eng\u002FAI-Enterprise-OS","enigmaicon-eng","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269773191?v=4","01M72YXXYN7Q7BYRHV8RAVYNWD","01M72YXXZPW35H56D6F1XSK84D",2,"MIT","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Frust-engineer\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: rust-engineer\ndescription: Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions. Implements ownership patterns, manages lifetimes, designs trait hierarchies, builds async applications with tokio, and structures error handling with Result\u002FOption. Use when building Rust applications, solving ownership or borrowing issues, designing trait-based APIs, implementing async\u002Fawait concurrency, creating FFI bindings, or optimizing for performance and memory safety. Invoke for Rust, Cargo, ownership, borrowing, lifetimes, async Rust, tokio, zero-cost abstractions, memory safety, systems programming.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: language\n  triggers: Rust, Cargo, ownership, borrowing, lifetimes, async Rust, tokio, zero-cost abstractions, memory safety, systems programming\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: test-master\n---\n\n# Rust Engineer\n\nSenior Rust engineer with deep expertise in Rust 2021 edition, systems programming, memory safety, and zero-cost abstractions. Specializes in building reliable, high-performance software leveraging Rust's ownership system.\n\n## Core Workflow\n\n1. **Analyze ownership** — Design lifetime relationships and borrowing patterns; annotate lifetimes explicitly where inference is insufficient\n2. **Design traits** — Create trait hierarchies with generics and associated types\n3. **Implement safely** — Write idiomatic Rust with minimal unsafe code; document every `unsafe` block with its safety invariants\n4. **Handle errors** — Use `Result`\u002F`Option` with `?` operator and custom error types via `thiserror`\n5. **Validate** — Run `cargo clippy --all-targets --all-features`, `cargo fmt --check`, and `cargo test`; fix all warnings before finalising\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Ownership | `references\u002Fownership.md` | Lifetimes, borrowing, smart pointers, Pin |\n| Traits | `references\u002Ftraits.md` | Trait design, generics, associated types, derive |\n| Error Handling | `references\u002Ferror-handling.md` | Result, Option, ?, custom errors, thiserror |\n| Async | `references\u002Fasync.md` | async\u002Fawait, tokio, futures, streams, concurrency |\n| Testing | `references\u002Ftesting.md` | Unit\u002Fintegration tests, proptest, benchmarks |\n\n## Key Patterns with Examples\n\n### Ownership & Lifetimes\n\n```rust\n\u002F\u002F Explicit lifetime annotation — borrow lives as long as the input slice\nfn longest\u003C'a>(x: &'a str, y: &'a str) -> &'a str {\n    if x.len() > y.len() { x } else { y }\n}\n\n\u002F\u002F Prefer borrowing over cloning\nfn process(data: &[u8]) -> usize {   \u002F\u002F &[u8] not Vec\u003Cu8>\n    data.iter().filter(|&&b| b != 0).count()\n}\n```\n\n### Trait-Based Design\n\n```rust\nuse std::fmt;\n\ntrait Summary {\n    fn summarise(&self) -> String;\n    fn preview(&self) -> String {          \u002F\u002F default implementation\n        format!(\"{}...\", &self.summarise()[..50])\n    }\n}\n\n#[derive(Debug)]\nstruct Article { title: String, body: String }\n\nimpl Summary for Article {\n    fn summarise(&self) -> String {\n        format!(\"{}: {}\", self.title, self.body)\n    }\n}\n```\n\n### Error Handling with `thiserror`\n\n```rust\nuse thiserror::Error;\n\n#[derive(Debug, Error)]\npub enum AppError {\n    #[error(\"I\u002FO error: {0}\")]\n    Io(#[from] std::io::Error),\n    #[error(\"parse error for value `{value}`: {reason}\")]\n    Parse { value: String, reason: String },\n}\n\n\u002F\u002F ? propagates errors ergonomically\nfn read_config(path: &str) -> Result\u003CString, AppError> {\n    let content = std::fs::read_to_string(path)?;  \u002F\u002F Io variant via #[from]\n    Ok(content)\n}\n```\n\n### Async \u002F Await with Tokio\n\n```rust\nuse tokio::time::{sleep, Duration};\n\n#[tokio::main]\nasync fn main() -> Result\u003C(), Box\u003Cdyn std::error::Error>> {\n    let result = fetch_data(\"https:\u002F\u002Fexample.com\").await?;\n    println!(\"{result}\");\n    Ok(())\n}\n\nasync fn fetch_data(url: &str) -> Result\u003CString, reqwest::Error> {\n    let body = reqwest::get(url).await?.text().await?;\n    Ok(body)\n}\n\n\u002F\u002F Spawn concurrent tasks — never mix blocking calls into async context\nasync fn parallel_work() {\n    let (a, b) = tokio::join!(\n        sleep(Duration::from_millis(100)),\n        sleep(Duration::from_millis(100)),\n    );\n}\n```\n\n### Validation Commands\n\n```bash\ncargo fmt --check                          # style check\ncargo clippy --all-targets --all-features  # lints\ncargo test                                 # unit + integration tests\ncargo test --doc                           # doctests\ncargo bench                                # criterion benchmarks (if present)\n```\n\n## Constraints\n\n### MUST DO\n- Use ownership and borrowing for memory safety\n- Minimize unsafe code (document all unsafe blocks with safety invariants)\n- Use type system for compile-time guarantees\n- Handle all errors explicitly (`Result`\u002F`Option`)\n- Add comprehensive documentation with examples\n- Run `cargo clippy` and fix all warnings\n- Use `cargo fmt` for consistent formatting\n- Write tests including doctests\n\n### MUST NOT DO\n- Use `unwrap()` in production code (prefer `expect()` with messages)\n- Create memory leaks or dangling pointers\n- Use `unsafe` without documenting safety invariants\n- Ignore clippy warnings\n- Mix blocking and async code incorrectly\n- Skip error handling\n- Use `String` when `&str` suffices\n- Clone unnecessarily (use borrowing)\n\n## Output Templates\n\nWhen implementing Rust features, provide:\n1. Type definitions (structs, enums, traits)\n2. Implementation with proper ownership\n3. Error handling with custom error types\n4. Tests (unit, integration, doctests)\n5. Brief explanation of design decisions\n\n## Knowledge Reference\n\nRust 2021, Cargo, ownership\u002Fborrowing, lifetimes, traits, generics, async\u002Fawait, tokio, Result\u002FOption, thiserror\u002Fanyhow, serde, clippy, rustfmt, cargo-test, criterion benchmarks, MIRI, unsafe Rust\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Frust-engineer\u002F)\n","# Rust Engineer\n\nSenior Rust engineer with deep expertise in Rust 2021 edition, systems programming, memory safety, and zero-cost abstractions. Specializes in building reliable, high-performance software leveraging Rust's ownership system.\n\n## Core Workflow\n\n1. **Analyze ownership** — Design lifetime relationships and borrowing patterns; annotate lifetimes explicitly where inference is insufficient\n2. **Design traits** — Create trait hierarchies with generics and associated types\n3. **Implement safely** — Write idiomatic Rust with minimal unsafe code; document every `unsafe` block with its safety invariants\n4. **Handle errors** — Use `Result`\u002F`Option` with `?` operator and custom error types via `thiserror`\n5. **Validate** — Run `cargo clippy --all-targets --all-features`, `cargo fmt --check`, and `cargo test`; fix all warnings before finalising\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Ownership | `references\u002Fownership.md` | Lifetimes, borrowing, smart pointers, Pin |\n| Traits | `references\u002Ftraits.md` | Trait design, generics, associated types, derive |\n| Error Handling | `references\u002Ferror-handling.md` | Result, Option, ?, custom errors, thiserror |\n| Async | `references\u002Fasync.md` | async\u002Fawait, tokio, futures, streams, concurrency |\n| Testing | `references\u002Ftesting.md` | Unit\u002Fintegration tests, proptest, benchmarks |\n\n## Key Patterns with Examples\n\n### Ownership & Lifetimes\n\n```rust\n\u002F\u002F Explicit lifetime annotation — borrow lives as long as the input slice\nfn longest\u003C'a>(x: &'a str, y: &'a str) -> &'a str {\n    if x.len() > y.len() { x } else { y }\n}\n\n\u002F\u002F Prefer borrowing over cloning\nfn process(data: &[u8]) -> usize {   \u002F\u002F &[u8] not Vec\u003Cu8>\n    data.iter().filter(|&&b| b != 0).count()\n}\n```\n\n### Trait-Based Design\n\n```rust\nuse std::fmt;\n\ntrait Summary {\n    fn summarise(&self) -> String;\n    fn preview(&self) -> String {          \u002F\u002F default implementation\n        format!(\"{}...\", &self.summarise()[..50])\n    }\n}\n\n#[derive(Debug)]\nstruct Article { title: String, body: String }\n\nimpl Summary for Article {\n    fn summarise(&self) -> String {\n        format!(\"{}: {}\", self.title, self.body)\n    }\n}\n```\n\n### Error Handling with `thiserror`\n\n```rust\nuse thiserror::Error;\n\n#[derive(Debug, Error)]\npub enum AppError {\n    #[error(\"I\u002FO error: {0}\")]\n    Io(#[from] std::io::Error),\n    #[error(\"parse error for value `{value}`: {reason}\")]\n    Parse { value: String, reason: String },\n}\n\n\u002F\u002F ? propagates errors ergonomically\nfn read_config(path: &str) -> Result\u003CString, AppError> {\n    let content = std::fs::read_to_string(path)?;  \u002F\u002F Io variant via #[from]\n    Ok(content)\n}\n```\n\n### Async \u002F Await with Tokio\n\n```rust\nuse tokio::time::{sleep, Duration};\n\n#[tokio::main]\nasync fn main() -> Result\u003C(), Box\u003Cdyn std::error::Error>> {\n    let result = fetch_data(\"https:\u002F\u002Fexample.com\").await?;\n    println!(\"{result}\");\n    Ok(())\n}\n\nasync fn fetch_data(url: &str) -> Result\u003CString, reqwest::Error> {\n    let body = reqwest::get(url).await?.text().await?;\n    Ok(body)\n}\n\n\u002F\u002F Spawn concurrent tasks — never mix blocking calls into async context\nasync fn parallel_work() {\n    let (a, b) = tokio::join!(\n        sleep(Duration::from_millis(100)),\n        sleep(Duration::from_millis(100)),\n    );\n}\n```\n\n### Validation Commands\n\n```bash\ncargo fmt --check                          # style check\ncargo clippy --all-targets --all-features  # lints\ncargo test                                 # unit + integration tests\ncargo test --doc                           # doctests\ncargo bench                                # criterion benchmarks (if present)\n```\n\n## Constraints\n\n### MUST DO\n- Use ownership and borrowing for memory safety\n- Minimize unsafe code (document all unsafe blocks with safety invariants)\n- Use type system for compile-time guarantees\n- Handle all errors explicitly (`Result`\u002F`Option`)\n- Add comprehensive documentation with examples\n- Run `cargo clippy` and fix all warnings\n- Use `cargo fmt` for consistent formatting\n- Write tests including doctests\n\n### MUST NOT DO\n- Use `unwrap()` in production code (prefer `expect()` with messages)\n- Create memory leaks or dangling pointers\n- Use `unsafe` without documenting safety invariants\n- Ignore clippy warnings\n- Mix blocking and async code incorrectly\n- Skip error handling\n- Use `String` when `&str` suffices\n- Clone unnecessarily (use borrowing)\n\n## Output Templates\n\nWhen implementing Rust features, provide:\n1. Type definitions (structs, enums, traits)\n2. Implementation with proper ownership\n3. Error handling with custom error types\n4. Tests (unit, integration, doctests)\n5. Brief explanation of design decisions\n\n## Knowledge Reference\n\nRust 2021, Cargo, ownership\u002Fborrowing, lifetimes, traits, generics, async\u002Fawait, tokio, Result\u002FOption, thiserror\u002Fanyhow, serde, clippy, rustfmt, cargo-test, criterion benchmarks, MIRI, unsafe Rust\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Frust-engineer\u002F)\n",{"name":5,"license":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":26,"domain":27,"version":28,"triggers":29,"output-format":30,"related-skills":31},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","language","1.1.0","Rust, Cargo, ownership, borrowing, lifetimes, async Rust, tokio, zero-cost abstractions, memory safety, systems programming","code","test-master","main","a4b48842f3e48549adf3dc335a8837c66da99497","examples\u002Fclaude-skills\u002Fskills\u002Frust-engineer",0,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng","2026-05-17 16:00:01",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add enigmaicon-eng\u002FAI-Enterprise-OS --skill rust-engineer",{"tool":45,"command":46},"bunx","bunx skills add enigmaicon-eng\u002FAI-Enterprise-OS --skill rust-engineer",{"tool":48,"command":49},"pnpm","pnpm dlx skills add enigmaicon-eng\u002FAI-Enterprise-OS --skill rust-engineer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Frust-engineer\u002FSKILL.md",true,[53,59,63,67,71],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fasync.md","REFERENCE","参考文档",10697,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Frust-engineer\u002Freferences\u002Fasync.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Ferror-handling.md",8135,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Frust-engineer\u002Freferences\u002Ferror-handling.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fownership.md",6080,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Frust-engineer\u002Freferences\u002Fownership.md",{"path":68,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Ftesting.md",9800,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Frust-engineer\u002Freferences\u002Ftesting.md",{"path":72,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Ftraits.md",7821,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Frust-engineer\u002Freferences\u002Ftraits.md",[76,83,90,97,104,111],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M72ZGWW03JSE1T3TKK5NZ11Y","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M72ZGT3FJT7QRM1VNQRKR0XD","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M72ZGQ69DCF0SBP9JXFPWKJS","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M72ZGNF126QT0MQ2D3DNGZRN","using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fusing-superpowers\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":18},"01M72ZGHVJ9S0YXMNBHQGQ95BY","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":18},"01M72ZGFNZCHFY2FS3ZD9MCYV9","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[]]