diff --git a/.github/skills/find-regression-risk/SKILL.md b/.github/skills/find-regression-risk/SKILL.md index d458232359e8..27b361b95ca1 100644 --- a/.github/skills/find-regression-risk/SKILL.md +++ b/.github/skills/find-regression-risk/SKILL.md @@ -1,3 +1,21 @@ +--- +name: find-regression-risk +description: >- + Detects potential regression risks in a PR by cross-referencing lines the PR + REMOVES against lines ADDED by recent labeled bug-fix PRs (`i/regression`, + `t/bug`, `p/0`, `p/1`) touching the same files. Purely mechanical — no AI/LLM. + Emits a CLEAN / OVERLAP / REVERT verdict plus structured findings. Triggers on: + "does this PR revert a previous fix", "check PR for regression risk", + "find regression risks in PR", "is this change reverting a bug fix". + Do NOT use for: assessing ship-readiness of a release branch (use + release-readiness), investigating CI failures (use azdo-build-investigator), + or general code review (use code-review). +metadata: + author: dotnet-maui + version: "1.0" +compatibility: Requires PowerShell (pwsh), git, and GitHub CLI (gh) authenticated against the target repository. +--- + # find-regression-risk Detects potential regression risks in a PR by cross-referencing removed lines against lines added by recent labeled bug-fix PRs. diff --git a/.github/workflows/skill-validation.yml b/.github/workflows/skill-validation.yml index 96b2a4e2abd3..460274332a92 100644 --- a/.github/workflows/skill-validation.yml +++ b/.github/workflows/skill-validation.yml @@ -254,10 +254,9 @@ jobs: # nonstandard filename with --eval-spec. This also SKIPS SKILL.md structural # linting. We do NOT # lint SKILL.md / *.agent.md here on purpose: vally's skill linter flags - # two PRE-EXISTING repo issues unrelated to this migration (try-fix - # SKILL.md exceeds the 500-line limit; find-regression-risk is missing - # name/description frontmatter) that would false-red this gate. Those are - # tracked as follow-ups in the PR description. + # a PRE-EXISTING repo issue unrelated to this migration (try-fix + # SKILL.md exceeds the 500-line limit) that would false-red this gate. + # That is tracked as a follow-up in the PR description. - name: Lint eval specs id: check shell: bash