Universal quality gate

SkillAI & models

Multi-language code quality gate with auto-detection and linters.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Universal quality gate skill

What this skill tells your AI

The instructions your AI receives, as published by notque/vexjoy-agent in skills/code-quality/universal-quality-gate/SKILL.md and read by ahel’s review.

Run configured lint, format, type, and security checks across project languages. Tests and builds remain separate checks.

Run

Read repository instructions and configuration first. Use the repository's prescribed checks when present; the adapter below supplies multi-language detection through hooks/lib/language_registry.json and hooks/lib/quality_gate.py.

python3 ~/.claude/skills/code-quality/universal-quality-gate/scripts/run_quality_gate.py
OptionUse
--stagedCheck staged files before commit
--lang pythonFocus on one language
--fixApply configured fixes within authorized scope
-vExpanded diagnostics
--no-patternsSkip informational pattern scanning

Check before fixing, review git diff afterward, and rerun affected checks. Do not add tools, change rules, or make required tools optional to get a pass.

Detection

The registry is authoritative; these are its language families:

LanguageMarkersTools
Pythonpyproject.toml, requirements.txtruff, mypy, bandit
Gogo.modgofmt, golangci-lint, go vet
JavaScriptpackage.jsoneslint, biome
TypeScripttsconfig.jsontsc, eslint, biome
RustCargo.tomlclippy, cargo fmt
RubyGemfilerubocop
Javapom.xml, build.gradlePMD
Shell*.sh, *.bashshellcheck
YAML*.yml, *.yamlyamllint
Markdown*.mdmarkdownlint

Results and recovery

Capture output and exit status. Report checked scope, required failures, optional skips, and useful file:line diagnostics. Keep full logs available without pasting every successful result. A gate pass means required tools passed; it does not prove tests, builds, or business behavior passed.

  • Required tool missing or failed: report a blocked or failed check. Use the project environment and declared dependency setup; do not downgrade the requirement.
  • Optional tool unavailable: report it as skipped, not passed. [WARNING] pattern matches are informational; inspect them for actual defects.
  • No files: check project root, marker files, and git diff --cached --name-only for staged mode. Empty scope is not evidence of code quality; do not stage unrelated work to populate it.
  • Timeout: inspect generated or large files and I/O. Use --staged or --lang for diagnosis, but state reduced coverage and complete required checks before claiming a full pass.
  • Conflicting configuration: read project instructions and package scripts to identify the intended tool. Do not silently remove checks or edit the registry.

When explicitly adding a language, extend hooks/lib/language_registry.json with extensions, markers, and tools; each tool declares cmd, optional fix_cmd, description, and required. The adapter reads the registry on the next run.

Signals

GitHub stars
419
Forks
44
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
universal-quality-gate
Source
github.com/notque/vexjoy-agent