Skip to content
Back to skills

Commands

ASecurity

Update a specific crate skill to latest version

  • 13 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
documentationgobashapidocumentation

Works with

  • api

Security analysis

A93/100
  • highPerforms destructive filesystem operations

Pro scans all 21 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add TrayHard/d2r-ultra-utility --skill commands --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commands?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commands
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/trayhard-commands/badge)](https://www.skillsdirectory.com/skills/trayhard-commands)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

```bash
# Check if skill exists
cat ~/.claude/skills/{crate_name}*/SKILL.md | head -20
```

Display 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:
```bash
cargo search {crate_name} --limit 1
```

Or use crate-researcher agent to get latest version.

### 3. Remove Old Skill

```bash
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

```bash
# 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

Files in this skill

  • achievement.md7.9 KB
  • ai-daily.md16.8 KB
  • audit.md3.4 KB
  • cache-clean.md2.8 KB
  • cache-status.md2.1 KB
  • clean-crate-skills.md1.7 KB
  • crate-info.md701 B
  • create-llms-for-skills.md4.7 KB
  • create-llms-from-source.md6.6 KB
  • create-skills-via-llms.md5.6 KB
  • docs.md1.4 KB
  • fix-skill-docs.md3.3 KB
  • guideline.md1.5 KB
  • rust-daily.md13.8 KB
  • rust-features.md663 B
  • rust-review.md2.2 KB
  • skill-index.md1.7 KB
  • sync-crate-skills.md4 KB
  • unsafe-check.md1.8 KB
  • unsafe-review.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.