setup-quality-gate

Automate local and CI quality gates with linting, type checks, and tests.

3|1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/malinskibeniamin/skills --skill setup-quality-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-quality-gate
Source: https://github.com/malinskibeniamin/skills/tree/main/setup-quality-gate
Command: npx skills add https://github.com/malinskibeniamin/skills --skill setup-quality-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Automates the setup of fast local and CI quality gates for code quality checks.

Core Features & Use Cases

  • Quick, repeatable setup of quality gates, linting, type checks, related tests, and pre-merge validations.
  • Includes a GitHub Actions workflow, a Stop hook for type checking, and a bundle-guard hook to curb heavy dependencies.

Quick Start

Run the repository setup and follow the SKILL.md guidelines to add the quality-gate scaffold to your project.

Frequently Asked Questions about setup-quality-gate

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

FAQPage Schema
How do I set up local and CI quality gates for linting and type checking?

You need a project with a package.json containing lint, typecheck, and test scripts. The Skill also requires the jq dependency to be installed, and integrates a GitHub Actions workflow, a Stop hook for type checking, and a bundle-guard hook.

Can I use this to add pre-push checks for linting and type checking?

Yes, you can use this to add pre-push checks. It installs Stop hook scripts that enforce type checking and linting locally before code is pushed, ensuring fast feedback and preventing unvalidated code from reaching the remote repository.

How do I automate GitHub Actions validations for pull requests?

Automating GitHub Actions validations involves adding a workflow file to your repository. This Skill provides a pre-configured GitHub Actions workflow that runs linting, type checks, and related tests automatically during pull requests and pre-push events.

What is a bundle-guard hook and how does it curb heavy dependencies?

A bundle-guard hook is a pre-push script that prevents heavy dependencies from bloating your project. This Skill includes a bundle-guard hook to automatically check and curb the introduction of large dependencies during local quality gate checks.

Do I need specific scripts in my package.json to use these quality gates?

Yes, you need specific scripts in your package.json. Your project must include predefined lint, typecheck, and test scripts so the quality gate hooks and GitHub Actions workflow can execute the necessary code quality validations.