regression-gate

Generate regression tests for modified API routes from PR diffs.

4|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/AgileSmagile/smagile-agentic-kanban-blueprint --skill regression-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: regression-gate
Source: https://github.com/AgileSmagile/smagile-agentic-kanban-blueprint/tree/main/skills/regression-gate
Command: npx skills add https://github.com/AgileSmagile/smagile-agentic-kanban-blueprint --skill regression-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

After feature tests pass, this skill ensures regression tests are created for modified API routes to prevent security regressions and silent behavior changes.

Core Features & Use Cases

  • Identify changed API routes from diffs and prepare regression tests for each modified path.
  • Generate tests that cover critical vectors (ownership checks, authorization, input validation) and document coverage on the card.
  • Provide a guided workflow from detection to test creation to documentation.

Quick Start

Trigger the regression-gate hook on a PR or diff to automatically generate regression tests and document coverage on the card.

Frequently Asked Questions about regression-gate

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

FAQPage Schema
How do I automate API regression tests for security checks in my CI-CD pipeline?

API regression tests for security checks are automated by triggering a hook on pull request diffs, which identifies modified routes and automatically generates tests for changed security-critical paths.

What security vectors should API regression tests cover to prevent security regressions?

API regression tests should cover ownership checks, authorization, and input validation to prevent security regressions and silent behavior changes after feature tests pass.

How do I generate regression tests for modified API routes from a pull request diff?

Regression tests for modified API routes are generated by applying the workflow to PR diffs, which detects changed paths and creates tests for security-critical vectors with documented coverage.

Can I use automated regression testing for API routes without writing tests manually?

Automated regression testing for API routes generates tests automatically from diffs, providing a guided workflow from detection to test creation to documentation without manual test writing.

Does regression testing work with my existing CI-CD quality assurance workflow?

Regression testing integrates with CI-CD quality assurance workflows by triggering on PR diffs, automatically generating tests for modified paths, and documenting coverage on the card.

What's the best way to document test coverage for security-critical API paths?

Documenting test coverage for security-critical API paths is handled automatically during test generation, outputting coverage documentation directly on the card for ownership checks and input validation.