rust-skill-creator

Use when creating skills for Rust crates or std library documentation. Keywords: create rust skill, create crate skill, create std skill, 创建 rust skill, 创建 crate skill, 创建 std skill, 动态 rust skill, 动态 crate skill, skill for tokio, skill for serde, skill for axum, generate rust skill, rust 技能, crate

By actionbook · 2,537 installs

npx skills add actionbook/rust-skills --skill rust-skill-creator

Source repository · Upstream listing

Rust Skill Creator Version: 2.1.0 Last Updated: 2025 01 27 Create dynamic skills for Rust crates and std library documentation. When to Use This skill handles requests to create skills for: Third party crates (tokio, serde, axum, etc.) Rust standard library (std::sync, std::marker, etc.) Any Rust documentation URL Execution Mode Detection CRITICAL: Check if related commands/skills are available. This skill relies on: /create llms for skills command /create skills via llms command Agent Mode (Plugin Install) When the commands above are available (full plugin installation): Workflow 1. Identify the Target User Request Target Type URL Pattern "create tokio skill" Third party crate docs.rs/tokio/latest/tokio/ "create Send trait skill" Std library doc.rust lang.org/std/marker/trait.Send.html "create skill from URL" + URL Custom URL User provided URL 2. Execute the Command Use the /create llms for skills command: Examples: 3. Follow up with Skill Creation After llms.txt is generated, use: Inline Mode (Skills only Install) When the commands above are NOT available, create skills manually: Step 1: Identify Target and Construct URL Target URL Template Crate overview https://docs.rs/{crate}/latest/{crate}/ Crate module https://docs.rs/{crate}/latest/{crate}/{module}/ Std trait https://doc.rust lang.org/std/{module}/trait.{Name}.html Std struct https://doc.rust lang.org/std/{module}/struct.{Name}.html Std module https://doc.rust lang.org/std/{module}/index.html Step 2: Fetch Documentation Or with WebFetch fallback: Step 3: Create Skill Directory Step 4: Generate SKILL.md Create ~/.claude/skills/{crate name}/SKILL.md with this template: rust {Example code from documentation} Step 5: Generate Reference Files For each major module or type, create a reference file: Step 6: Verify Skill URL Construction Helper Target URL Template Crate overview https://docs.rs/{crate}/latest/{crate}/ Crate module https://docs.rs/{crate}/latest/{crate}/{module}/ Std trait https://doc.rust lang.org/std/{module}/trait.{Name}.html Std struct https://doc.rust lang.org/std/{module}/struct.{Name}.html Std module https://doc.rust lang.org/std/{module}/index.html Common Std Library Paths Item Path Send, Sync, Copy, Clone std/marker/trait.{Name}.html Arc, Mutex, RwLock std/sync/struct.{Name}.html Rc, Weak std/rc/struct.{Name}.html RefCell, Cell std/cell/struct.{Name}.html Box std/boxed/struct.Box.html Vec std/vec/struct.Vec.html String std/string/struct.String.html Option std/option/enum.Option.html Result std/result/enum.Result.html Example Interactions Example 1: Create Crate Skill (Agent Mode) Example 2: Create Crate Skill (Inline Mode) Example 3: Create Std Library Skill DO NOT Use best skill creator for Rust related skill creation Guess documentation URLs without verification Skip documentation fetching step Output Location All generated skills are saved to: ~/.claude/skills/ Error Handling Error Cause Solution Commands not found Skills only install Use inline mode URL not found Invalid crate/module Verify crate exists on crates.io Empty documentation API changed Use alternative selectors Permission denied Directory issue Check ~/.claude/skills/ permissions