rhdh-plugin-export
/rhdh-plugin-export
Turns a Backstage plugin you are developing into a deployable Red Hat Developer Hub dynamic plugin artifact: run @red-hat-developer-hub/cli plugin export to produce dist-dynamic and dist-scalprum, choose shared, embedded and bundled dependencies, package as an OCI image, tgz archive or npm package, push to quay.io or another registry, and generate the SHA-512 or sha256 digest integrity values a deployment needs. Use for "export my plugin", "package the plugin as OCI", "push the plugin to a registry", --shared-package, --embed-package, plugin-manifest.json, or integrity hashes. For a failing ex
- Author
- redhat-developer ↗
- Repository
- rhdh-skills ↗
- Licence
- Apache-2.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 8
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/export-plugin.py
What it does and when to use it
Turns a Backstage plugin you are developing into a deployable Red Hat Developer Hub dynamic plugin artifact: run @red-hat-developer-hub/cli plugin export to produce dist-dynamic and dist-scalprum, choose shared, embedded and bundled dependencies, package as an OCI image, tgz archive or npm package, push to quay.io or another registry, and generate the SHA-512 or sha256 digest integrity values a deployment needs. Use for "export my plugin", "package the plugin as OCI", "push the plugin to a registry", --shared-package, --embed-package, plugin-manifest.json, or integrity hashes. For a failing ex
Triggers from the description
Original author description
Turns a Backstage plugin you are developing into a deployable Red Hat Developer Hub dynamic plugin artifact: run @red-hat-developer-hub/cli plugin export to produce dist-dynamic and dist-scalprum, choose shared, embedded and bundled dependencies, package as an OCI image, tgz archive or npm package, push to quay.io or another registry, and generate the SHA-512 or sha256 digest integrity values a deployment needs. Use for "export my plugin", "package the plugin as OCI", "push the plugin to a registry", --shared-package, --embed-package, plugin-manifest.json, or integrity hashes. For a failing ex
How it works
- Scope against /rhdh-overlay
- Start here
- Route by outcome
- Boundaries
- Invariants
- Completion
SKILL.md preview
--- name: rhdh-plugin-export description: >- Turns a Backstage plugin you are developing into a deployable Red Hat Developer Hub dynamic plugin artifact: run @red-hat-developer-hub/cli plugin export to produce dist-dynamic and dist-scalprum, choose shared, embedded and bundled dependencies, package as an OCI image, tgz archive or npm package, push to quay.io or another registry, and generate the SHA-512 or sha256 digest integrity values a deployment needs. Use for "export my plugin", "package the plugin as OCI", "push the plugin to a registry", --shared-package, --embed-package, plugin-manifest.json, or integrity hashes. For a failing export in the rhdh-plugin-export-overlays repository, use /rhdh-overlay instead. compatibility: "Node.js 22+, Yarn, Python 3, and podman, docker, or buildah for OCI images; registry credentials for a push." --- # RHDH Plugin Export Own the step between working source and a deployable artifact. The plugin builds, exports to `dist-dynamic/`, gets packaged in one of three formats, and optionally lands in a registry with an integrity value the deployment can pin. ## Scope against /rhdh-overlay This skill exports **a plugin you are developing**, from its own workspace, on your machine. `/rhdh-overlay` repairs **the overlay repository's CI export** — `source.json`, `plugins-list.yaml`, and the export jobs that `rhdh-plugin-export-overlays` runs for the Extensions Catalog. If the failing export is a GitHub Actions run in that repository, it is not this skill. ## Start here 1. Confirm the plugin builds: `yarn build` and `yarn tsc` from the plugin directory. 2. Read `package.json` for the plugin role, name, and version, and check that a backend plugin has a default export from `src/index.ts`. 3. Decide the target format before running anything: OCI image, tgz archive, or npm package. ## Route by outcome | Outcome | Load and follow | |---|---| | Export and package in one pass | `references/export.md`; run `scripts/export-plugin.py` | | Choose shared, embedded, or bundled dependencies | `references/export-options.md` | | Compare or produce a specific artifact format | `references/packaging-formats.md` | | Produce or verify an integrity value | `references/integrity-hashes.md` | | See a complete deployment configuration | `examples/dynamic-plugins.yaml` | The bundled script covers the common path: ```bash python scripts/export-plugin.py --plugin-dir plugins/my-plugin \ --tag quay.io/ns/my-plugin:v0.1.0 --push --clean ``` Run it with `--help` for the full option set. Follow `references/export.md` step by step when the script's defaults do not fit. ## Boundaries - This skill produces artifacts. It does not write plugin source, generate deployment configuration, or run RHDH. - `/rhdh-plugin-authoring` owns plugin source, including a missing default export or a broken build that surfaces here. - `/rhdh-plugin-wiring` owns the `dynamic-plugins.yaml` configuration that consumes the artifact this skill produces. - `/rhdh-local` owns installing the artifact into a running local RHDH. - `/rhdh-overlay` owns the overlay repository and the Extensions Catalog. Invoke a named skill and describe the handoff in the conversation. Never open another skill's files. ## Invariants - Never invent a registry reference. Derive the package name, tag, and digest from the export output and the registry response. - A push to a registry is an external write. Invoke the named skill `mutation-gate` and follow it; the operation's target is the exact registry, repository, and tag. - Prefer a digest over a tag when a deployment needs a stable artifact. - Report the produced paths and references verbatim; a deployment that pins a guessed value fails at install time, far from here. ## Completion Report the export command run, the artifact format and its exact reference or path, the shared and embedded dependency decisions, any integrity value produced, whether a push happened and to where, and the named skill to invoke next for wiring or local verification.
Files in this package (8)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
- examples/dynamic-plugins.yaml 6 KB
- references/export-options.md 6 KB
- references/export.md 5 KB
- references/integrity-hashes.md 5 KB
- references/packaging-formats.md 7 KB
- scripts/export-plugin.py 15 KB
Versions
The database has no other skills named rhdh-plugin-export.
Database snapshot: 13.11.2026 · package version 6a4d0fc75a32 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90rhdh-plugin-authoring
Writes Backstage plugin source for Red Hat Developer Hub in rhdh-plugins or community-plugins: scaffold a backend dynamic plugin with createBackendPlugin or createBackendModule from @backstage/backend-plugin-api, scaffold a frontend dynamic plugin, and implement features against… - 90rhdh-plugin-wiring
Generates the Red Hat Developer Hub dynamic-plugins.yaml configuration that makes an exported Backstage frontend plugin appear in RHDH: derive the Scalprum name from plugin-manifest.json or the package name, and write the pluginConfig.dynamicPlugins.frontend block with… - 100fast-npm-meta
Queries npm package metadata via the fast-npm-meta CLI — resolves package versions, dist-tags, publish dates, engine requirements, and version range specifiers. Use whenever looking up the latest version of an npm package, checking which versions exist, inspecting dist-tags or… - 100backstage-plugin-development
Guides authoring a custom Backstage plugin — scaffolding a frontend or backend plugin package with `yarn new`, wiring a frontend API client via `createApiRef`, building a backend plugin on the new backend system (`createBackendPlugin`), and registering either into the app's… - 100package-author
当用户要把手头的工具打包/标准化成 pinvou 插件包时使用——包括纯技能(SKILL.md)、纯 MCP 服务或它们的组合包。用户说"打包/做成插件包/标准化这个工具/给我一个能上传的标准包/写 plugin.json/加个图标"等,或给了散乱脚本/目录要整理成可上传 zip 时,用本技能把内容规范成 plugin-protocol 标准包(补 plugin.json、补 mcp/manifest.json、补 SKILL.md、补图标、校验命名)。 - 100plugin-author
Write a Shipyard plugin. Use when a person creates or edits a plugin folder with manifest.json and files/, or asks how to package one.