RHDH
Use this entry point for Red Hat Developer Hub work: initialize the bundled CLI, check environment readiness, route to specialized RHDH skills or references, and track durable activity when work spans sessions.
When to invoke
- "Help with Red Hat Developer Hub."
- "Work on an RHDH dynamic plugin."
- "Triage this RHDH overlay or CI failure."
- "Set up rhdh-local or test a plugin catalog."
- "Create or update an RHDH Jira issue."
Prerequisites and context
- Resolve the skill directory from this
SKILL.md file before running bundled commands.
- Set the CLI variable to the local script:
RHDH="<skill-dir>/scripts/rhdh"
- Run
$RHDH to check the environment unless the user asks only a conceptual question.
- If output reports
needs_setup: true, run $RHDH doctor before repository or plugin operations.
- Use
$RHDH config init or $RHDH config set <key> <path> when local repository paths are missing.
Routing
| User intent |
Route |
| Onboard, update, fix, triage, analyze PRs, publish, or manage overlay workspace |
Load the overlay skill if available. |
Create backend plugin, frontend plugin, export, OCI packaging, tgz, dynamic plugin wiring, mount points, routes, or entity tabs |
Load the create-plugin skill if available. |
| Enable, disable, test, start, stop, health-check, backup, restore, or troubleshoot local RHDH |
Load the rhdh-local skill if available. |
Jira issue creation, assignment, refinement, sprint planning, release status, RHIDP, RHDHPLAN, RHDHBUGS, or RHDHSUPP |
Load the rhdh-jira skill if available. |
| Environment check, repo path setup, activity review, or repository navigation |
Use the bundled CLI and references in this skill. |
Do not use relative links to other primitives; refer to specialized skills by name and type.
CLI commands
$RHDH # Environment status and next steps
$RHDH doctor # Full environment check
$RHDH config init # Auto-detect repo paths
$RHDH config show # Show configured paths
$RHDH config set overlay /path
$RHDH config set local /path
$RHDH config set rhdh /path
$RHDH workspace list
$RHDH workspace status <name>
$RHDH log show --limit 10
$RHDH todo list
Operating principles
- Ask only when required information is missing; if intent is clear, proceed with the matching route.
- Track meaningful milestones with
$RHDH log add and blockers with $RHDH todo when work spans sessions.
- Before using GitHub CLI patterns for RHDH repositories, read
references/github-reference.md.
- Before navigating RHDH repositories, read
references/rhdh-repos.md.
- Do not guess repository relationships, versions, PR commands, or publish checks; verify through references or CLI output.
- Prefer read-only GitHub CLI commands first and confirm before mutating PRs, labels, comments, or assignments.
Activity tracking
Use activity tracking for multi-session work or external follow-up:
$RHDH log add "Started onboarding plugin-name" --tag onboard --tag plugin-name
$RHDH todo add "Follow up on PR #123" --tag pr --tag blocked
$RHDH todo note <slug> "Waiting for CI rerun"
$RHDH todo done <slug>
Tracking is recommended, not mandatory. Do not let tracking block small one-step tasks.
Progressive disclosure and bundled resources
| Resource |
Use when |
scripts/rhdh |
Running environment checks, config, workspace status, logs, and todos. |
rhdh/ |
Python CLI implementation behind scripts/rhdh; inspect only when changing or debugging this skill. |
references/rhdh-repos.md |
Understanding RHDH repositories and where work belongs. |
references/github-reference.md |
Running GitHub CLI commands for PRs, CI, labels, comments, and publish triggers. |
references/versions.md |
Checking RHDH and Backstage version compatibility. |
references/slack-notification.md |
Drafting Slack notifications for RHDH work. |
Gotchas
- Do not bypass
$RHDH doctor when setup is incomplete: repository paths, GitHub CLI, container runtime, and rhdh-local assumptions may be wrong.
- Do not guess RHDH repository relationships: read
references/rhdh-repos.md before navigation.
- Do not mutate GitHub state as the first command: inspect first, then confirm mutating PR, label, comment, or assignment operations.
- Do not let tracking become ceremony: log milestones and blockers only when they help continuity.
Output template
## RHDH routing result
**Status:** routed | completed | blocked
**Intent:** <overlay | plugin | local | Jira | repo navigation | environment>
**CLI:** `$RHDH`
### Environment
- `$RHDH`: pass | fail | skipped, <reason>
- `$RHDH doctor`: pass | fail | not needed
- `needs_setup`: true | false | unknown
### Route
| Area | Primitive or resource | Reason |
| --- | --- | --- |
| <area> | `<skill or reference>` | <why selected> |
### Activity tracking
- Log entry: <created or not needed>
- Todo: <created, updated, closed, or not needed>
### Next action
<concrete next step>
Quality gate
1---2name: rhdh3description: Route and support Red Hat Developer Hub (RHDH) work across plugin development, overlay management, local testing, Jira, repository navigation, version compatibility, CI debugging, and environment setup. Use this skill when the user asks about RHDH, Developer Hub, dynamic plugins, overlays, rhdh-local, RHDH Jira, plugin catalogs, repositories, or CI/CD tasks.4---56<!-- Generated from harness/github-copilot/skills/rhdh/SKILL.md by harness/claude-code/scripts/convert_from_copilot.py. Edit the source, not this file. -->78# RHDH910Use this entry point for Red Hat Developer Hub work: initialize the bundled CLI, check environment readiness, route to specialized RHDH skills or references, and track durable activity when work spans sessions.1112## When to invoke1314- "Help with Red Hat Developer Hub."15- "Work on an RHDH dynamic plugin."16- "Triage this RHDH overlay or CI failure."17- "Set up rhdh-local or test a plugin catalog."18- "Create or update an RHDH Jira issue."1920## Prerequisites and context2122- Resolve the skill directory from this `SKILL.md` file before running bundled commands.23- Set the CLI variable to the local script:2425```bash26RHDH="<skill-dir>/scripts/rhdh"27```2829- Run `$RHDH` to check the environment unless the user asks only a conceptual question.30- If output reports `needs_setup: true`, run `$RHDH doctor` before repository or plugin operations.31- Use `$RHDH config init` or `$RHDH config set <key> <path>` when local repository paths are missing.3233## Routing3435| User intent | Route |36| --- | --- |37| Onboard, update, fix, triage, analyze PRs, publish, or manage overlay workspace | Load the `overlay` skill if available. |38| Create backend plugin, frontend plugin, export, OCI packaging, `tgz`, dynamic plugin wiring, mount points, routes, or entity tabs | Load the `create-plugin` skill if available. |39| Enable, disable, test, start, stop, health-check, backup, restore, or troubleshoot local RHDH | Load the `rhdh-local` skill if available. |40| Jira issue creation, assignment, refinement, sprint planning, release status, `RHIDP`, `RHDHPLAN`, `RHDHBUGS`, or `RHDHSUPP` | Load the `rhdh-jira` skill if available. |41| Environment check, repo path setup, activity review, or repository navigation | Use the bundled CLI and references in this skill. |4243Do not use relative links to other primitives; refer to specialized skills by name and type.4445## CLI commands4647```bash48$RHDH # Environment status and next steps49$RHDH doctor # Full environment check50$RHDH config init # Auto-detect repo paths51$RHDH config show # Show configured paths52$RHDH config set overlay /path53$RHDH config set local /path54$RHDH config set rhdh /path55$RHDH workspace list56$RHDH workspace status <name>57$RHDH log show --limit 1058$RHDH todo list59```6061## Operating principles6263- Ask only when required information is missing; if intent is clear, proceed with the matching route.64- Track meaningful milestones with `$RHDH log add` and blockers with `$RHDH todo` when work spans sessions.65- Before using GitHub CLI patterns for RHDH repositories, read `references/github-reference.md`.66- Before navigating RHDH repositories, read `references/rhdh-repos.md`.67- Do not guess repository relationships, versions, PR commands, or publish checks; verify through references or CLI output.68- Prefer read-only GitHub CLI commands first and confirm before mutating PRs, labels, comments, or assignments.6970## Activity tracking7172Use activity tracking for multi-session work or external follow-up:7374```bash75$RHDH log add "Started onboarding plugin-name" --tag onboard --tag plugin-name76$RHDH todo add "Follow up on PR #123" --tag pr --tag blocked77$RHDH todo note <slug> "Waiting for CI rerun"78$RHDH todo done <slug>79```8081Tracking is recommended, not mandatory. Do not let tracking block small one-step tasks.8283## Progressive disclosure and bundled resources8485| Resource | Use when |86| --- | --- |87| `scripts/rhdh` | Running environment checks, config, workspace status, logs, and todos. |88| `rhdh/` | Python CLI implementation behind `scripts/rhdh`; inspect only when changing or debugging this skill. |89| `references/rhdh-repos.md` | Understanding RHDH repositories and where work belongs. |90| `references/github-reference.md` | Running GitHub CLI commands for PRs, CI, labels, comments, and publish triggers. |91| `references/versions.md` | Checking RHDH and Backstage version compatibility. |92| `references/slack-notification.md` | Drafting Slack notifications for RHDH work. |9394## Gotchas9596- **Do not bypass `$RHDH doctor` when setup is incomplete**: repository paths, GitHub CLI, container runtime, and rhdh-local assumptions may be wrong.97- **Do not guess RHDH repository relationships**: read `references/rhdh-repos.md` before navigation.98- **Do not mutate GitHub state as the first command**: inspect first, then confirm mutating PR, label, comment, or assignment operations.99- **Do not let tracking become ceremony**: log milestones and blockers only when they help continuity.100101## Output template102103```markdown104## RHDH routing result105106**Status:** routed | completed | blocked107**Intent:** <overlay | plugin | local | Jira | repo navigation | environment>108**CLI:** `$RHDH`109110### Environment111- `$RHDH`: pass | fail | skipped, <reason>112- `$RHDH doctor`: pass | fail | not needed113- `needs_setup`: true | false | unknown114115### Route116| Area | Primitive or resource | Reason |117| --- | --- | --- |118| <area> | `<skill or reference>` | <why selected> |119120### Activity tracking121- Log entry: <created or not needed>122- Todo: <created, updated, closed, or not needed>123124### Next action125<concrete next step>126```127128## Quality gate129130- [ ] `RHDH="<skill-dir>/scripts/rhdh"` is established before CLI commands.131- [ ] `$RHDH` was run or skipped only for a conceptual question.132- [ ] `$RHDH doctor` was run when `needs_setup: true` or local dependencies matter.133- [ ] The route matches the user's intent and avoids relative links to other primitives.134- [ ] Required references were read before GitHub CLI patterns or repository navigation.135- [ ] Activity tracking is used for multi-session work and skipped for small one-step tasks.136- [ ] Mutating GitHub operations are preceded by read-only inspection and confirmation.