quality-gate

Run typecheck, lint, tests, and build for TypeScript projects.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/LimaTechnologies/admin-telegram-bot --skill quality-gate-limatechnologies
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-gate
Source: https://github.com/LimaTechnologies/admin-telegram-bot/tree/main/.claude/skills/quality-gate
Command: npx skills add https://github.com/LimaTechnologies/admin-telegram-bot --skill quality-gate-limatechnologies

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the quality assurance workflow for software projects by running type checks, linting, unit tests, E2E tests, and builds, and it blocks commits that fail any step.

Core Features & Use Cases

  • Typecheck, lint, tests, and builds are executed automatically before commits or in CI pipelines.
  • Prevents code from merging or being deployed when quality gates fail.
  • Suits TypeScript/Next.js projects and general JavaScript workflows to enforce consistency and reduce debugging time.

Quick Start

Run the quality gate locally before commit: bun run typecheck && bun run lint && bun run test && bun run test:e2e && bun run build

Frequently Asked Questions about quality-gate

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

FAQPage Schema
How do I automate typecheck, lint, and tests before git commits?

Automating pre-commit quality checks involves running typecheck, lint, unit tests, e2e tests, and build steps sequentially to block commits on any failure. This workflow enforces code quality by halting execution at the first error, preventing broken code from merging or deploying.

What is a pre-commit quality gate for TypeScript and Next.js projects?

A pre-commit quality gate is an automated validation step that executes typecheck, lint, unit tests, e2e tests, and builds before code is committed. It ensures TypeScript and Next.js applications maintain consistency by stopping commits that fail any defined quality check.

Does this quality gate workflow work with general JavaScript projects or only Next.js?

The quality gate workflow suits both Next.js apps and general JavaScript projects. It executes typecheck, lint, unit tests, e2e tests, and build steps across TypeScript workflows, enforcing consistency and reducing debugging time regardless of the specific framework.

How do I run a CI pipeline quality gate locally using bun?

Running a CI quality gate locally requires executing typecheck, lint, test, e2e test, and build commands sequentially via bun. You trigger the pipeline using bun run for each step, which validates code locally before pushing to CI pipelines.

What happens when a build or test step fails during the quality gate process?

When a build or test step fails during the quality gate process, execution stops immediately on the first failure. This blocking mechanism prevents failing code from merging or deploying, ensuring only validated code passes the pre-commit and CI quality gates.

Why should I run e2e tests and builds before committing code?

Running e2e tests and builds before committing code catches integration and compilation failures early. This pre-commit quality gate reduces debugging time by ensuring TypeScript projects and Next.js apps pass all checks locally before entering CI pipelines.