rust-ci-green

Audits Rust projects and fixes formatting/clippy issues for cargo fmt --check and cargo clippy passes.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/maxenko/claude-skills --skill rust-ci-green
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-ci-green
Source: https://github.com/maxenko/claude-skills/tree/main/rust-ci-green
Command: npx skills add https://github.com/maxenko/claude-skills --skill rust-ci-green

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rust projects often stall on CI due to formatting drift and clippy warnings. Rust CI Green provides an end-to-end workflow to audit, auto-format, lint, verify, and Harden CI so cargo fmt --check and cargo clippy pass consistently, producing green badges.

Core Features & Use Cases

  • Audit: assesses toolchain, CI workflows, and rustfmt/clippy settings to establish a baseline.
  • Format: automatically fixes fmt issues across crates and workspaces.
  • Lint: auto-fixes clippy warnings with safe guards and manual review when needed.
  • Verify: locally replays CI steps to ensure the pipeline would pass in CI.
  • Harden & Report: ensures workflow configurations and badges reflect a passing CI and documents changes.

Quick Start

Run the Rust CI Green workflow against your project to audit, fix formatting and clippy issues, and validate a green CI badge.

Frequently Asked Questions about rust-ci-green

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

FAQPage Schema
How do I fix cargo fmt --check failures in my Rust CI pipeline?

To fix cargo fmt --check failures, auto-format your Rust project across single crates and workspaces to resolve formatting drift, then verify the changes locally before pushing to CI.

What's the best way to auto-fix clippy warnings across a Rust workspace?

Auto-fix clippy warnings across a Rust workspace by applying lint corrections with safe guards, flagging instances that require manual review, and validating toolchain consistency for CI compliance.

Does this Rust CI workflow support both single crates and workspace configurations?

Yes, this Rust CI workflow supports both single crates and workspace configurations, auditing and applying formatting and clippy fixes across the entire project structure to ensure consistent CI checks.

How do I enforce toolchain consistency in my Rust GitHub workflows?

Enforce toolchain consistency in Rust GitHub workflows by auditing your CI configurations and toolchain settings, ensuring rustfmt and clippy run against the same stable Rust version to produce green badges.

Can I locally replay CI steps to verify cargo clippy and fmt will pass before pushing?

Yes, you can locally replay CI steps to verify cargo clippy and fmt will pass before pushing, validating workflows and hardening configurations so the remote pipeline succeeds and badges stay green.