MCP.so
登录
测试event

Post-Merge Regression Guard

Hook that runs smoke tests after git merge or rebase to catch integration regressions immediately.

启动提示词

Install and run the "Post-Merge Regression Guard" loop.

Goal: smoke tests pass immediately after every merge or rebase.
Between iterations run: npm run test:smoke
Exit when: smoke suite exits 0.

Step 1: After a merge, run smoke tests. Fix regressions before continuing other work.

基本信息

分类

测试

目标

smoke tests pass immediately after every merge or rebase.

检查命令

npm run test:smoke

退出条件

smoke suite exits 0.

支持的智能体

Cursor

步骤

  1. 1

    Detect merge

    Confirm a merge or rebase just completed. Identify affected areas from the diff stat.

  2. 2

    Run smoke suite

    Run the fast smoke test suite. Fix any failures before starting new feature work.

    npm run test:smoke

更多 测试 相关内容