rust-core-language
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).
原文 · 译文尚未补齐适用对象:设计与内容创作。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Rust Core Language
- Agent Workflow (MANDATORY)
- Overview
- Critical Rules
- Verified Facts (source-checked)
- Reference Guide
- Concepts
- Templates
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. 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 conv
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- Fusengine/claude-plugins
- 源文件
- plugins/rust-expert/skills/rust-core-language/SKILL.md
- 固定版本
- b9f82810cf3b5e3c4350332ac3ef618d60163cc0
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:Fusengine/claude-plugins · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-11T11:01:45.592Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。