# Send Rust to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "rust",
    "name": "Rust",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/ivangdavila/rust",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/rust",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/rust",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rust",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "advanced-traps.md",
      "concurrency-memory.md",
      "errors-iteration.md",
      "ownership-borrowing.md",
      "types-strings.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "rust",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T11:42:31.519Z",
      "expiresAt": "2026-05-10T11:42:31.519Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rust",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rust",
        "contentDisposition": "attachment; filename=\"rust-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "rust"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/rust"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/rust",
    "downloadUrl": "https://openagent3.xyz/downloads/rust",
    "agentUrl": "https://openagent3.xyz/skills/rust/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rust/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rust/agent.md"
  }
}
```
## Documentation

### Quick Reference

TopicFileKey TrapOwnership & Borrowingownership-borrowing.mdMove semantics catch everyoneStrings & Typestypes-strings.mdString vs &str, UTF-8 indexingErrors & Iterationerrors-iteration.mdunwrap() in production, lazy iteratorsConcurrency & Memoryconcurrency-memory.mdRc not Send, RefCell panicsAdvanced Trapsadvanced-traps.mdunsafe, macros, FFI, performance

### Ownership — #1 Source of Compiler Errors

Variable moved after use — clone explicitly or borrow with &
for item in vec moves vec — use &vec or .iter() to borrow
String moved into function — pass &str for read-only access

### Borrowing — The Borrow Checker Always Wins

Can't have &mut and & simultaneously — restructure or interior mutability
Returning reference to local fails — return owned value instead
Mutable borrow through &mut self blocks all access — split struct or RefCell

### Lifetimes — When Compiler Can't Infer

'static means CAN live forever, not DOES — String is 'static capable
Struct with reference needs <'a> — struct Foo<'a> { bar: &'a str }
Function returning ref must tie to input — fn get<'a>(s: &'a str) -> &'a str

### Strings — UTF-8 Surprises

s[0] doesn't compile — use .chars().nth(0) or .bytes()
.len() returns bytes, not chars — use .chars().count()
s1 + &s2 moves s1 — use format!("{}{}", s1, s2) to keep both

### Error Handling — Production Code

unwrap() panics — use ? or match in production
? needs Result/Option return type — main needs -> Result<()>
expect("context") > unwrap() — shows why it panicked

### Iterators — Lazy Evaluation

.iter() borrows, .into_iter() moves — choose carefully
.collect() needs type — collect::<Vec<_>>() or typed binding
Iterators are lazy — nothing runs until consumed

### Concurrency — Thread Safety

Rc is NOT Send — use Arc for threads
Mutex lock returns guard — auto-unlocks on drop, don't hold across await
RwLock deadlock — reader upgrading to writer blocks forever

### Memory — Smart Pointers

RefCell panics at runtime — if borrow rules violated
Box for recursive types — compiler needs known size
Avoid Rc<RefCell<T>> spaghetti — rethink ownership

### Common Compiler Errors (NEW)

ErrorCauseFixvalue moved hereUsed after moveClone or borrowcannot borrow as mutableAlready borrowedRestructure or RefCellmissing lifetime specifierAmbiguous referenceAdd <'a>the trait bound X is not satisfiedMissing implCheck trait boundstype annotations neededCan't inferTurbofish or explicit typecannot move out of borrowed contentDeref movesClone or pattern match

### Cargo Traps (NEW)

cargo update updates Cargo.lock, not Cargo.toml — manual version bump needed
Features are additive — can't disable a feature a dependency enables
[dev-dependencies] not in release binary — but in tests/examples
cargo build --release much faster — debug builds are slow intentionally
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T11:42:31.519Z
- Expires at: 2026-05-10T11:42:31.519Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/rust)
- [Send to Agent page](https://openagent3.xyz/skills/rust/agent)
- [JSON manifest](https://openagent3.xyz/skills/rust/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/rust/agent.md)
- [Download page](https://openagent3.xyz/downloads/rust)