WAY 11 — run only the tests a merge request / pull request puts at risk and report on it (GitLab MR, GitHub PR, Azure DevOps PR, Bitbucket PR). Use when the user says "test mr", "test pr", "mr impact", "pr impact", "what does !87 break", "check this pr" with an MR/PR number or URL.
Installs into .claude/skills of the current project.
Are you the author of Mr Impact?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ghassenazzouz-mr-impact)
---
name: mr-impact
description: WAY 11 — run only the tests a merge request / pull request puts at risk and report on it (GitLab MR, GitHub PR, Azure DevOps PR, Bitbucket PR). Use when the user says "test mr", "test pr", "mr impact", "pr impact", "what does !87 break", "check this pr" with an MR/PR number or URL.
---
# WAY 11 — MR/PR Test Impact
Run CLAUDE.md **Step 0** first. For a change request, the right target is
usually its review/preview app (`--env feature/<branch>`). Default to staging
only if the user confirms the change is deployed there.
## Phase 1: Select
Run `mr-test-impact` with the MR/PR number (or URL), `QA_CODE_HOST`, and that provider's non-secret settings. It returns the selected tests (with reasons and confidence), the folder scope filters, and the changed areas no test covers. The diff stays in its context.
If nothing is selected and `broad_change` is false, say so and go straight to Phase 3 with the uncovered list.
## Phase 2: Run
Run `test-execution-agent` per project (`e2e`, `api`) with the returned `scope_filters`.
- `failure_kind: locator` → `test-healer` (propose mode). A label change in this MR/PR is the usual cause, so show the heal next to the change itself
- **Don't file bugs automatically.** The code isn't merged yet, so failures go to the author first. File bugs only if the user asks
## Phase 3: Report on the MR/PR (`change.comment`, per the `tracker` skill)
Post one comment (use the provider's ref format: `!87` on GitLab/Azure, `#87` on GitHub/Bitbucket):
```markdown
## 🧪 QA impact — <ref>
**Environment:** <url> · **Run:** <RUN_ID>
**Selected:** N tests (H high / M medium / L low confidence) · ✅ P passed · ❌ F failed · ⚠️ B blocked
| Test | Why selected | Result |
|---|---|---|
| Test#03 — Checkout applies discount | `POST /v1/orders` changed (src/orders/controller.ts) | ❌ step 3: total not updated |
**Tests needing a heal (label changed in this change):** …
**Changed areas with no test:** `/settings/billing` (src/pages/settings/billing.tsx). Run `write it` to cover it.
---
🤖 _Generated by DevOps QA Agent — review before acting on this._
```
Also save it to `./qa-artifacts/sessions/change-<ref>-<YYYY-MM-DD-HH-MM>.md`.