Claude skill
Rust Port
Rust Port is a Claude skill in the BeautifulRust plugin. Port code from C, C++, Python, Go, JavaScript, or TypeScript into idiomatic Rust that keeps the original behavior: ownership instead of manual memory, Result instead of error codes and exceptions…
What it does
The description in the skill's SKILL.md, which Claude reads to decide when to use it:
Port code from C, C++, Python, Go, JavaScript, or TypeScript into idiomatic Rust that keeps the original behavior: ownership instead of manual memory, Result instead of error codes and exceptions, enums instead of flag ints and magic strings, and tests that prove the port matches. Use this whenever the user asks to port, translate, convert, migrate, or rewrite code in Rust ("rewrite this in Rust", "what would this look like in Rust", "move this module to Rust"), even if they don't say "port". Pairs with the rust-best-practices skill, which covers the target code's style.
The skill's instructions (about 1,237 words) cover:
- 1. Understand the original before writing anything
- 2. Port the tests first
- 3. Design the Rust API, then implement it
- From C and C++
- From Python
- From Go, JavaScript, and TypeScript
- 4. Keep the port proportionate
- 5. Verify
- 6. Write the porting notes
How to use it
- Rust Port comes inside the BeautifulRust plugin, so you get it by installing that plugin, along with its 2 other skills. A plugin installs as one unit, with all its skills. The plugin's page has the install steps, and plugins are saved to your Claude account.
- Ask Claude for the task. When your request matches the skill's description, Claude loads it.
- To pick it yourself in Claude chat, type
/or click + and choose rust-port. In Claude Code and Cowork, type:/beautiful-rust:rust-port
Source
- Plugin
- BeautifulRust
- SKILL.md
- View on GitHub
- Repo stars
- 1,829
- Repo last pushed
- Nov 8, 2026
- Checked
- Nov 16, 2026