dqx-quality-gate

Run pytest suites, verify 100% coverage, and validate pre-commit hooks.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nampham2/dqx --skill dqx-quality-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dqx-quality-gate
Source: https://github.com/nampham2/dqx/tree/main/.opencode/skills/dqx-quality-gate
Command: npx skills add https://github.com/nampham2/dqx --skill dqx-quality-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures code quality by running the complete DQX quality gate before commits, so tests pass, coverage is verified, and pre-commit checks succeed.

Core Features & Use Cases

  • All three gates must pass (tests, coverage, and pre-commit).
  • Used in standard software development workflows before commits or PRs to guarantee code safety across the project.
  • Suitable for CI pipelines to automatically gate changes and maintain quality standards.

Quick Start

Run the full quality gate sequence to ensure code readiness before committing.

Frequently Asked Questions about dqx-quality-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce pytest test coverage and pre-commit hooks before a git commit?

You can enforce pytest test coverage and pre-commit hooks by running an automated quality gate that validates all three checks and blocks the commit if any gate fails.

Does the DQX quality gate require 100% test coverage to pass?

Yes, the DQX quality gate requires 100% test coverage. It runs your pytest suite, measures coverage, and fails the gate if full coverage is not achieved.

What is the best way to automate code quality checks in a CI pipeline?

Automating code quality in a CI pipeline is best done by running a full quality gate sequence that executes tests, validates coverage, and checks pre-commit hooks to gate changes automatically.

Can I use mypy and pre-commit together to block unsafe code before pushing?

Yes, you can use mypy and pre-commit together within a quality gate to block unsafe code. The gate runs configured pre-commit hooks and fails if any validation checks are not passed.

Why does my pre-commit hook fail even when pytest tests pass?

Your pre-commit hook may fail because the quality gate enforces three independent stages: tests, coverage, and pre-commit checks, requiring all three to pass simultaneously before allowing a commit.