Skip to content
Back to skills

Rhdh Overlay

ASecurity

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, decide what an overlay PR needs next, run the PR commands /publish, /update-versions, /update-commit, /smoketest, and /override-backstage, and track a local list of PRs through the trusted-user gate, publish, and e2e to merge. Use for source.json,...

  • 21 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 3, 2026
testingpythonrustgobashtestinggit

Works with

  • cli

Security analysis

A100/100

Pro scans all 17 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add redhat-developer/rhdh-skill --skill rhdh-overlay --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rhdh Overlay?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rhdh Overlay
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/redhat-developer-rhdh-overlay/badge)](https://www.skillsdirectory.com/skills/redhat-developer-rhdh-overlay)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rhdh-overlay
description: >-
  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, decide what an overlay PR needs next, run the PR
  commands /publish, /update-versions, /update-commit, /smoketest, and
  /override-backstage, and track a local list of PRs through the trusted-user
  gate, publish, and e2e to merge. Use for source.json, plugins-list.yaml,
  backstage.json, catalog metadata, overlay CI, plugin import, overlay PRs,
  "where are these PRs now", "which of these can merge", a PR that is stuck or
  never turns green, 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.
compatibility: "Git, GitHub CLI, Python 3, and a checkout of rhdh-plugin-export-overlays."
---

# 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

1. Read repository instructions and run `gh auth status`.
2. Confirm the checkout and remote with `git remote -v`.
3. Inspect the target workspace, a similar workspace, and the relevant PR or CI
   logs before changing metadata.
4. 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 |
| Decide what one PR needs next | `workflows/triage-prs.md`; the state table in Phase 2 |
| Track PRs through publish and e2e | `workflows/merge-pipeline.md`; use `scripts/pr-pipeline.py` |
| 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.

## PR commands

`pr-actions.yaml` in the overlay repository answers five PR comments. Each is a
workspace-scoped write: it resolves exactly one workspace from the branch name or
the PR files. A PR that touches zero or several workspaces gets a successful
status under the command's name with a cancellation comment, and `publish` is the
only required status check on `main` and `release-**`, so `/publish` is the
command that unblocks such a PR even though it publishes nothing.
`workflows/triage-prs.md` derives which command a PR needs, and posting any of
them goes through `/mutation-gate`.

| Command | Effect | Use when |
|---|---|---|
| `/publish` | Export and build the workspace, publish its OCI artifact, then dispatch workspace smoke tests | `publish` check is missing or failed |
| `/update-versions` | Refresh the PR from its target release branch with common, non-workspace content | A release branch moved under the PR |
| `/update-commit` | Re-run plugin discovery and update the workspace's source refs | The upstream commit moved |
| `/smoketest <tag>` | Run workspace smoke tests against an RHDH tag (`pr-<n>`, `pr-<n>-<hash>`, `next`, `next-<x>.<y>-<hash>`, or `next-<hash>`) | A published PR needs another tag or a re-run |
| `/override-backstage` | Set the workspace's `backstage.json` compatibility version to the target branch's Backstage version | Compatibility rejects the version the source declares |

## 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.json` `repo-backstage-version` is the upstream source's actual
  Backstage version. `backstage.json` `version` is 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:

```bash
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
- for tracked PRs, each one's pipeline stage and the command it needs next
- 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.

Files in this skill

  • SKILL.md4.9 KB
  • agents/openai.yaml115 B
  • references/ci-feedback.md3.1 KB
  • references/label-priority.md4.1 KB
  • references/metadata-format.md2.6 KB
  • references/overlay-repo.md2.8 KB
  • references/rhdh-local.md3 KB
  • scripts/analyze-pr.py17.2 KB
  • scripts/triage-prs.py12.3 KB
  • templates/workspace-files.md3.6 KB
  • workflows/analyze-pr.md5.3 KB
  • workflows/doctor.md735 B
  • workflows/draft-notification.md4.7 KB
  • workflows/fix-build.md2 KB
  • workflows/onboard-plugin.md12.9 KB
  • workflows/triage-prs.md5.2 KB
  • workflows/update-plugin.md3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.