verify
Run the full CI quality gate locally 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.zipInstalls 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 committingAbout 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.