validate-pr-override-images
Skill553 starsChanged 6 months agoApache-2.0View on GitHub
Validates that CPO override images in a PR actually contain the PRs they claim to include
- Installs packages
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api/AGENTS.mdAGENTS.md
- control-plane-operator/AGENTS.mdAGENTS.md
- .cursor/rules/100-go-mistakes.mdcCursor rule
- .cursor/rules/code-formatting.mdcCursor rule
- .cursor/rules/code-review.mdcCursor rule
- .cursor/rules/create-jira-items.mdcCursor rule
- .cursor/rules/debug-aro-hcp-e2e.mdcCursor rule
- .cursor/rules/git-commit-format.mdcCursor rule
- .cursor/rules/restructure-commits.mdcCursor rule
- create-cpo-overrideSkill
- Debug ClusterSkill
- e2e-analyzeSkill
- Effective GoSkill
- feature-developmentSkill
- fix-hypershift-repo-robot-prSkill
- Git Commit FormatSkill
- konflux-buildSkill
- Konflux Archived PipelineRunsSkill
- pr-reportSkill
- restructure-commitsSkill
- test-tag-pipelineSkill
- triage-leaked-infraSkill
- update-konflux-tasksSkill
- Git Commit FormatSkill
- restructure-commitsSkill
The file
Files
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/8565Prerequisites:
skopeomust be installed (brew install skopeoon 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)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

