← Back to Skills Marketplace
Rust Project Setup
by
Kevin Anderson
· GitHub ↗
· v1.0.2
· MIT-0
145
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install rust-project-setup
Description
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...
Usage Guidance
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.
Capability Tags
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install rust-project-setup - After installation, invoke the skill by name or use
/rust-project-setup - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 145 downloads so far.
How do I install Rust Project Setup?
Run "/install rust-project-setup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Rust Project Setup free?
Yes, Rust Project Setup is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Rust Project Setup support?
Rust Project Setup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Rust Project Setup?
It is built and maintained by Kevin Anderson (@anderskev); the current version is v1.0.2.
More Skills