quality-test-gate

Map product change risks to test evidence with pass/fail criteria.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/machenjie/rd-skills --skill quality-test-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-test-gate
Source: https://github.com/machenjie/rd-skills/tree/main/src/professional-skills/quality-test-gate
Command: npx skills add https://github.com/machenjie/rd-skills --skill quality-test-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Quality Test Gate helps you define and validate the minimum evidence needed to prove a change works correctly and can be safely released, by tying tests to explicit risks and acceptance criteria instead of arbitrary coverage targets.

Core Features & Use Cases

  • Risk-to-test mapping: Links every material test to an acceptance criterion or named risk, ensuring tests are meaningful and gaps are visible.
  • Negative-path and failure-mode coverage: Requires tests for denial, error, rollback, and other non-happy-path behavior to prevent “it passed locally” surprises.
  • Specialized evidence by change type: Enforces evidence requirements for migrations (forward + rollback), contracts (consumer-driven), experiments (exposure and allocation checks), ML rollouts (drift/fairness/registry), concurrency (idempotency/race handling), and monorepo affected-test selection (cache/module graph validation).

Quick Start

Ask an AI to produce a risk-to-test verification plan for my change, explicitly listing the required unit, integration, contract, E2E, migration, and manual evidence with pass/fail criteria tied to acceptance criteria.

Frequently Asked Questions about quality-test-gate

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

FAQPage Schema
What is risk-based testing and how does it map to release readiness?

Risk-based testing validates release readiness by mapping product change risks to concrete test evidence and pass/fail criteria. It ensures every material test targets an explicit acceptance criterion or named risk, making test coverage meaningful and gaps visible.

How do I create a verification plan for database migration testing?

To create a migration testing verification plan, define evidence requirements for forward execution and rollback procedures, ensuring data integrity throughout. The plan must explicitly map these migration tests to your data integrity acceptance criteria.

Does risk-based testing cover negative paths and contract testing?

Yes, risk-based testing enforces negative-path and failure-mode coverage for denial, error, and rollback behavior. It also requires consumer-driven contract testing evidence to validate integration points and prevent unexpected breaking changes.

How do I validate ML rollout and experiment exposure checks?

To validate ML rollouts and experiments, generate a verification plan that enforces evidence for model drift, fairness, and registry checks. For experiments, it requires explicit exposure and allocation checks to confirm correct behavioral validation.

What is the best way to select affected tests in a monorepo release gate?

The best way to select monorepo affected tests is by validating the module graph and cache dependencies within your release gate. This ensures your risk-to-test mapping accurately targets only the tests impacted by the specific changes.

Why does my test strategy fail to prevent local pass but production failures?

A test strategy fails when it lacks negative-path, failure-mode, and mock assumption validation. Tying tests to explicit risks and acceptance criteria instead of arbitrary coverage targets prevents false positives and ensures true release readiness.