rhdh-operator-pr-test
Skill20 starsChanged 20 days agoApache-2.0View on GitHub
Tests an rhdh-operator pull request's CI-built operator, operator-bundle, and operator-catalog images on a live OpenShift cluster with oc, and reports evidence plus rollback. Use for "test this operator PR on a cluster", redhat-developer/rhdh-operator PR images or bundles, OLM CatalogSource and Subscription from a PR catalog, quay.io/rhdh-community/operator, or deploying a PR's CI bundle with oc.
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-jobsSkill
- 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-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
1 rule. About 0 are common, 0 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Follow workflows/test-operator-pr.md from the top.
≈ “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 Operator PR Test
Deploy the PR's CI-built bundle onto a live cluster and verify the change there.
GitHub code review belongs to /rhdh-pr-review.
Start here
Follow workflows/test-operator-pr.md from the top. Load
references/operator-pr-images.md when extracting or validating CI image URLs.
Gates
| Gate | Required check | If fail |
| Forge | /rhdh-forge is installed and returns the PR | Stop; name /setup-rhdh-skills install |
oc | oc is on PATH | Stop; name /setup-rhdh-skills |
| Cluster | oc whoami succeeds | Stop; the human runs oc login, or follows the rhdh-test-instance provision path in the workflow |
| Repository | The PR is redhat-developer/rhdh-operator | Stop; this skill tests that repository only |
Boundaries
/rhdh-forgeowns GitHub reads. Invoke it by name with the PR URL or number and consume repository, number, state, files, diff, head and base refs, and comments. Do not parse the URL here or copy a fetch workflow./rhdh-pr-reviewowns analyzing the diff for merge comments and posting a GitHub review./rhdh-localowns a local compose runtime, not a live OpenShift cluster./rhdh-overlayowns overlay PR artifact checks, not operator bundles./rhdh-contextlocates an RHDH checkout when a localrhdh-test-instancetree is needed. Do not add it as a catalog dependency.
Writes
Posting a /test comment, applying or deleting cluster resources, and deploying
or rolling back an RHDH instance are external writes: invoke /mutation-gate
and follow it. A cluster operation's target names the namespace; a comment's
target names the repository and PR number. A request to test approves no write.
Deploy the full PR bundle or manifests, not only the operator binary image. Preserve the original cluster state and report it with cleanup.
Completion
Complete when the report names the PR and images used, one result per live check, the overall verdict, the deployed bundle or manifests, original and final cluster state, rollback commands, cleanup status, and the outcome of every approved write including skipped ones. Do not cache cluster state inside the skill directory.
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.

