[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AWRHRJQHJC39XH5B9EV4TY":3,"skill-same:01M7AWRHRJQHJC39XH5B9EV4TY":55},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7AWRHRJQHJC39XH5B9EV4TY","coding-guidelines",null,"Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, code review, naming convention, variable naming, function naming, type naming, 命名规范, 代码风格, 格式化, 最佳实践, 代码审查, 怎么命名","wxxb789\u002Fmarkturbo","wxxb789","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F49564443?v=4","01M7AWR3AB19SNE4ATARY9KV3W","01M7AWR3AZ5Y5ADAY47KF3RBRJ",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcoding-guidelines\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: coding-guidelines\ndescription: \"Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, code review, naming convention, variable naming, function naming, type naming, 命名规范, 代码风格, 格式化, 最佳实践, 代码审查, 怎么命名\"\nsource: https:\u002F\u002Frust-coding-guidelines.github.io\u002Frust-coding-guidelines-zh\u002F\nuser-invocable: false\n---\n\n# Rust Coding Guidelines (50 Core Rules)\n\n## Naming (Rust-Specific)\n\n| Rule | Guideline |\n|------|-----------|\n| No `get_` prefix | `fn name()` not `fn get_name()` |\n| Iterator convention | `iter()` \u002F `iter_mut()` \u002F `into_iter()` |\n| Conversion naming | `as_` (cheap &), `to_` (expensive), `into_` (ownership) |\n| Static var prefix | `G_CONFIG` for `static`, no prefix for `const` |\n\n## Data Types\n\n| Rule | Guideline |\n|------|-----------|\n| Use newtypes | `struct Email(String)` for domain semantics |\n| Prefer slice patterns | `if let [first, .., last] = slice` |\n| Pre-allocate | `Vec::with_capacity()`, `String::with_capacity()` |\n| Avoid Vec abuse | Use arrays for fixed sizes |\n\n## Strings\n\n| Rule | Guideline |\n|------|-----------|\n| Prefer bytes | `s.bytes()` over `s.chars()` when ASCII |\n| Use `Cow\u003Cstr>` | When might modify borrowed data |\n| Use `format!` | Over string concatenation with `+` |\n| Avoid nested iteration | `contains()` on string is O(n*m) |\n\n## Error Handling\n\n| Rule | Guideline |\n|------|-----------|\n| Use `?` propagation | Not `try!()` macro |\n| `expect()` over `unwrap()` | When value guaranteed |\n| Assertions for invariants | `assert!` at function entry |\n\n## Memory\n\n| Rule | Guideline |\n|------|-----------|\n| Meaningful lifetimes | `'src`, `'ctx` not just `'a` |\n| `try_borrow()` for RefCell | Avoid panic |\n| Shadowing for transformation | `let x = x.parse()?` |\n\n## Concurrency\n\n| Rule | Guideline |\n|------|-----------|\n| Identify lock ordering | Prevent deadlocks |\n| Atomics for primitives | Not Mutex for bool\u002Fusize |\n| Choose memory order carefully | Relaxed\u002FAcquire\u002FRelease\u002FSeqCst |\n\n## Async\n\n| Rule | Guideline |\n|------|-----------|\n| Sync for CPU-bound | Async is for I\u002FO |\n| Don't hold locks across await | Use scoped guards |\n\n## Macros\n\n| Rule | Guideline |\n|------|-----------|\n| Avoid unless necessary | Prefer functions\u002Fgenerics |\n| Follow Rust syntax | Macro input should look like Rust |\n\n## Deprecated → Better\n\n| Deprecated | Better | Since |\n|------------|--------|-------|\n| `lazy_static!` | `std::sync::OnceLock` | 1.70 |\n| `once_cell::Lazy` | `std::sync::LazyLock` | 1.80 |\n| `std::sync::mpsc` | `crossbeam::channel` | - |\n| `std::sync::Mutex` | `parking_lot::Mutex` | - |\n| `failure`\u002F`error-chain` | `thiserror`\u002F`anyhow` | - |\n| `try!()` | `?` operator | 2018 |\n\n## Quick Reference\n\n```\nNaming: snake_case (fn\u002Fvar), CamelCase (type), SCREAMING_CASE (const)\nFormat: rustfmt (just use it)\nDocs: \u002F\u002F\u002F for public items, \u002F\u002F! for module docs\nLint: #![warn(clippy::all)]\n```\n\nClaude knows Rust conventions well. These are the non-obvious Rust-specific rules.\n","# Rust Coding Guidelines (50 Core Rules)\n\n## Naming (Rust-Specific)\n\n| Rule | Guideline |\n|------|-----------|\n| No `get_` prefix | `fn name()` not `fn get_name()` |\n| Iterator convention | `iter()` \u002F `iter_mut()` \u002F `into_iter()` |\n| Conversion naming | `as_` (cheap &), `to_` (expensive), `into_` (ownership) |\n| Static var prefix | `G_CONFIG` for `static`, no prefix for `const` |\n\n## Data Types\n\n| Rule | Guideline |\n|------|-----------|\n| Use newtypes | `struct Email(String)` for domain semantics |\n| Prefer slice patterns | `if let [first, .., last] = slice` |\n| Pre-allocate | `Vec::with_capacity()`, `String::with_capacity()` |\n| Avoid Vec abuse | Use arrays for fixed sizes |\n\n## Strings\n\n| Rule | Guideline |\n|------|-----------|\n| Prefer bytes | `s.bytes()` over `s.chars()` when ASCII |\n| Use `Cow\u003Cstr>` | When might modify borrowed data |\n| Use `format!` | Over string concatenation with `+` |\n| Avoid nested iteration | `contains()` on string is O(n*m) |\n\n## Error Handling\n\n| Rule | Guideline |\n|------|-----------|\n| Use `?` propagation | Not `try!()` macro |\n| `expect()` over `unwrap()` | When value guaranteed |\n| Assertions for invariants | `assert!` at function entry |\n\n## Memory\n\n| Rule | Guideline |\n|------|-----------|\n| Meaningful lifetimes | `'src`, `'ctx` not just `'a` |\n| `try_borrow()` for RefCell | Avoid panic |\n| Shadowing for transformation | `let x = x.parse()?` |\n\n## Concurrency\n\n| Rule | Guideline |\n|------|-----------|\n| Identify lock ordering | Prevent deadlocks |\n| Atomics for primitives | Not Mutex for bool\u002Fusize |\n| Choose memory order carefully | Relaxed\u002FAcquire\u002FRelease\u002FSeqCst |\n\n## Async\n\n| Rule | Guideline |\n|------|-----------|\n| Sync for CPU-bound | Async is for I\u002FO |\n| Don't hold locks across await | Use scoped guards |\n\n## Macros\n\n| Rule | Guideline |\n|------|-----------|\n| Avoid unless necessary | Prefer functions\u002Fgenerics |\n| Follow Rust syntax | Macro input should look like Rust |\n\n## Deprecated → Better\n\n| Deprecated | Better | Since |\n|------------|--------|-------|\n| `lazy_static!` | `std::sync::OnceLock` | 1.70 |\n| `once_cell::Lazy` | `std::sync::LazyLock` | 1.80 |\n| `std::sync::mpsc` | `crossbeam::channel` | - |\n| `std::sync::Mutex` | `parking_lot::Mutex` | - |\n| `failure`\u002F`error-chain` | `thiserror`\u002F`anyhow` | - |\n| `try!()` | `?` operator | 2018 |\n\n## Quick Reference\n\n```\nNaming: snake_case (fn\u002Fvar), CamelCase (type), SCREAMING_CASE (const)\nFormat: rustfmt (just use it)\nDocs: \u002F\u002F\u002F for public items, \u002F\u002F! for module docs\nLint: #![warn(clippy::all)]\n```\n\nClaude knows Rust conventions well. These are the non-obvious Rust-specific rules.\n",{"name":5,"source":23,"description":7,"user-invocable":19},"https:\u002F\u002Frust-coding-guidelines.github.io\u002Frust-coding-guidelines-zh\u002F","main","0f3f41ed51c357d4f79561a132514089c1aaa97d",".agents\u002Fskills\u002Fcoding-guidelines",0,"https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo","https:\u002F\u002Fgithub.com\u002Fwxxb789","2026-11-15 04:06:53",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add wxxb789\u002Fmarkturbo --skill coding-guidelines",{"tool":37,"command":38},"bunx","bunx skills add wxxb789\u002Fmarkturbo --skill coding-guidelines",{"tool":40,"command":41},"pnpm","pnpm dlx skills add wxxb789\u002Fmarkturbo --skill coding-guidelines","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcoding-guidelines\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"clippy-lints\u002F_index.md","REFERENCE","参考文档",681,"https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcoding-guidelines\u002Fclippy-lints\u002F_index.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"index\u002Frules-index.md",170,"https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcoding-guidelines\u002Findex\u002Frules-index.md",[56,63,69,76,83,89],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M7AWXVVZ6JEJVFGGT2WBSEN0","hello-diagrams","A valid, fully-populated Agent Skill, shown here so the Skills inspector has something correct to display.","https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002Fsample\u002F.claude\u002Fskills\u002Fhello-diagrams\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7AWXTNG6ZV6WW5CHJZXJYEC","Broken-Example","https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002Fsample\u002F.claude\u002Fskills\u002Fbroken-example\u002FSKILL.md",[],[],{"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":18},"01M7AWXS5WN306ENF2MYJYP7VM","valid-skill","A fully conformant skill with every optional field populated.","https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002Ffixtures\u002Fskills\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"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},"01M7AWXR0NY08YVHE0G8VTJJ97","a-different-name","The name does not match the directory, which is a conformance warning.","https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002Ffixtures\u002Fskills\u002Fskills\u002Fname-mismatch\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7AWXQ5EV9JCA0WG9Q1WB13Y","missing-metadata","https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002Ffixtures\u002Fskills\u002Fskills\u002Fmissing-metadata\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":6,"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":18},"01M7AWXP8GT7FATM53B914ZN50","malformed-yaml","https:\u002F\u002Fgithub.com\u002Fwxxb789\u002Fmarkturbo\u002Fblob\u002Fmain\u002Ffixtures\u002Fskills\u002Fskills\u002Fmalformed-yaml\u002FSKILL.md",[],[]]