enforcing-quality-gates

Design PostgreSQL CI/CD quality gate pipelines with a 5-phase enforcement workflow.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/musher-dev/bundles --skill enforcing-quality-gates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: enforcing-quality-gates
Source: https://github.com/musher-dev/bundles/tree/main/database-schema-governance/skills/enforcing-quality-gates
Command: npx skills add https://github.com/musher-dev/bundles --skill enforcing-quality-gates

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of preventing database schema defects from reaching production by establishing a robust, multi-phase CI/CD quality gate system for PostgreSQL.

Core Features & Use Cases

  • 5-Phase Enforcement Pipeline: Implements checks from local development through production deployment.
  • Tool Orchestration: Integrates tools like Atlas, Squawk, and SQLFluff for comprehensive validation.
  • Rule Classification: Differentiates between hard-block and advisory rules for effective enforcement.
  • Use Case: When designing a new database CI/CD pipeline, use this skill to define the architecture, select appropriate tools, and classify rules to ensure schema integrity and prevent costly production issues.

Quick Start

Design a 5-phase CI/CD quality gate pipeline for PostgreSQL schema enforcement.

Frequently Asked Questions about enforcing-quality-gates

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

FAQPage Schema
How do I enforce quality gates in a PostgreSQL CI/CD pipeline?

You can enforce PostgreSQL quality gates by implementing a 5-phase CI/CD pipeline that validates schema migrations from local development through production deployment using orchestrated tool checks.

What is the best way to prevent database schema defects from reaching production?

Preventing database schema defects requires establishing a multi-phase CI/CD quality gate system that differentiates between hard-block rules and advisory warnings before production migration.

How do Atlas, Squawk, and SQLFluff work together for database governance?

These tools orchestrate comprehensive database governance by dividing validation responsibilities: SQLFluff handles linting, Squawk analyzes migrations, and Atlas manages schema enforcement within the pipeline.

Can I bypass hard-block rules during a critical PostgreSQL migration?

Yes, the pipeline includes break-glass exception procedures designed to bypass hard-block rules specifically during critical PostgreSQL migration scenarios when standard enforcement must be overridden.

When do I need ephemeral database provisioning for schema enforcement?

Ephemeral database provisioning is needed during the CI/CD quality gate phases to provide isolated, temporary environments for safely validating PostgreSQL schema changes before deployment.

Does this schema enforcement approach work without existing migration tools?

The quality gate pipeline is designed to integrate with existing migration workflows, but it specifically orchestrates tools like Atlas, Squawk, and SQLFluff rather than acting as a standalone migration engine.