rhdh-overlay
Skill20 starsChanged 20 days agoApache-2.0View on GitHub
Manages the rhdh-plugin-export-overlays repository and Extensions Catalog: onboard plugins, update upstream versions, repair export or publish failures, inspect workspace health, triage the overlay PR backlog by label, staleness and merge readiness, and trigger /publish. Use for source.json, plugins-list.yaml, backstage.json, catalog metadata, overlay CI, plugin import, overlay PRs, or testing exact PR artifacts before merge. For code-level review of a pull request, use /rhdh-pr-review. To promote an rhdh-plugins release through overlays into rhdh-plugin-catalog, use /rhdh-plugin-midstream-propagate.
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-operator-pr-testSkill
- 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
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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 24
Read repository instructions and run gh auth status.
- Very specific: line 49
Use the requested overlay branch or tag, defaulting to main, for every read.
- Very specific: line 50
Read catalog-entities/extensions/plugins/<plugin-name>.yaml at that ref, resolve spec.packages, then locate each Package entity in the …
- Distinctive: line 59
Every export is configured in the overlay repository.
- Distinctive: line 67
Before merge, test the exact PR artifact.
- Very specific: line 73
Before posting /publish, verify the PR is open, lacks do-not-merge, and has no successful publish check for the current head.
≈ “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 Overlay
Own catalog packaging and overlay-repository operations. Work from a checkout
whose remote identifies redhat-developer/rhdh-plugin-export-overlays; do not
depend on another installed skill's files or CLI.
Start here
- Read repository instructions and run
gh auth status. - Confirm the checkout and remote with
git remote -v. - Inspect the target workspace, a similar workspace, and the relevant PR or CI logs before changing metadata.
- For environment problems, follow
workflows/doctor.md.
Route by outcome
| Outcome | Load and follow |
| Onboard a plugin | workflows/onboard-plugin.md |
| Update source version or commit | workflows/update-plugin.md |
| Diagnose an export or publish failure | workflows/fix-build.md |
| Look up a plugin version or installation artifact at a branch or tag | Follow the metadata lookup below |
| Check workspace status | references/overlay-repo.md, then inspect workspace files and recent gh runs |
| Triage the open PR backlog | workflows/triage-prs.md; use scripts/triage-prs.py for deterministic classification |
| Analyze one overlay PR | workflows/analyze-pr.md; use scripts/analyze-pr.py |
| Draft stale-PR notifications | workflows/draft-notification.md |
| Trigger publish | Run the guarded publish procedure below |
Infer a clear route. Ask only for a missing plugin, workspace, source ref, or PR number that cannot be discovered from the checkout.
Metadata lookup
Use the requested overlay branch or tag, defaulting to main, for every read.
Read catalog-entities/extensions/plugins/<plugin-name>.yaml at that ref,
resolve spec.packages, then locate each Package entity in the workspace's
metadata/ directory at the same ref. Report spec.packageName, spec.version,
and spec.dynamicArtifact from those entities. Use git show <ref>:<path> in
the overlay checkout; report a missing ref or metadata instead of falling back
to main. Read references/metadata-format.md for the entity fields.
Invariants
- Every export is configured in the overlay repository; CI performs the export.
source.jsonrepo-backstage-versionis the upstream source's actual Backstage version.backstage.jsonversionis the RHDH compatibility override. Never substitute one for the other.- Derive packages and refs from upstream and generated metadata; never invent an OCI URL.
- Copy the structure of a current, similar workspace when repository conventions differ from this skill's examples.
- Before merge, test the exact PR artifact. Authentication errors from an otherwise loaded plugin may be acceptable; installation or boot errors are not.
Guarded publish
Before posting /publish, verify the PR is open, lacks do-not-merge, and has
no successful publish check for the current head. Posting the comment is an
external write: invoke the named skill mutation-gate and follow the gate
it owns rather than restating it here.
State one operation. Its target is
redhat-developer/rhdh-plugin-export-overlays#<number>@<head-sha>, its preview
body is /publish, its preconditions are those three checks, and on failure it
reports the comment for manual removal if the trigger was wrong. Only after the
user approves that stated operation, run:
gh pr comment <number> --repo redhat-developer/rhdh-plugin-export-overlays --body "/publish"Report the comment and publish-check URLs, or the failure and what recovery it needs. A request to trigger publication is intent to read the PR, not approval of this write.
Other external writes
The same gate covers every push, PR creation, notification, or other external write a workflow reaches. State operations only once targets and payloads are exact, run nothing absent from the approved set, and report an outcome for every operation including the ones that were skipped. Read-only triage and analysis need no gate.
What a caller supplies
A caller invokes this skill by name and states the source repository, the source ref (commit or tag), the packages, the upstream Backstage version, and the target RHDH version.
What this skill reports
- the workspace, and what changed in it: source ref, packages, metadata files
- CI and local verification evidence, with skipped checks and their reasons
- the pull request URL, or that none was opened
- publish status: not requested, pending, passed, or failed
- the outcome of every approved external write
- remaining compatibility risks
For local verification, invoke /rhdh-local by name and give it the exact
artifact references, plugin config, named environment variables, and checks to
run. Do not load the local skill's files.
Completion
Complete when the report covers workspace and metadata changes, commands and scripts run, CI and local verification evidence, the outcome of every approved write, publish status, and remaining compatibility risks.
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.

