quality-gate

Run TypeScript/JavaScript quality checks and generate a JSON report.

7|3|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/BerryKuipers/claude-code-toolkit --skill quality-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-gate
Source: https://github.com/BerryKuipers/claude-code-toolkit/tree/main/.claude/skills/quality/quality-gate
Command: npx skills add https://github.com/BerryKuipers/claude-code-toolkit --skill quality-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires npm, tsc, eslint, jq, grep, sed.

What problem does it solve?

Manually running and validating multiple quality checks (tests, lint, build, types, audit) before a Pull Request is time-consuming, inconsistent, and prone to human error. This Skill automates the entire quality assurance workflow.

Core Features & Use Cases

  • Comprehensive Validation: Runs tests, code quality audits, production build, TypeScript type checks, and linting validation.
  • Structured Results: Aggregates all check results into a clear pass/fail output with detailed blockers and warnings.
  • Automated Remediation: Identifies failing checks and can delegate to appropriate agents for automated fixes, with retry logic.
  • Use Case: Integrate this Skill into your CI/CD pipeline or Conductor workflow to ensure no code reaches a Pull Request without meeting all predefined quality standards.

Quick Start

Execute the full quality gate on your project

This will run npm test, npm run audit:code, npm run build,

tsc --noEmit, and npm run lint, then aggregate results.

quality-gate

Output:

{

"qualityGate": "pass",

"checks": {

"tests": {"status": "pass"},

"audit": {"score": 8.5},

"build": {"status": "pass"},

"typeCheck": {"status": "pass"},

"lint": {"status": "pass"}

},

"blockers": []

}

Frequently Asked Questions about quality-gate

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

FAQPage Schema
How do I automate code quality checks before submitting a pull request?

Automate code quality checks by running tests, linting, type validation, and build verification in a single workflow. This Skill aggregates TypeScript type checks, linting, test execution, coverage analysis, and production builds into a structured JSON report, catching issues before PR submission.

Can I integrate quality gate validation into my CI/CD pipeline?

Yes. This Skill runs comprehensive validation including npm tests, linting, TypeScript type checks, and production builds, producing structured pass/fail results suitable for CI/CD workflows and Conductor integrations to enforce quality standards automatically.

What quality checks does this Skill perform on TypeScript and JavaScript projects?

This Skill performs TypeScript type checking, ESLint linting, test execution, code coverage analysis, security audits, and production build validation. It aggregates results into a single report identifying blockers and warnings.

How does this Skill handle failing quality checks?

The Skill identifies failing checks and produces structured output with detailed blockers. It supports automated remediation by delegating specific failures to appropriate agents with retry logic, enabling automated fixes within your workflow.

Can I set coverage thresholds for test validation?

Yes. The Skill accepts an optional coverage_threshold parameter to enforce minimum coverage requirements. It analyzes coverage alongside test results and includes them in the structured JSON report.

What dependencies does this Skill require?

This Skill requires npm, TypeScript (tsc), ESLint, and standard CLI tools (jq, grep, sed). It leverages existing npm scripts for tests, builds, and audits, integrating with Vitest or Jest for test execution.