check

Run cargo fmt, clippy, and check on Rust projects.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/ereferen/zellij-toolbox --skill check-ereferen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check
Source: https://github.com/ereferen/zellij-toolbox/tree/main/.claude/skills/check
Command: npx skills add https://github.com/ereferen/zellij-toolbox --skill check-ereferen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the core Rust code quality checks by running formatting, linting, and compilation steps to catch issues early and save developer time.

Core Features & Use Cases

  • Automated formatting checks with cargo fmt --check to ensure consistent style across a workspace.
  • Linting and compilation validation using cargo clippy and cargo check on the project or workspace.
  • Optional auto-fix workflow via a fix argument to apply formatting and fix clippy warnings, suitable for pre-commit and CI pipelines.

Quick Start

Run /check to perform all checks, and use /check fix to automatically format code and apply clippy fixes.

Frequently Asked Questions about check

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

FAQPage Schema
How do I automate Rust code quality checks for formatting, linting, and compilation?

Automating Rust code quality checks involves sequentially running cargo fmt, cargo clippy, and cargo check across a workspace to validate style, catch linter warnings, and ensure successful compilation. This Skill executes all three steps automatically in one command.

Can I automatically fix Rust formatting and clippy warnings during a pre-commit hook?

Yes, you can automatically fix Rust formatting and clippy warnings by passing a fix argument. This applies auto-formatting and rectifies clippy warnings, making it suitable for integration into pre-commit hooks and CI pipelines.

What is the best way to run cargo fmt, cargo clippy, and cargo check sequentially in a CI pipeline?

The best way to run cargo fmt, cargo clippy, and cargo check sequentially in a CI pipeline is to use an automated workflow that handles the execution order and reports results. This Skill orchestrates that exact sequence for local development and CI environments.

Does this automated check process work across an entire Rust workspace?

Yes, the automated check process works across an entire Rust workspace. It validates formatting, linting, and compilation across all workspace packages to ensure consistent code quality throughout the project.