mcpbeat

Quality Gate

microsoft/quality-gate

Run before every commit or push: formatting, linting, tests, dependency audits, builds, and docs.

332 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
73
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/microsoft/webui --skill quality-gate

The instruction itself

6 sections, as written by the author

Quality Gate

Run this before every commit. Work is not done until it passes.

Gate command

cargo xtask check

This runs, in order: license-headers -> fmt -> clippy -> deny -> test -> build.

Missing Rust tools (clippy, rustfmt, cargo-deny, wasm-pack, wasm32-unknown-unknown target) are auto-installed on first run.

Fast iteration

When iterating locally, use targeted crate checks for faster feedback:

cargo test -p microsoft-webui-handler   # test one crate
cargo xtask check                        # then full gate before commit

Docs gate

If the change touches user-visible behavior, also run:

cd docs && pnpm build

This catches broken links, VitePress syntax errors, and missing pages. See the docs-sync skill for which docs files to update based on what changed.

Code quality

The gate catches formatting, lint, and test failures. For deeper code quality checks (correctness, performance, concurrency, API design, architecture), apply the code-review skill.

Expectations

  • Fix reported issues rather than suppressing them.
  • Do not commit with a failing gate.
  • Keep fixes minimal and scoped to the task.

How to use it

Copy the folder

Take microsoft/quality-gate from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.