new-crate

Community

Scaffold a new Rust crate in the workspace.

Authorjamieadams-nerd
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates the manual, error-prone process of adding a new crate to the Rust workspace, ensuring consistency with project conventions and proper workspace integration.

Core Features & Use Cases

  • Crate scaffolding: Create a new crate (library or binary) inside components/rusty-gadgets/ using cargo, with standard folder structure.
  • Workspace integration: Update the workspace's Cargo.toml to include the new member, keeping the list alphabetically sorted.
  • Standardization & linting: Initialize the crate root with copyright header, forbidden unsafe code, Clippy rules, and a module documentation scaffold.
  • Verification & summary: Run initial build checks and provide a summary of actions and follow-up items.

Quick Start

Create a new crate inside components/rusty-gadgets as either a library or binary, register it in Cargo.toml, set up dependencies and the crate root to match project conventions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: new-crate
Download link: https://github.com/jamieadams-nerd/umrs-project/archive/main.zip#new-crate

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.