Executes the full pre-merge quality gate locally to ensure code meets CI standards before committing.

Install

mkdir -p .claude/skills/verify-rickymillar && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16759" && unzip -o skill.zip -d .claude/skills/verify-rickymillar && rm skill.zip

Installs to .claude/skills/verify-rickymillar

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Run the full CI quality gate locally before committing
54 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Perform `cargo fmt --check` for format verification
  • Execute `cargo test` for individual crates
  • Run `cargo clippy` with `-D warnings` for linting
  • Conduct a demo job smoke test
  • Execute `viz` regression harness tests

How it works

The skill runs a sequence of commands including format checks, per-crate tests, clippy linting, a demo job smoke test, and viz regression tests to ensure the code meets CI quality gates.

Inputs & outputs

You give it
A Rust project with changes ready for commit
You get back
Verification of code quality and functionality, indicating readiness to commit

When to use verify

  • Format check
  • Run test suite
  • Run clippy
  • Smoke test

About this skill

/verify — Pre-Merge Quality Gate

Run these steps in order. They match .github/workflows/ci.yml exactly.

Steps

1. Format check

cargo fmt --check

Fix: cargo fmt then review changes.

2. Test suite (per-crate — avoid workspace-wide)

cargo test -p rs_cam_core -q
cargo test -p rs_cam_cli -q
cargo test -p rs_cam_viz -q
cargo test -p rs_cam_mcp -q

Run per-crate — workspace-wide cargo test from the repo root can loop / swap-thrash on this repo (see operational guardrails). Fix: run failing test alone with cargo test -p <crate> <name> -- --nocapture.

3. Clippy (zero warnings)

cargo clippy --workspace --all-targets -- -D warnings

Fix: address each warning — the project enforces -D warnings.

4. Demo job smoke test

mkdir -p demos && cargo run -p rs_cam_cli -- job fixtures/demo_job.toml

Fix: check fixtures/demo_job.toml and crates/rs_cam_cli/src/job.rs.

5. Viz regression harness

cargo test -p rs_cam_viz controller::tests::
cargo test -p rs_cam_viz compute::worker::tests::

Fix: check crates/rs_cam_viz/src/controller/tests.rs and compute/worker.rs.

All pass?

Ready to commit. All five steps must pass — this is what CI enforces on every PR.

When not to use it

  • When the user does not want to run the full CI quality gate locally
  • When only specific checks are needed, not the entire suite

Limitations

  • The skill is specific to Rust projects using `cargo`.
  • The skill requires all five steps to pass for a successful verification.

How it compares

This skill provides a standardized, automated local CI quality gate that mirrors the official CI, ensuring all checks pass before committing, unlike manual checks that might be incomplete.

Compared to similar skills

verify side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
verify (this skill)02moReviewIntermediate
pre_commit06moReviewBeginner
rust-tests-guidelines75moNo flagsBeginner
check-rust-coverage55moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry