Development
Command
/update-crate-skill
Update a specific crate skill to latest version
Install
> /plugin marketplace add zhanghandong/rust-skills > /plugin install rust-skills@rust-skills
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/update-crate-skill
Context preview
What this command does when you run it.
Update a specific crate skill to latest version
Command definition
update-crate-skill.mddescription: Update a specific crate skill to latest version
argument-hint: <crate_name> [version]
Update Crate Skill
Force regenerate a crate skill with the latest documentation.
Arguments: $ARGUMENTS
- `crate_name` (required): The crate to update
- `version` (optional): Specific version to target
---
Instructions
1. Check Current Skill
# Check if skill exists
cat ~/.claude/skills/{crate_name}*/SKILL.md | head -20Display current version info if exists:
Current skill:
- Crate: tokio
- Version: 1.38.0
- Last Updated: 2025-01-01
2. Get Latest Version
If version not provided, fetch latest from crates.io:
cargo search {crate_name} --limit 1Or use crate-researcher agent to get latest version.
3. Remove Old Skill
rm -rf ~/.claude/skills/{crate_name}*4. Generate Fresh llms.txt
/create-llms-for-skills https://docs.rs/{crate_name}/{version}/{crate_name}/5. Create Updated Skill
/create-skills-via-llms {crate_name} {llms_path} {version}6. Report Results
Updated skill:
- Crate: tokio
- Old Version: 1.38.0
- New Version: 1.40.0
- Location: ~/.claude/skills/tokio/
---
Example Usage
# Update tokio to latest version
/update-crate-skill tokio
# Update to specific version
/update-crate-skill tokio 1.40.0
# Update serde
/update-crate-skill serde
---
When to Update
- Crate has new major/minor release
- API has changed significantly
- Existing skill has incorrect information
- Documentation has improved
Read more
description: Update a specific crate skill to latest version argument-hint: <crate_name> [version]
Update Crate Skill
Force regenerate a crate skill with the latest documentation.
Arguments: $ARGUMENTS
- `crate_name` (required): The crate to update
- `version` (optional): Specific version to target
---
Instructions
1. Check Current Skill
# Check if skill exists
cat ~/.claude/skills/{crate_name}*/SKILL.md | head -20Display current version info if exists:
Current skill: - Crate: tokio - Version: 1.38.0 - Last Updated: 2025-01-01
2. Get Latest Version
If version not provided, fetch latest from crates.io:
cargo search {crate_name} --limit 1Or use crate-researcher agent to get latest version.
3. Remove Old Skill
rm -rf ~/.claude/skills/{crate_name}*4. Generate Fresh llms.txt
/create-llms-for-skills https://docs.rs/{crate_name}/{version}/{crate_name}/5. Create Updated Skill
/create-skills-via-llms {crate_name} {llms_path} {version}6. Report Results
Updated skill: - Crate: tokio - Old Version: 1.38.0 - New Version: 1.40.0 - Location: ~/.claude/skills/tokio/
---
Example Usage
# Update tokio to latest version /update-crate-skill tokio # Update to specific version /update-crate-skill tokio 1.40.0 # Update serde /update-crate-skill serde
---
When to Update
- Crate has new major/minor release
- API has changed significantly
- Existing skill has incorrect information
- Documentation has improved
Ships withrust-skills
AI-powered Rust development assistant with meta-cognition framework
Get the whole plugin
Other commands on rust-skills.
- /achievement
View coding achievements, stats, and progress
Open command - /ai-daily
Generate AI daily/weekly news report from Reddit communities
Open command - /audit
Heavy-weight security and safety audit using os-checker tools.
Open command - /cache-clean
Clean Rust docs cache
Open command - /cache-status
Show Rust docs cache status
Open command - /clean-crate-skills
Remove local dynamic crate skills
Open command

