[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CXHYX6ZMF0WVX4MJ4G87GS":3,"skill-same:01M6CXHYX6ZMF0WVX4MJ4G87GS":57},{"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":22,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":37,"commitSha":38,"skillDirectory":5,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M6CXHYX6ZMF0WVX4MJ4G87GS","rust",null,"Rust systems programming language for safe, concurrent, practical software","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Frust\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[5,23,24,25,26,27,28],"safe","programming language","programming","opencode","language","practical","2026-11-10 10:12:30",false,"---\nname: rust\ndescription: Rust systems programming language for safe, concurrent, practical software\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: developers\n  category: programming-languages\n---\n## What I do\n- Write memory-safe systems code\n- Implement error handling with Result and Option\n- Use lifetimes and generics\n- Create concurrent programs with async\u002Fawait\n- Build CLI tools with Clap\n- Write web services with Axum\n- Use cargo for project management\n\n## When to use me\nWhen building high-performance, memory-safe applications or systems software.\n\n## Ownership & Borrowing\n```rust\nfn main() {\n    let s1 = String::from(\"hello\");\n    let s2 = s1;  \u002F\u002F s1 moved to s2\n    \n    \u002F\u002F Clone to avoid move\n    let s3 = s2.clone();\n    \n    \u002F\u002F Borrowing\n    let len = calculate_length(&s3);\n    \n    \u002F\u002F Mutable reference\n    let mut s = String::from(\"hello\");\n    change(&mut s);\n}\n\nfn calculate_length(s: &String) -> usize {\n    s.len()\n}\n\nfn change(s: &mut String) {\n    s.push_str(\", world\");\n}\n```\n\n## Error Handling\n```rust\nuse std::fs::File;\nuse std::io::{self, Read};\n\nfn read_file(path: &str) -> Result\u003CString, io::Error> {\n    let mut file = File::open(path)?;\n    let mut contents = String::new();\n    file.read_to_string(&mut contents)?;\n    Ok(contents)\n}\n\n\u002F\u002F Using match\nfn main() {\n    match read_file(\"example.txt\") {\n        Ok(contents) => println!(\"{}\", contents),\n        Err(e) => eprintln!(\"Error: {}\", e),\n    }\n}\n\n\u002F\u002F Using if let\nfn main() {\n    if let Ok(contents) = read_file(\"example.txt\") {\n        println!(\"{}\", contents);\n    }\n}\n\n\u002F\u002F Custom error type\n#[derive(Debug)]\nenum AppError {\n    Io(std::io::Error),\n    Parse(std::num::ParseIntError),\n}\n\nimpl From\u003Cstd::io::Error> for AppError {\n    fn from(err: std::io::Error) -> Self {\n        AppError::Io(err)\n    }\n}\n```\n\n## Structs & Impl\n```rust\nstruct Rectangle {\n    width: u32,\n    height: u32,\n}\n\nimpl Rectangle {\n    fn new(width: u32, height: u32) -> Self {\n        Rectangle { width, height }\n    }\n    \n    fn area(&self) -> u32 {\n        self.width * self.height\n    }\n    \n    fn can_hold(&self, other: &Rectangle) -> bool {\n        self.width > other.width && self.height > other.height\n    }\n}\n\n\u002F\u002F Associated function (no self)\nimpl Rectangle {\n    fn square(size: u32) -> Self {\n        Rectangle { width: size, height: size }\n    }\n}\n```\n\n## Traits & Generics\n```rust\ntrait Summary {\n    fn summarize(&self) -> String;\n    \n    \u002F\u002F Default implementation\n    fn summarize_author(&self) -> String {\n        format!(\"(Read more from {}...)\", self.summarize())\n    }\n}\n\nstruct Article {\n    title: String,\n    author: String,\n}\n\nimpl Summary for Article {\n    fn summarize(&self) -> String {\n        format!(\"{}, by {}\", self.title, self.author)\n    }\n}\n\n\u002F\u002F Generic function\nfn largest\u003CT: PartialOrd>(list: &[T]) -> &T {\n    let mut largest = &list[0];\n    for item in list {\n        if item > largest {\n            largest = item;\n        }\n    }\n    largest\n}\n```\n\n## Concurrency\n```rust\nuse std::thread;\nuse std::sync::Mutex;\n\nfn main() {\n    let handle = thread::spawn(|| {\n        for i in 1..10 {\n            println!(\"thread: {}\", i);\n        }\n    });\n    \n    handle.join().unwrap();\n}\n\n\u002F\u002F Shared state\nfn main() {\n    let counter = Mutex::new(0);\n    \n    let mut handles = vec![];\n    for _ in 0..10 {\n        let handle = thread::spawn(|| {\n            let mut num = counter.lock().unwrap();\n            *num += 1;\n        });\n        handles.push(handle);\n    }\n    \n    for handle in handles {\n        handle.join().unwrap();\n    }\n    \n    println!(\"Result: {}\", *counter.lock().unwrap());\n}\n```\n\n## Async\u002FAwait\n```rust\nuse async_std;\n\nasync fn fetch_url(url: &str) -> Result\u003CString, reqwest::Error> {\n    let resp = reqwest::get(url).await?;\n    let body = resp.text().await?;\n    Ok(body)\n}\n\n#[tokio::main]\nasync fn main() {\n    let result = fetch_url(\"https:\u002F\u002Fexample.com\").await;\n    match result {\n        Ok(body) => println!(\"{}\", body),\n        Err(e) => eprintln!(\"Error: {}\", e),\n    }\n}\n```\n\n## CLI with Clap\n```rust\nuse clap::{Parser, Subcommand};\n\n#[derive(Parser)]\n#[command(name = \"myapp\")]\n#[command(about = \"A CLI app\", long_about = None)]\nstruct Cli {\n    #[command(subcommand)]\n    command: Commands,\n    \n    #[arg(short, long, global = true)]\n    verbose: bool,\n}\n\n#[derive(Subcommand)]\nenum Commands {\n    Add { name: String },\n    Remove { id: u32 },\n    List,\n}\n\nfn main() {\n    let cli = Cli::parse();\n    \n    match &cli.command {\n        Commands::Add { name } => println!(\"Adding: {}\", name),\n        Commands::Remove { id } => println!(\"Removing: {}\", id),\n        Commands::List => println!(\"Listing all\"),\n    }\n}\n```\n","## What I do\n- Write memory-safe systems code\n- Implement error handling with Result and Option\n- Use lifetimes and generics\n- Create concurrent programs with async\u002Fawait\n- Build CLI tools with Clap\n- Write web services with Axum\n- Use cargo for project management\n\n## When to use me\nWhen building high-performance, memory-safe applications or systems software.\n\n## Ownership & Borrowing\n```rust\nfn main() {\n    let s1 = String::from(\"hello\");\n    let s2 = s1;  \u002F\u002F s1 moved to s2\n    \n    \u002F\u002F Clone to avoid move\n    let s3 = s2.clone();\n    \n    \u002F\u002F Borrowing\n    let len = calculate_length(&s3);\n    \n    \u002F\u002F Mutable reference\n    let mut s = String::from(\"hello\");\n    change(&mut s);\n}\n\nfn calculate_length(s: &String) -> usize {\n    s.len()\n}\n\nfn change(s: &mut String) {\n    s.push_str(\", world\");\n}\n```\n\n## Error Handling\n```rust\nuse std::fs::File;\nuse std::io::{self, Read};\n\nfn read_file(path: &str) -> Result\u003CString, io::Error> {\n    let mut file = File::open(path)?;\n    let mut contents = String::new();\n    file.read_to_string(&mut contents)?;\n    Ok(contents)\n}\n\n\u002F\u002F Using match\nfn main() {\n    match read_file(\"example.txt\") {\n        Ok(contents) => println!(\"{}\", contents),\n        Err(e) => eprintln!(\"Error: {}\", e),\n    }\n}\n\n\u002F\u002F Using if let\nfn main() {\n    if let Ok(contents) = read_file(\"example.txt\") {\n        println!(\"{}\", contents);\n    }\n}\n\n\u002F\u002F Custom error type\n#[derive(Debug)]\nenum AppError {\n    Io(std::io::Error),\n    Parse(std::num::ParseIntError),\n}\n\nimpl From\u003Cstd::io::Error> for AppError {\n    fn from(err: std::io::Error) -> Self {\n        AppError::Io(err)\n    }\n}\n```\n\n## Structs & Impl\n```rust\nstruct Rectangle {\n    width: u32,\n    height: u32,\n}\n\nimpl Rectangle {\n    fn new(width: u32, height: u32) -> Self {\n        Rectangle { width, height }\n    }\n    \n    fn area(&self) -> u32 {\n        self.width * self.height\n    }\n    \n    fn can_hold(&self, other: &Rectangle) -> bool {\n        self.width > other.width && self.height > other.height\n    }\n}\n\n\u002F\u002F Associated function (no self)\nimpl Rectangle {\n    fn square(size: u32) -> Self {\n        Rectangle { width: size, height: size }\n    }\n}\n```\n\n## Traits & Generics\n```rust\ntrait Summary {\n    fn summarize(&self) -> String;\n    \n    \u002F\u002F Default implementation\n    fn summarize_author(&self) -> String {\n        format!(\"(Read more from {}...)\", self.summarize())\n    }\n}\n\nstruct Article {\n    title: String,\n    author: String,\n}\n\nimpl Summary for Article {\n    fn summarize(&self) -> String {\n        format!(\"{}, by {}\", self.title, self.author)\n    }\n}\n\n\u002F\u002F Generic function\nfn largest\u003CT: PartialOrd>(list: &[T]) -> &T {\n    let mut largest = &list[0];\n    for item in list {\n        if item > largest {\n            largest = item;\n        }\n    }\n    largest\n}\n```\n\n## Concurrency\n```rust\nuse std::thread;\nuse std::sync::Mutex;\n\nfn main() {\n    let handle = thread::spawn(|| {\n        for i in 1..10 {\n            println!(\"thread: {}\", i);\n        }\n    });\n    \n    handle.join().unwrap();\n}\n\n\u002F\u002F Shared state\nfn main() {\n    let counter = Mutex::new(0);\n    \n    let mut handles = vec![];\n    for _ in 0..10 {\n        let handle = thread::spawn(|| {\n            let mut num = counter.lock().unwrap();\n            *num += 1;\n        });\n        handles.push(handle);\n    }\n    \n    for handle in handles {\n        handle.join().unwrap();\n    }\n    \n    println!(\"Result: {}\", *counter.lock().unwrap());\n}\n```\n\n## Async\u002FAwait\n```rust\nuse async_std;\n\nasync fn fetch_url(url: &str) -> Result\u003CString, reqwest::Error> {\n    let resp = reqwest::get(url).await?;\n    let body = resp.text().await?;\n    Ok(body)\n}\n\n#[tokio::main]\nasync fn main() {\n    let result = fetch_url(\"https:\u002F\u002Fexample.com\").await;\n    match result {\n        Ok(body) => println!(\"{}\", body),\n        Err(e) => eprintln!(\"Error: {}\", e),\n    }\n}\n```\n\n## CLI with Clap\n```rust\nuse clap::{Parser, Subcommand};\n\n#[derive(Parser)]\n#[command(name = \"myapp\")]\n#[command(about = \"A CLI app\", long_about = None)]\nstruct Cli {\n    #[command(subcommand)]\n    command: Commands,\n    \n    #[arg(short, long, global = true)]\n    verbose: bool,\n}\n\n#[derive(Subcommand)]\nenum Commands {\n    Add { name: String },\n    Remove { id: u32 },\n    List,\n}\n\nfn main() {\n    let cli = Cli::parse();\n    \n    match &cli.command {\n        Commands::Add { name } => println!(\"Adding: {}\", name),\n        Commands::Remove { id } => println!(\"Removing: {}\", id),\n        Commands::List => println!(\"Listing all\"),\n    }\n}\n```\n",{"name":5,"license":14,"metadata":34,"description":7,"compatibility":26},{"audience":35,"category":36},"developers","programming-languages","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill rust",{"tool":49,"command":50},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill rust",{"tool":52,"command":53},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill rust","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Frust\u002FSKILL.md",true,[],[58,69,79,88,98,107],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":29},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[60,65,66,67,26,68],"platform","cross-platform","mobile","development",{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":29},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[71,76,26,77,78],"data wrangling","science","data",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":29},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[81,86,26,87],"system","scripting",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":29},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[95,96,26,97,78],"wide column","databases","model",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":29},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[105,96,26,106],"wide column stores","database",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":29},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[109,114,115,116,26,117,118],"websocket","real-time","time","best practices","implementation"]