Rust Learning Lab plugin
A plugin for Codex and Claude Code that explains Rust by syntax and rationale, sets exercises and saves PR reviews as Markdown.
- 67 ★ on the repository
- Last commit
- MIT
Minimal access
Why this level
- The skill reads code and diffs and saves notes in the repository on request; it does not change sources unasked.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add plugins/rust-learning-labDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewMinimal accessThe tool runs nothing and makes no network calls.
- The skill reads code and diffs and saves notes in the repository on request; it does not change sources unasked.
This is third-party code. Review the repository files before installing.
What it does
The plugin installs a shared `learn-rust` skill that explains Rust code through arguments, types, ownership and control flow. An ordinary question gets a direct answer, and exercises are optional and start with hints. The skill separates the stated intent of a change from verified behaviour. On request the skill reads the diff of a pull request or commit together with the code at that revision and writes a learning review: what was, what is, how arguments flow and where problems may hide. Reviews are saved under `docs/rust-learning-review/` with `README.md` and `README_ja.md` indexes. Instructions come in English and Japanese, and the answer follows the question language. The skill edits sources only on an explicit request.
Who it is for. Developers who read someone else's Rust code or learn the language and want explanations of lines, types and ownership instead of ready patches.
Good fit when
- It is unclear who supplies each argument of `fold` and in what order.
- The difference between `&str` and `&name` and the point of borrowing here need explaining.
- `Result` and the `?` operator need practice with step-by-step hints.
- A PR needs a learning review with verified behaviour before and after.
Not a fit when
- An automatic code fix without explanations is required.
- The project is not written in Rust.
- An official linter or `clippy` check in CI is required.
Example request
$learn-rust: explain step by step how `fold(10, |acc, item| acc - item)` works, which arguments arrive and in what order.Limitations
Running examples needs a Rust toolchain compatible with the target project; explanations do not. A host client with plugin support is required: distribution checks used Codex CLI 0.157.0, Claude Code 2.1.282 and Rust 1.98.1. The marketplace belongs to the repository and is not part of the official Codex or Claude Code catalogs. A review covers the selected diff without the rest of the project, and writes notes into `docs/rust-learning-review/` unless you ask for chat-only output.
How to disable. For Codex run `codex plugin remove rust-learning-lab`, for Claude Code `claude plugin uninstall rust-learning-lab`. Delete saved reviews in `docs/rust-learning-review/` manually.
FAQ
How do I invoke the skill?
In Codex type `$learn-rust` and a question or pick Learn Rust in the skill picker. In Claude Code use `/rust-learning-lab:learn-rust` followed by the question.
Does the skill edit my code?
No, a review does not authorize source edits. The skill applies fixes when you ask for them.
Where are reviews saved?
In `docs/rust-learning-review/` as separate Markdown files; the `README.md` and `README_ja.md` indexes update on every creation. An explicit path or chat-only request takes precedence.
Which language does it answer in?
The language of your request or conversation. English error messages in code do not change the answer language.
What can be reviewed from a commit?
The skill takes a commit or a `<base>..<head>` range, records the compared revisions and explains ownership, error handling and potential problems.
Discussion
No questions or reviews yet.
Related
PluginsThree skills and a clippy config: an agent writes, reviews and ports idiomatic Rust, and CI enforces the checkable rules
A Claude Code plugin: Claude does the task, then a stop hook starts an independent Codex review and Claude fixes the findings in the same session
A plugin that readies a project for Claude Code: guidance, tests, review, TDD, refactoring and a resumable fix loop
A skill plugin that builds Rust web apps by Rails conventions, from the skeleton and resources to checks and deployment.
OpenAI's official plugin: Codex reviews of your changes and task delegation to Codex from inside a Claude Code session
A Google skill for Rust that writes and reviews Safety sections and unsafe comments as proofs grounded in the Rust Reference
README in short
The plugin is built for learning and review: it stresses explaining syntax and reasons for decisions, verifying behaviour and keeping learning documents. It ships two manifests for Codex and Claude Code.