capability-setup-gates

Configures CI/CD quality gates and pipeline files based on adopted tech stack and guidelines.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/learnn-com/engineering-kb --skill capability-setup-gates-learnn-com
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: capability-setup-gates
Source: https://github.com/learnn-com/engineering-kb/tree/main/.skills/capability-setup-gates
Command: npx skills add https://github.com/learnn-com/engineering-kb --skill capability-setup-gates-learnn-com

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up consistent quality gates across pre-commit, CI, and pre-production stages is repetitive and error-prone, especially when aligning them with a project's specific tech stack and quality guidelines. ## Core Features & Use Cases - Stack-Aware Gate Proposal: Reads the adopted tech stack and quality-assurance guidelines to propose lint, type-check, test, and build gates with concrete commands. - Pipeline Generation: Writes CI/CD pipeline configuration for GitHub Actions, GitLab CI, or documents manual commands for other platforms. - Idempotent Operation: Detects existing gate configuration and confirms rather than re-configuring, updating only on explicit request. - Use Case: During project bootstrap, run this skill to generate a .github/workflows/quality.yml pipeline and record the gate registry in way-of-working.md, then log the decision via the record-decision capability. ## Quick Start Ask the AI to set up quality gates for this project, optionally scoping to pre-commit, ci, or pre-production stages.

Frequently Asked Questions about capability-setup-gates

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

FAQPage Schema
How do I set up CI/CD quality gates for my project?▼

Invoke the skill with an optional scope argument (pre-commit, ci, pre-production, or all). It reads your tech stack and quality guidelines, proposes gate commands like lint, type-check, and tests, then writes the pipeline configuration after your approval.

How to configure pre-commit and CI quality gates automatically?▼

The skill proposes pre-commit gates (lint, type check, formatting) and CI gates (tests with coverage, build verification) based on your adopted stack. Approved configurations are written to way-of-working.md and the appropriate pipeline file.

Does it support GitHub Actions and GitLab CI?▼

Yes. It generates .github/workflows/quality.yml for GitHub Actions, a quality stage in .gitlab-ci.yml for GitLab, and documents manual commands when no CI/CD platform is detectable.

What happens if quality gates are already configured?▼

The skill is idempotent: it detects existing Quality Gates sections, gate registries, and pipeline files, then presents the current configuration for confirmation. It only updates when you explicitly request changes.

What if quality guidelines or tech stack files are missing?▼

It degrades gracefully by proposing minimal gates from detected package.json scripts (test, lint, build) or asking you for tooling choices. If the record-decision capability is unavailable, it warns and skips decision recording.