Index of every page on this site: llms.txt
All skills
openshift avatar

/validate-pr-override-images

@0f43b29 official
by openshiftopenshift/hypershift555 stars
592
Run it yourself

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

  • 3 files
  • 10.3 KB
  • Updated 5 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/openshift/hypershift/validate-pr-override-images

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈30 tokens for metadata: the name and description. ≈285 when used: this file.

SKILL.md has missing or invalid fields
  • The name in the SKILL.md header is missing or is not text.
Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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 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)

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 0f43b29. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 5 months ago
argument-hint
<PR-URL-or-number>
  • openshift
  • hypershift
  • cpo
  • image-validation
  • container-images
  • quay.io
  • skopeo
  • release-management
  • pr-validation

README badge

README badge for openshift/hypershift/validate-pr-override-images

Validates that CPO override images in a HyperShift PR contain the specific upstream PRs they claim to include. Uses skopeo to inspect image layers and cross-reference them against a structured contract in the PR description listing desired branch and PR combinations.

Generated from the current SKILL.md.

What does this skill validate?
It checks that CPO override images referenced in a PR actually contain the fix PRs they claim to include, based on a structured contract in the PR description listing branch and wanted PR numbers.
What prerequisites are required?
skopeo must be installed, the local git repo must have relevant release branches fetched, and images must be accessible from quay.io.
What format should the PR description follow?
The PR description must list a structured contract with branch versions and associated PR URLs, e.g., 'branch: 4.20 wants: https://github.com/openshift/hypershift/pull/8593'.
Can I pass just a PR number or do I need the full URL?
Both work. You can pass either a full GitHub URL (https://github.com/openshift/hypershift/pull/8610) or just the PR number (8610).

Generated from the current SKILL.md. These answers refresh after source changes.