Skip to content
Development
Skill

/validate-pr-override-images

Validates that CPO override images in a PR actually contain the PRs they claim to include

From plugin
hypershift
53614 skills5 agents8 commands
Install
$ npx -y skills add openshift/hypershift --skill validate-pr-override-images --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/validate-pr-override-images

Context preview

The summary Claude sees to decide when to auto-load this skill.

Validates that CPO override images in a PR actually contain the PRs they claim to include

SKILL.md

validate-pr-override-images.SKILL.md
description: Validates that CPO override images in a PR actually contain the PRs they claim to include
argument-hint: "<PR-URL-or-number>"

Name

validate-pr-override-images

Synopsis

/validate-pr-override-images <PR-URL-or-number>

Description

Validates that CPO override images in a PR actually contain the claimed fix PRs.

The PR description must include a structured validation contract as documented in [docs/content/contribute/cpo-overrides.md](../../docs/content/contribute/cpo-overrides.md) under "Validating Override Images Contain Claimed PRs". Example:

branch: 4.20 wants: https://github.com/openshift/hypershift/pull/8593
branch: 4.21 wants: https://github.com/openshift/hypershift/pull/8593, https://github.com/openshift/hypershift/pull/8565

Prerequisites:

  • `skopeo` must be installed (`brew install skopeo` on macOS)
  • The local git repo must have the relevant release branches fetched
  • Images must be accessible from quay.io

Implementation

Extract the PR number from the argument, then run:

.claude/skills/validate-pr-override-images/validate-overrides.sh <pr-number>

Report the output to the user.

Arguments

  • `$1`: PR URL (e.g., `https://github.com/openshift/hypershift/pull/8610`) or PR number (e.g., `8610`)
Ships withhypershift

HyperShift is a middleware for hosting OpenShift control planes at scale that solves for cost and time to provision, as well as portability cross cloud with strong separation of concerns between management and workloads.

Get the whole plugin