cm-test-gate

Enforce four test layers and security hygiene before deployment.

48|23|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/tody-agent/codymaster --skill cm-test-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cm-test-gate
Source: https://github.com/tody-agent/codymaster/tree/main/skills/cm-test-gate
Command: npx skills add https://github.com/tody-agent/codymaster --skill cm-test-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinating many quality checks before deployment is hard and error-prone; this Skill provides a structured, repeatable gate that ensures frontend safety, API correctness, business logic integrity, i18n consistency, and security hygiene.

Core Features & Use Cases

  • Stack-aware environment setup and test file generation for new or existing projects.
  • Four core test layers: frontend safety, API routes, business logic, and i18n synchronization.
  • Script wiring and CI integration to fail builds on quality gates.
  • Secret hygiene checks to prevent leakage of credentials.

Quick Start

Install and integrate cm-test-gate into your project, then run npm run test:gate to enforce the end-to-end quality gate before deployment.

Frequently Asked Questions about cm-test-gate

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

FAQPage Schema
How do I set up a CI test gate for TypeScript projects?

A CI test gate for TypeScript projects verifies frontend safety, API routes, business logic, and i18n alignment before deployment. You configure stack-aware test file generation and wire scripts into CI to fail builds when quality checks are not met.

What is a multi-layer test gate and how does it work?

A multi-layer test gate coordinates quality checks across frontend safety, API routes, business logic, and i18n synchronization. It provides a structured, repeatable gate that runs these layers together to ensure code integrity before release.

Can I use vitest to enforce security and quality checks before deployment?

Yes, you can enforce security and quality checks before deployment using vitest. The test gate integrates secret hygiene checks to prevent credential leakage alongside functional tests, failing the build if any quality gate is not satisfied.

Does the test gate support i18n alignment and API route verification?

Yes, the test gate supports i18n alignment and API route verification. It enforces four core test layers that specifically include checking API route correctness and ensuring internationalization synchronization across the codebase.

How do I add a pre-deploy test gate to an existing codebase?

To add a pre-deploy test gate to an existing codebase, integrate the test gate Skill to harden your current setup. It detects your stack, provisions necessary test files, and wires scripts into your CI pipeline to block unsafe deployments.