agent-creator
Use when creating expert agents. Generates agent.md with frontmatter, hooks, required sections, and skill references.
Use when writing or reviewing idiomatic Rust — edition 2024 ownership/borrowing design, or fixing LLM pitfalls (clone tax, unwrap infestation, indexed loops). Not for error-type design (rust-error-handling) or SOLID layout (solid-rust).
Claude Code
$ npx -y skills add fusengine/claude-plugins --skill rust-core-language --agent claude-code
Codex
$ npx skills add fusengine/claude-plugins --skill rust-core-language -a codex -y
Cursor
$ npx skills add fusengine/claude-plugins --skill rust-core-language -a cursor -y
Gemini CLI
$ npx skills add fusengine/claude-plugins --skill rust-core-language -a gemini-cli -y
GitHub Copilot
$ npx skills add fusengine/claude-plugins --skill rust-core-language -a github-copilot -y
OpenCode
$ npx skills add fusengine/claude-plugins --skill rust-core-language -a opencode -y
Windsurf
$ npx skills add fusengine/claude-plugins --skill rust-core-language -a windsurf -y
name: rust-core-language description: Use when writing or reviewing idiomatic Rust — edition 2024 ownership/borrowing design, or fixing LLM pitfalls (clone tax, unwrap infestation, indexed loops). Not for error-type design (rust-error-handling) or SOLID layout (solid-rust). versions: rust: "1.99.1" edition: "2024" references: references/edition-2024.md, references/ownership-borrowing.md, references/llm-pitfalls.md, references/templates/idiomatic-code.md related-skills: rust-error-handling, fuse-solid:solid-rust
<objective> This skill covers idiomatic Rust for stable 1.99.1, edition 2024: designing function signatures and data flow around ownership and borrowing, and using edition-2024 features (let chains, async closures) correctly.
It also covers correcting the recurring failure modes of machine-generated Rust: the clone tax (cloning to silence the borrow checker instead of redesigning ownership), unwrap/expect infestation, String vs &str misuse, indexed loops instead of iterators, and over-annotated lifetimes the compiler could elide.
Out of scope: error-type design (thiserror vs anyhow) belongs to rust-error-handling; async runtime questions belong to rust-async-concurrency; SOLID/file-layout rules belong to fuse-solid:solid-rust. </objective>
Idiomatic Rust for stable **1.99.1**, **edition 2024**. This skill covers what the compiler will not catch for you: ownership design that avoids gratuitous cloning, and the recurring failure modes of machine-generated Rust.
1. **fuse-ai-pilot:research-expert** — confirm the current stable version and any feature's stabilization release before relying on it (versions move fast). 2. **fuse-ai-pilot:explore-codebase** — read the crate's `edition` in `Cargo.toml` and its existing ownership conventions before adding code. 3. After writing code, run **fuse-ai-pilot:sniper** and `cargo clippy`.
Never state a stabilization version from memory — verify against `doc.rust-lang.org/releases.html`.
| Topic | When | |-------|------| | Edition 2024 features | Setting up a crate, using let chains / async closures | | Ownership & borrowing | Designing function signatures and data flow | | LLM pitfalls | Reviewing or repairing generated Rust before merge |
1. **Borrow before you own.** Take `&T` / `&str` / `&[T]` in parameters unless the function must keep the value. See [ownership-borrowing.md](references/ownership-borrowing.md). 2. **`.clone()` needs a reason.** A clone to silence a borrow-checker error is a design smell (the "clone tax"). Redesign ownership first; clone only when a second owner genuinely exists. 3. **No `.unwrap()` / `.expect()` on fallible values without a written justification.** Grep for them before merge. Prefer `?`, `match`, or a documented invariant. 4. **`Arc::clone(&x)` over `x.clone()`** for reference-counted handles — it makes the cheap pointer-copy explicit and distinguishes it from a deep clone. 5. **Iterators over indexed loops.** Prefer `iter()/map()/filter()/collect()` to `for i in 0..len { v[i] }` — no bounds-check noise, no off-by-one. 6. **Let elision work.** Do not annotate lifetimes the compiler can infer.
(2025-06-26), **edition 2024 only** — depends on the `if let` temporary-scope change.
(`CARGO_BUILD_WARNINGS=deny` in CI, no build-cache invalidation); linker output is shown via the `linker_messages` lint (warn by default); integer `highest_one`/`lowest_one`/`bit_width`.
replacement for `itoa`); `f32`/`f64` `algebraic_*` methods; `str::strip_circumfix`, `str::substr_range`, `String::from_utf16le`/`from_utf16be`.
(outlined modules inside a custom attribute/derive macro) stabilized; allow-by-default `raw_borrows_via_references` lint; `UnsafeCell` contents guaranteed accessible without `get`. **1.99.1** (2026-10-15) fixes an x86_64 FFI `bool` return-value miscompilation.
issue rust-lang/rust#117078, RFC #3513. Do NOT use on stable; the returned iterators are not yet fused and the syntax may still change.
| Topic | Reference | Load when | |-------|-----------|-----------| | Edition 2024 | [edition-2024.md](references/edition-2024.md) | Configuring `edition`, using let chains / async closures, checking feature stability | | Ownership & borrowing | [ownership-borrowing.md](references/ownership-borrowing.md) | Choosing owned vs borrowed params, designing lifetimes, sharing with Rc/Arc | | LLM pitfalls | [llm-pitfalls.md](references/llm-pitfalls.md) | Reviewing generated Rust for clone tax, unwrap infestation, String/&str, indexed loops |
| Template | Load when | |----------|-----------| | [idiomatic-code.md](references/templates/idiomatic-code.md) | Need copy-paste examples of borrow-first signatures, iterator chains, and let chains |
A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.
Use when creating expert agents. Generates agent.md with frontmatter, hooks, required sections, and skill references.
Use when starting ANY development task -- feature, bug fix, refactor, hotfix (triggers: implement, create, build, fix, add…
Use when creating a feature/component or adding functionality. Fires BEFORE APEX Analyze to refine requirements via structured…
Use before a root-cause, done/verified claim, irreversible action, or 2nd-time fix reaches the owner (APEX or plain…
Use when validating code quality after modifications -- SOLID compliance, DRY duplication, linter errors, architecture…
Use when an expert agent self-reviews and self-corrects code after the Execute phase, before sniper validation (BMAD-METHOD…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.