openshift/rhdh-decommission-release
>- Use when decommissioning an end-of-life RHDH release branch by removing CI config, generated Prow jobs, and branch protection from the openshift/release repository
npx skills add https://github.com/openshift/release --skill rhdh-decommission-release
You are helping the user decommission CI jobs for an end-of-life RHDH (Red Hat Developer Hub) release branch.
Decommissioning removes all CI configuration for a given RHDH release branch. This is done when a release reaches end-of-life and no longer needs CI jobs running. Based on the pattern from PR #71895.
ls ci-operator/config/redhat-developer/rhdh/redhat-developer-rhdh-release-*.yamlShow the user what will be deleted and ask for confirmation:
ci-operator/config/redhat-developer/rhdh/redhat-developer-rhdh-release-{version}.yamlci-operator/jobs/redhat-developer/rhdh/redhat-developer-rhdh-release-{version}-*.yaml (typically -presubmits.yaml and -periodics.yaml)release-{version}: block in core-services/prow/02_config/redhat-developer/rhdh/_prowconfig.yamlIf the CI config file does not exist, warn the user that this release may have already been decommissioned and ask if they want to continue checking for leftover files.
Remove ci-operator/config/redhat-developer/rhdh/redhat-developer-rhdh-release-{version}.yaml
Remove all matching files: ci-operator/jobs/redhat-developer/rhdh/redhat-developer-rhdh-release-{version}-*.yaml
Edit core-services/prow/02_config/redhat-developer/rhdh/_prowconfig.yaml to remove the entire release-{version}: block under branch-protection.orgs.redhat-developer.repos.rhdh.branches.
The block to remove looks like:
release-{version}:
allow_deletions: false
allow_force_pushes: false
enforce_admins: true
protect: true
required_status_checks:
contexts:
- <context1>
- <context2>
- <context3>
Be careful to:
make update -- since we are only deleting files and removing branch protection, there is nothing to regenerateci-operator/jobs/ are normally auto-generated, but when decommissioning we simply delete them along with the source configTake openshift/rhdh-decommission-release from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.