rust-crate-source
Installation
SKILL.md
Rust Crate Source Explorer
This skill clones Rust crate repositories from crates.io to explore their source code. It fetches the repository URL from the crates.io API, clones to /tmp/rust-crates/, and checks out the appropriate version tag.
When to Use
Use this skill when the user:
- Wants to explore or read source code for a Rust crate
- Wants to understand how a crate is implemented
- Needs context about a Rust library's internals
- Mentions "crate source", "explore crate", "how does X crate work"
- Asks to look at the implementation of a specific crate feature
How to Use
Step 1: Fetch Crate Info
Query the crates.io API to get the repository URL and latest version: