rhdh-prow-jobs
Skill20 starsChanged 22 days agoApache-2.0View on GitHub
Lists, generates, and removes RHDH test entries and Hive ClusterPools in the openshift/release Prow ci-operator configuration. Covers OCP `e2e-ocp-vX-Y-helm-nightly` entries, `cluster_claim.version`, the `rhdh-cluster-pool` Hive pools, and AKS/EKS/GKE entries with `MAPT_KUBERNETES_VERSION`. Use for "add an OCP test entry", "which OCP versions are we testing", "list the cluster pools", "what AKS/EKS/GKE version is configured", or an OCP coverage-gap analysis.
In this repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- rhdh-base-imagesSkill
- rhdh-konflux-rpaSkill
- rhdh-konflux-tasksSkill
- rhdh-plugin-catalog-index-status-and-update-flowSkill
- rhdh-pr-mrSkill
- rhdh-prow-release-branchSkill
- rhdh-prow-triggerSkill
- rhdh-yarn-bumpSkill
- rhdh-feature-docsSkill
- rhdh-jira-createSkill
- rhdh-jira-linkSkill
- rhdh-jira-refineSkill
- rhdh-jira-sprint-planSkill
- rhdh-jira-sprint-reportSkill
- rhdh-jira-updateSkill
- rhdh-prepare-refinementSkill
- agent-readinessSkill
- ask-rhdhSkill
- clean-proseSkill
- setup-rhdh-skillsSkill
- skill-authoringSkill
- rhdh-backportSkill
- rhdh-backstage-upgradeSkill
- rhdh-localSkill
- rhdh-operator-pr-testSkill
- rhdh-overlaySkill
- rhdh-playwrightSkill
- rhdh-plugin-authoringSkill
- rhdh-plugin-bug-fixSkill
- rhdh-plugin-exportSkill
- rhdh-plugin-midstream-propagateSkill
- rhdh-plugin-nfs-migrationSkill
- rhdh-plugin-wiringSkill
- rhdh-pr-createSkill
- rhdh-pr-reviewSkill
- rhdh-test-placementSkill
- backstage-api-changesSkill
- mutation-gateSkill
- openspec-journalSkill
- prose-editingSkill
- rhdh-contextSkill
- rhdh-forgeSkill
- rhdh-jira-apiSkill
- rhdh-jira-authoringSkill
- rhdh-spec-driven-schemaSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-audit-changeSkill
- openspec-bulk-archive-changeSkill
- openspec-continue-changeSkill
- openspec-exploreSkill
- openspec-ff-changeSkill
- openspec-new-changeSkill
- openspec-onboardSkill
- openspec-sync-specsSkill
- openspec-verify-changeSkill
- rhdh-overlay-cve-exportSkill
- rhdh-platform-lifecycleSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read and change which platform versions RHDH is tested on in openshift/release.
- Very specific: line 20
Run the bundled scripts instead of reconstructing their YAML logic.
- Very specific: line 66
Use --dry-run on generate_cluster_pool.py to preview before writing.
- Very specific: line 69
Run make update after any config change, and commit the config and the generated job files together.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RHDH Prow test entries and cluster pools
Read and change which platform versions RHDH is tested on in openshift/release.
Listing and coverage analysis work against the remote repository through gh;
generation and removal need a local checkout because they end in make update.
Run the bundled scripts instead of reconstructing their YAML logic. Every script
accepts --repo-dir to point at a local openshift/release checkout and falls
back to the GitHub API when it is absent.
Route
| Intent | Load |
| List OCP test entries, or add/remove one | workflows/ocp-jobs.md |
| List, generate, or delete a Hive ClusterPool | workflows/ocp-pools.md |
| Find OCP coverage gaps and stale configuration | workflows/ocp-coverage.md |
| List AKS, EKS, or GKE entries, or bump their K8s version | workflows/k8s-jobs.md |
Load only the selected workflow.
Scope
This skill owns individual test entries and cluster pools on branches that
already exist. Creating or retiring the whole set of jobs for a release branch —
the branch config file, its generated jobs, and its branch-protection block — is
/rhdh-prow-release-branch. Running a configured job on demand is
/rhdh-prow-trigger.
Composition
For whether a platform version is still supported, invoke /rhdh-platform-lifecycle
by name and use what it returns. Do not import its Python package or read its
files. scripts/analyze_coverage.py queries the lifecycle APIs directly so the
scripts stay standalone.
Reading rules
- Report only versions that came from the read, never from recall. Say which config source was read and when.
- Extract OCP versions from
cluster_claim.version, not from test names — some OCP-targeted tests do not encode the version in their name. - A version that is configured is not the same as a version that is supported. Without lifecycle facts, name the platforms that remain unclassified rather than presenting configured versions as supported.
Writing rules
Generating a file, editing a config, running make update, committing, pushing,
or opening a pull request is a write. Follow /mutation-gate, naming the
config file or job file as the target of each operation.
- Use
--dry-runongenerate_cluster_pool.pyto preview before writing. generate_test_entry.pyprints a block for review; inserting it is a separate approved edit.- Run
make updateafter any config change, and commit the config and the generated job files together. - Removing an OCP version means both its test entries on every product branch and its cluster pool. Check for the other half before declaring the removal finished.
Completion
A read is complete when the answer names the config source it was read from, every entry, pool, or gap in it came from that read, and anything the scan could not reach is named as unread instead of reported as absent.
A write is complete when every approved file edit has been applied and reported,
make update has run, the regenerated job files under
ci-operator/jobs/redhat-developer/rhdh/ are named alongside the config change,
and the push and pull-request state is stated explicitly — including "not
pushed" when nothing was pushed. A removal is complete only once both the test
entries and the cluster pool for that version are accounted for.
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.

