← 返回 Skills 市场
Rust Project Setup
作者
Kevin Anderson
· GitHub ↗
· v1.0.2
· MIT-0
145
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install rust-project-setup
功能描述
Guidance for scaffolding new Rust projects. Use when: (1) starting a new Rust project or workspace, (2) configuring Cargo.toml best practices, (3) setting up...
安全使用建议
This skill appears to be a legitimate Rust project checklist and CI guide and does not ask for secrets or perform installs — however several statements in the text are inconsistent or likely incorrect (notably the claims about edition-2024 lint defaults and the weird attribute forms like `#[unsafe(no_mangle)]`). Do not apply automated edits or copy-paste the nonstandard code/attributes into production code. Before using: (1) cross-check the language and lint claims against official Rust release notes or rustc/rust-lang.org documentation, (2) test any CI/lint changes in a disposable branch or sandbox, and (3) ask the publisher for clarification about the edition-2024 claims. If you want a safer approval, request the author to fix the contradictory and syntactically invalid examples.
能力标签
能力评估
Purpose & Capability
Name, description, and included reference documents (cargo-config, CI, workspace, features, no_std) match the declared purpose of scaffolding and configuring Rust projects. There are no unrelated binaries, env vars, or config paths requested.
Instruction Scope
The SKILL.md and reference files stay within the domain of Rust project setup (cargo commands, Cargo.toml, CI, lints). However, multiple factual inconsistencies and likely inaccuracies are present across the documents: e.g., SKILL.md and references state contradictory defaults for the lint `unsafe_op_in_unsafe_fn` (both 'deny by default' and elsewhere 'warn by default'), several references claim non-standard / non-existent attribute syntax like `#[unsafe(no_mangle)]` and `#[unsafe(export_name)]` (these are not real Rust attributes), and odd/invalid code suggestions or syntax (e.g., 'use + use<'a>' phrasing for lifetime bounds). These inaccuracies could cause users to make incorrect code changes or CI configurations if taken verbatim. The instructions otherwise do not request reading unrelated files or exfiltrating data.
Install Mechanism
This is an instruction-only skill with no install steps and no code files executed by the platform. That minimizes installation risk.
Credentials
The skill requires no environment variables, credentials, or config paths. All recommended commands (cargo, git) are appropriate for the stated purpose.
Persistence & Privilege
Skill flags show normal invocation settings (not always: true). It does not request persistent agent privileges, nor does it instruct modifying other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install rust-project-setup - 安装完成后,直接呼叫该 Skill 的名称或使用
/rust-project-setup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Added a new "Setup completion gates" section with clear, objective pass/fail checks for project readiness.
- No changes to recommended tooling, configuration, or migration notes.
- Documentation improvements to clarify the checklist’s completion criteria and enforce project consistency.
v1.0.1
- Added new references for feature flags, conditional compilation, and no_std development.
- Updated quick reference table with links to the new feature flag and no_std documentation.
- Expanded linting section with Rust 2024 edition updates and notes on lint suppression using #[expect].
- Introduced a section on Rust 2024 migration notes with key edition-breaking changes and migration tips.
- Mentioned preference for replacing `once_cell` and `lazy_static` with `std::sync::LazyLock`.
- Improved clarity and completeness throughout documentation.
v1.0.0
Initial release with step-by-step guidance for new Rust project setup.
- Covers project creation, Cargo.toml configuration, and recommended profiles.
- Includes linting setup (clippy, rustfmt), CI setup basics, and documentation lints.
- Describes workspace vs. single crate organization and project structures.
- Provides best practices for dependency management and Cargo.lock policies.
- Links to detailed references for configuration, workspace layout, and CI setup.
元数据
常见问题
Rust Project Setup 是什么?
Guidance for scaffolding new Rust projects. Use when: (1) starting a new Rust project or workspace, (2) configuring Cargo.toml best practices, (3) setting up... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 145 次。
如何安装 Rust Project Setup?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install rust-project-setup」即可一键安装,无需额外配置。
Rust Project Setup 是免费的吗?
是的,Rust Project Setup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Rust Project Setup 支持哪些平台?
Rust Project Setup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Rust Project Setup?
由 Kevin Anderson(@anderskev)开发并维护,当前版本 v1.0.2。
推荐 Skills