Coding To Rust — Development skill for Claude Code
Coding to Rust 是一个 Claude Code 技能集合,覆盖从 16 种主流编程语言迁移到 Rust 的完整skills.
How to install Coding To Rust
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open erikwang2013/coding-to-rust and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Coding To Rust does
Coding to Rust 是一个 Claude Code 技能集合,覆盖从 16 种主流编程语言迁移到 Rust 的完整skills.
Alternatives in Development
- OpenAI Codex CLI — (Rust implementation) 67.8k ★
- Chrome Devtools MCP — Chrome DevTools for coding agents 29504 108 1 31.7k ★
- Vibe Kanban — Get 10X more out of Claude Code, Gemini CLI, Codex, Amp and other coding agents 23.5k ★
README
Coding to Rust — 多语言迁移到 Rust 的技能集合
[English](README.en.md)
项目介绍
**Coding to Rust** 是一个 Claude Code 技能集合,覆盖从 16 种主流编程语言迁移到 Rust 的完整指南。每种语言提供:
- 架构映射 — 运行时差异、范式转换、内存模型对照
- 类型系统对照表 — 30-80 条精确的类型/语法映射
- 框架迁移指南 — 主流框架到 Rust 生态的对照(如 Django→Axum、Spring→Actix)
- 标准模式对照 — 带代码示例的 before/after 对比
- 常见错误 — 该语言开发者在 Rust 中最容易犯的错误及修复方法
- FFI 渐进迁移策略 — 分阶段替换方案
- 参考实现 — 真实世界的迁移案例和项目
覆盖语言
| # | 语言 | 目录 | 核心范式转换 |
|---|---|---|---|
| 1 | Python | python-to-rust/ |
GIL→真并行、asyncio→tokio、numpy/pandas→ndarray/polars |
| 2 | JavaScript/TypeScript | nodejs-to-rust/ |
事件循环→tokio、V8→AOT、Express→Axum |
| 3 | Go | go-to-rust/ |
goroutine→tokio task、channel→mpsc、GC→所有权 |
| 4 | Java | java-to-rust/ |
JVM→原生二进制、Spring→Axum、JPA→sqlx |
| 5 | C# | csharp-to-rust/ |
CLR→原生、LINQ→迭代器、ASP.NET→Axum |
| 6 | PHP | php-to-rust/ |
动态类型→静态类型、FPM→长驻进程、Laravel→Axum |
| 7 | C | c-to-rust/ |
malloc/free→所有权、指针→引用、头文件→模块 |
| 8 | C++ | cpp-to-rust/ |
模板→泛型、虚函数→trait、移动语义→所有权 |
| 9 | Zig | zig-to-rust/ |
comptime→宏、分配器→所有权、错误集→Result |
| 10 | Lua | lua-to-rust/ |
table→struct/enum、元表OOP→trait、coroutine→async |
| 11 | R | r-to-rust/ |
data.frame→polars、formula→builder、apply→迭代器 |
| 12 | Julia | julia-to-rust/ |
多重分派→trait、JIT→AOT、Array→ndarray |
| 13 | Kotlin | kotlin-to-rust/ |
Coroutines→tokio、data class→struct、sealed class→enum、Gradle→Cargo |
| 14 | Swift | swift-to-rust/ |
ARC→ownership、actor→Mutex、protocol→trait、SwiftUI→Leptos |
| 15 | Ruby | ruby-to-rust/ |
GC→ownership、blocks→closures、Rails→Axum、Bundler→Cargo |
| 16 | Vue | vue-to-rust/ |
:warning: (前端/WebAssembly — 非后端) SFC→组件函数、ref()→RwSignal、Vite→Trunk |
项目架构
coding-to-rust/
├── README.md # 本文件 — 项目说明(中文)
├── README.en.md # 英文版项目说明
├── SKILL.md # 总入口(Claude Code 加载此文件)
│ - 16 语言快速选择器
│ - 通用迁移概念(所有权/异步/错误处理/构建系统)
│ - 各语言
Related Skills
Claurst
Your favorite Terminal Coding Agent, now in Rust
Mempal
本文件是仓库级 agent 工作约束,内容与 CLAUDE.md 保持一致;在本仓库内工作的 agent 都应遵循以下规则。 Rust 实现的 coding agent 项目记忆工具。单二进制,cargo install
Mini Claw Code
Build your own mini coding agent in Rust.
Nanopi
Tiny Rust port of Pi — a ~4 MB statically-linked coding agent CLI for old/low-resource Linux boxes. OpenAI + A
Thoth
Thoth is a Rust library (plus a CLI, an MCP server, and a Claude Code / Cowork plugin) that gives a coding age
Shared Agents IDE
Local-first desktop app where a team shares coding-agent sessions and memory. Watch a teammate's Claude Code o
Related Agents
🦀 Claw CR
Der Open-Source-Coding-Agent, in Rust gebaut. Alternative zu ClaudeCode Status Language
Rust Project
You are a Rust project architecture expert specializing in scaffolding production-ready Rust applica... - wsho
Tauri Rust Expert
Use this agent when working with Tauri applications, Rust backend development, Tauri plugins, cross-platform d