test-quality-gate

Prioritize and resolve gate-breaking test failures with targeted pytest, unit, and Playwright runs.

1|Updated Sep 6, 2024
One-click install
npx skills add https://github.com/carlos18bp/gym_project --skill test-quality-gate-carlos18bp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-quality-gate
Source: https://github.com/carlos18bp/gym_project/tree/main/.agents/skills/test-quality-gate
Command: npx skills add https://github.com/carlos18bp/gym_project --skill test-quality-gate-carlos18bp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you improve a test-quality gate by focusing on the highest-impact failures first, running only targeted tests instead of the full suite, so you can raise stability and quality quickly.

Core Features & Use Cases

  • Prioritized fixing: Addresses gate-breaking errors, determinism issues, and fragile E2E locators on core flows in a structured order.
  • Targeted validation: Runs only the necessary backend pytest file, frontend unit test file, and/or frontend E2E spec file to verify changes efficiently.
  • Deterministic workflow enforcement: Uses a dedicated gate script to generate a report and guide the next phase of work without broad refactors.

Quick Start

Use the test-quality-gate skill to run the gate report and then iteratively fix the top recommended issues using the exact targeted backend, frontend unit, and/or frontend E2E commands for the changed files.

Frequently Asked Questions about test-quality-gate

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

FAQPage Schema
How do I fix flaky pytest and Playwright tests blocking my CI pipeline?

Targeted test runs validate only the necessary backend pytest, frontend unit, or Playwright E2E spec files for changed code. This executes focused validation commands instead of the full suite, verifying fixes efficiently while raising gate stability quickly.

How do I fix fragile Playwright E2E locators on core user flows?

Yes, the test-quality gate applies to backend pytest files, frontend unit specs, and frontend Playwright E2E specs. It enforces a deterministic workflow using a gate script to generate reports and guide work without requiring broad refactors across your testing infrastructure.

What is the best way to prioritize test suite failures for CI stability?

Prioritize test suite failures by generating a structured severity-grouped report from a dedicated gate script. This report identifies the highest-impact issues to address first, providing exact commands for updated files to guide iterative fixing without broad refactors.

Does targeted test running work for both backend pytest and frontend Jest specs?

Yes, targeted test running works for backend pytest, frontend unit Jest specs, and frontend Playwright E2E specs. The gate script provides exact commands to run only the necessary files for changed code, ensuring efficient validation across your entire stack.