adelabdelgawad/fullstack-agents/rust-quality-gates

Claude Code and agent skill by adelabdelgawad/fullstack-agents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Rust verification chain — fmt, clippy deny-warnings, cargo check, sqlx offline cache, audit, migration safety. Before declaring Rust work done.

Install

npx vskill@latest install adelabdelgawad/fullstack-agents/rust-quality-gates

SKILL.md

The same SKILL.md was published earlier as adelabdelgawad/fullstack-agents/rust-quality-gates.

Rust Quality Gates

Which Rust checks run, when, and on what. The project's own bindings (`CLAUDE.md`, `AGENTS.md`, justfile) come first: their commands, crate scopes, features, environment and test runners replace every generic command below. Use the generic forms only where the project names nothing.

Per change set (fast, scoped to the touched crates)

GateGeneric commandNotes
Formatrustfmt --edition <edition> <changed files>only the files you changed; cargo fmt --all only when the project declares its tree rustfmt-clean
Lint + compilecargo clippy -p <touched crates> --all-targets -- -D warnings (plus the project's required env/features, e.g. SQLX_OFFLINE=true)clippy performs the full type-check, so no separate cargo check for the same configuration
Other configurationsone extra cargo check per configuration clippy did not exercise (another feature set, --no-default-features, another target or profile, live SQLx validation)list them in the project binding; skip when there are none

The implementer runs the lint + compile gate before returning. The lead runs it once on the integrated state (after all units of the deliverable landed), not again merely because work changed hands; rerun only after a later change.

Tests (through the project's runner)

  • Run tests only through the project's designated runner and only against isolated test infrastructure (a

disposable database, fixtures, a test container). Never against a production database, a production DATABASE_URL, or shared live services, during development or release. If the runner cannot prove isolation, do not run the tests: report the gap.

  • Affected test targets first; one whole-crate run per deliverable at the end.
  • Split a run expected to exceed ~8 minutes into target groups, each its own command with its own log, run one after

another (never two Cargo jobs on one build directory at once). A group that timed out or did not run is not a pass; report which groups completed.

  • The build directory is shared state. Before a Cargo job, know the CARGO_TARGET_DIR it uses (a project wrapper

may point every worktree at one directory). A target that other worktrees or sessions also use serializes every job on it: do not start a job there while a peer builds. Do not override the project's binding silently; report the shared target as the cause and propose a per-worktree one. Blocking waiting for file lock on build directory means a peer holds it: report that time as waiting, not build time. cargo clean -p on a shared target is a shared-cache clean (team-coordination).

  • Add tests at the cheapest layer that proves the behaviour (see rust-testing). There is no coverage percentage gate.

Release only

Workspace-wide clippy, cargo audit, cargo sqlx prepare --check --workspace, and any whole-workspace test run — each only with isolated test infrastructure as above.

Always

  • Warnings are errors; no #[allow(...)] in crate/app code: fix the root cause (generated code in its own module is the

only exception).

  • Destructive migrations (DROP, TRUNCATE) are marked -- @destructive with a rollback plan, or rewritten.
  • Fix all errors from one gate before rerunning it (batch-error-resolution), in the order fmt → clippy → tests.
  • No hook runs these gates for you: the plugin's edit hook formats changed Rust files only where the project allows it.

Remediation

FailureAction
fmtformat only the changed files; never hand-format
clippyfix the code; if clippy is genuinely wrong, restructure so the lint does not fire
sqlx offline cache driftcargo sqlx prepare for the touched crates against the isolated database, commit .sqlx/
auditupgrade the dependency; if no fix exists, document and pin the decision
destructive migrationadd -- @destructive and a rollback plan, or rewrite non-destructively

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/adelabdelgawad/fullstack-agents/rust-quality-gates/badge)](https://verified-skill.com/skills/adelabdelgawad/fullstack-agents/rust-quality-gates)

Something wrong with this skill or its page? Tell us.