code-quality-gate

Enforce a 5-stage quality gate system for TypeScript, lint, format, unit tests, and builds.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents production failures by enforcing automated quality checks through a multi-stage Quality Gate System before code is deployed.

Core Features & Use Cases

  • 5-Stage Quality Gate System: Enforces checks from local commits to production deployments.
  • Automated Checks: Includes TypeScript, Linting, Formatting, Unit Tests, and Build processes.
  • Use Case: Ensure that all code merged into the main branch passes unit tests and builds successfully, preventing regressions from reaching production.

Quick Start

Activate the code-quality-gate skill to run all pre-commit checks on your current code changes.

Frequently Asked Questions about code-quality-gate

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

FAQPage Schema
How do I automate code quality checks to prevent production failures?

Code quality gates prevent production failures by enforcing automated checks across five stages: Pre-Commit, PR-Check, Preview Deploy, E2E Tests, and Production Deploy. This ensures TypeScript, linting, formatting, tests, and builds pass successfully before deployment.

What is a multi-stage quality gate in CI/CD pipelines?

A multi-stage quality gate in CI/CD pipelines enforces automated checks sequentially across five stages: Pre-Commit, PR-Check, Preview Deploy, E2E Tests, and Production Deploy. It ensures code meets TypeScript, linting, and testing standards before deployment.

Why should I avoid continue-on-error true for TypeScript checks in GitHub Actions?

You should avoid `continue-on-error: true` for TypeScript checks because it allows failing checks to pass silently, bypassing the quality gate. Critical rules mandate strict enforcement to prevent regressions and ensure code builds successfully before production deployment.

How do I enforce linting and formatting checks before a Git commit?

Enforce linting and formatting checks before a Git commit using the Pre-Commit stage of the Quality Gate System. This automated stage validates TypeScript, linting, and formatting locally to prevent code style inconsistencies and regressions from reaching the main branch.

Does the code quality gate system work with TypeScript and E2E testing workflows?

Yes, the quality gate system works with TypeScript and E2E testing workflows. It explicitly covers TypeScript validation during Pre-Commit and executes E2E tests during the Preview Deploy stage to ensure application stability before final production deployment.

What are the limitations of using automated quality gates for deployment?

Automated quality gates require strict configuration to be effective; bypassing critical rules like TypeScript checks using `continue-on-error: true` negates the gate. The system relies on successful unit test execution and builds across all five stages to prevent failures.