dotagent:validate

Run formatter, lints, tests, and a smoke test on Rust projects.

3|1|Updated May 19, 2026
One-click install
npx skills add https://github.com/avelino/dotagent --skill dotagent-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotagent:validate
Source: https://github.com/avelino/dotagent/tree/main/.claude/skills/validate
Command: npx skills add https://github.com/avelino/dotagent --skill dotagent-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinating and validating a Rust project's quality gates (formatter, lints, tests, and end-to-end smoke tests) to ensure changes are ready for review and merge.

Core Features & Use Cases

  • Executes the full validation pipeline: cargo fmt --all -- --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test --workspace --all-targets, and an end-to-end smoke test.
  • Provides a reproducible workflow for local developers to mirror CI failures and verify fixes before opening a PR.
  • Helps teams enforce code quality and reliability by catching issues early in the development cycle.

Quick Start

From the repository root, run the validate skill to execute the full pipeline and report the first failure.

Frequently Asked Questions about dotagent:validate

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

FAQPage Schema
How do I run full Rust validation locally before opening a pull request?

Rust validation is executed by running cargo fmt, cargo clippy, cargo test, and a smoke test sequentially. This pipeline ensures code changes are green and ready for review, mirroring CI checks locally to prevent build failures before merging.

What is the best way to reproduce a failing Rust CI pipeline on my local machine?

Reproducing a failing Rust CI pipeline locally requires running the full validation pipeline from the repository root. It executes formatter, lints, tests, and a smoke test to identify the exact failure point and verify runtime integrity before attempting fixes.

How does a Rust workspace validation pipeline enforce code quality?

A Rust workspace validation pipeline enforces code quality by executing cargo clippy with denied warnings across all targets, checking formatting, and running tests. Catching issues early in the development cycle ensures reliability and maintains consistent standards before merge.

Can I use cargo clippy and cargo fmt checks for my entire Rust workspace?

Yes, cargo clippy and cargo fmt checks can be applied to an entire Rust workspace. The validation process runs clippy on all targets with warnings denied and checks formatting across all files to ensure strict code quality and stylistic consistency.

Why does my Rust smoke test fail during end-to-end validation?

A Rust smoke test fails during end-to-end validation when the minimal runtime integrity check encounters build or execution errors. This indicates issues not caught by standard tests, requiring local reproduction of the validation pipeline to diagnose and fix the runtime defect.

Do I need cargo installed to run Rust project validation checks?

Yes, cargo is required to run Rust project validation checks. The end-to-end validation pipeline depends on cargo to execute formatting checks, clippy lints, workspace tests, and the final smoke test to verify build and runtime integrity.