bootstrap-rust

Automate Rust project setup with Cargo, Clippy, rustfmt, Makefile, and Git ignore rules.

1|Updated Apr 22, 2014
One-click install
npx skills add https://github.com/simonnordberg/dotfiles --skill bootstrap-rust
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bootstrap-rust
Source: https://github.com/simonnordberg/dotfiles/tree/main/services/claude-code/skills/bootstrap-rust
Command: npx skills add https://github.com/simonnordberg/dotfiles --skill bootstrap-rust

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Set up a minimal, opinionated Rust project baseline when starting a new project or when standard tooling is missing; this is a config-only bootstrap that creates Cargo setup, Clippy, Rustfmt, a Makefile, and a .gitignore, with a minimal CLAUDE.md to trigger the setup.

Core Features & Use Cases

  • Cargo initialization: choose binary or library via cargo init or cargo init --lib.
  • Clippy config: enable pedantic and nursery lints.
  • Rustfmt: set edition to 2024 and max_width to 100.
  • Makefile: provide basic targets like build, test, lint, fmt.
  • .gitignore: ignore target and environment files.
  • CLAUDE.md: include prompts to trigger setup from global config.

Quick Start

Run this skill to bootstrap a new Rust project baseline with minimal, opinionated configuration.

Frequently Asked Questions about bootstrap-rust

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a new Rust project with Clippy, rustfmt, and a Makefile?▼

To set up a Rust project with Clippy and rustfmt, this skill automates baseline configuration by generating a Makefile, enabling pedantic lints, setting rustfmt max width, and validating the setup with cargo clippy.

What is the best way to configure Cargo, Clippy, and rustfmt for a Rust project baseline?▼

The best way to configure a Rust baseline is applying opinionated defaults: pedantic Clippy lints, rustfmt edition 2024 with max width 100, and a Makefile with build, test, lint, and fmt targets.

Can I use this Rust bootstrapping setup for an existing project missing standard tooling?▼

Yes, this Rust bootstrapping setup applies to existing projects lacking standard tooling by generating Cargo configuration, Clippy, rustfmt, a Makefile, and Git ignore rules alongside your current code.

Does this Rust project bootstrap support both binary and library Cargo initialization?▼

Yes, Rust project bootstrapping supports both binary and library initialization by running cargo init for binaries or cargo init --lib for libraries, followed by standard tooling configuration.

What limitations should I expect when bootstrapping a minimal Rust project baseline?▼

Bootstrapping a minimal Rust project baseline provides config-only setup with opinionated defaults like pedantic Clippy and rustfmt max width 100, limiting customization if your project requires non-standard linting rules.