Help us improve
Share bugs, ideas, or general feedback.
From rhdh
Handles all Red Hat Developer Hub (RHDH) work: plugin development, overlay management, environment setup, repo navigation, version compatibility, CI/CD, configuration, and debugging. Routes to sub-skills as needed.
npx claudepluginhub redhat-developer/rhdh-skill --plugin rhdhHow this skill is triggered — by the user, by Claude, or both
Slash command
/rhdh:rhdhThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<cli_setup>
Tests RHDH plugins locally using rhdh-local-setup. Manages plugin lifecycle, modes, health checks, and troubleshooting.
Automates GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio). Manages code workflows, reviews PRs, searches code, and handles deployments programmatically.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Share bugs, ideas, or general feedback.
<cli_setup> Locate and set the CLI variable:
The CLI script is at scripts/rhdh relative to this SKILL.md file (not the working directory).
When you read this file, note its path and derive the script location:
/path/to/skills/rhdh/SKILL.md/path/to/skills/rhdh/scripts/rhdhRHDH="/path/to/skills/rhdh/scripts/rhdh" # Use the actual path
Get oriented (run first):
$RHDH
This shows environment status, discovered repos, and available tools. </cli_setup>
<essential_principles>
Use `$RHDH log` and `$RHDH todo` to maintain context across sessions. Log milestones with tags. Create todos when blocked on external input. This enables resuming work without re-explaining context and builds an audit trail. See the `` section for details. **Before using GitHub CLI**, read the reference file: - **GitHub:** `references/github-reference.md` — PR queries, CI analysis, `/publish` triggersContains critical gotchas (jq escaping, assignee format) that prevent common errors.
**Before any RHDH-related work**, consult `references/rhdh-repos.md` for a reference of all RHDH-related repositories, what each one is used for, and how they relate to each other. Use this when navigating between projects or understanding the overall RHDH ecosystem. Use `$RHDH config set` to set the path to the local checkout of the RHDH repositories.</essential_principles>
<context_scan> Run on invocation to understand current state:
$RHDH
This checks:
If repos not found: Run $RHDH config init to auto-detect or configure paths.
</context_scan>
$RHDH
If needs_setup: true: Stop and run $RHDH doctor to fix setup issues.
What would you like to do?
For working with the rhdh-plugin-export-overlays repository
For creating new RHDH dynamic plugins from scratch
For testing plugins in a local RHDH instance using rhdh-local-setup
For testing PR changes on a live RHDH cluster
For rhdh test plan review in jira
Wait for response before proceeding.
### Doctor Route (Priority)| Condition | Action |
|---|---|
needs_setup: true in CLI output | Run $RHDH doctor |
Always check this first.
| Response | Skill |
|---|---|
| 1-5, "onboard", "update", "fix", "triage", "PR", "overlay", "plugin", "workspace" | Route to @overlay skill |
To route: Read ../overlay/SKILL.md and follow its intake process.
| Response | Skill |
|---|---|
| 6, "backend plugin", "create backend", "frontend plugin", "create frontend", "export", "package", "OCI", "publish plugin", "wiring", "mount points", "routes", "entity tabs" | Route to @create-plugin skill |
To route: Read ../create-plugin/SKILL.md and follow its routing rules (backend, frontend, export, wiring sub-commands).
| Response | Skill |
|---|---|
| 7, "local", "test locally", "enable plugin", "disable plugin", "local testing", "rhdh-local-setup" | Route to @rhdh-local skill |
To route: Read ../rhdh-local/SKILL.md and follow its intake process.
| Response | Skill |
|---|---|
| 8, "review PR", "code review", "PR review", "test PR", "operator PR", "review this PR", "rhdh-pr-review" | Route to @rhdh-pr-review skill |
To route: Read ../rhdh-pr-review/SKILL.md and follow its intake process.
| Response | Skill |
|---|---|
| 9, "review test plan", "update test plan", "check platform versions in test plan", "review RHDH test plan" | Route to @rhdh-test-plan-review skill |
To route: Read ../rhdh-test-plan-review/SKILL.md and follow its intake process.
| Response | Action |
|---|---|
| 10, "doctor", "setup", "config" | Use CLI commands below |
| 11, "log", "todo", "activity" | Use tracking commands below |
<cli_commands> Environment status (no args):
$RHDH
Shows overlay repo, rhdh-local, tools status, and next steps.
Full environment check:
$RHDH doctor
Configuration:
$RHDH config init # Create config with auto-detection
$RHDH config show # Show resolved paths
$RHDH config set overlay /path # Set rhdh-plugin-export-overlays location
$RHDH config set local /path # Set rhdh-local location
$RHDH config set rhdh /path # Set main rhdh repo location
$RHDH config set downstream /path # Set rhdh-downstream location
$RHDH config set cli /path # Set rhdh-cli location
$RHDH config set plugins /path # Set rhdh-plugins location
$RHDH config set operator /path # Set rhdh-operator location
$RHDH config set chart /path # Set rhdh-chart location
$RHDH config set catalog /path # Set rhdh-plugin-catalog location
Workspace operations:
$RHDH workspace list # List all plugin workspaces
$RHDH workspace status <name> # Show workspace details
</cli_commands>
<tracking_system>
The CLI includes worklog and todo tracking to maintain context across sessions. Use is recommended but not required.
Append-only activity log stored in .rhdh/worklog.jsonl:
# Log activity with tags for searchability
$RHDH log add "Started onboard: aws-appsync" --tag onboard --tag aws-appsync
$RHDH log add "PR #1234 merged" --tag aws-appsync --tag pr
# View recent entries
$RHDH log show --limit 10
# Search past activity
$RHDH log search "aws-appsync"
$RHDH log search "onboard"
Section-based markdown todos stored in .rhdh/TODO.md:
# Create todo when blocked
$RHDH todo add "Check license with legal" --context "aws-appsync"
$RHDH todo add "Follow up on stale PR #1234" --context "triage"
# List and manage
$RHDH todo list # All todos
$RHDH todo list --pending # Only open items
# Update progress
$RHDH todo note <slug> "Sent email to legal@redhat.com"
$RHDH todo done <slug>
# View raw file
$RHDH todo show
Log these milestones:
Create todos for:
Todos must be self-contained—a new session should understand the task without re-investigating.
| ❌ Too vague | ✅ Actionable |
|---|---|
| Fix #1875 version mismatch | Fix #1875 (lightspeed): bump 1.3.0→1.4.0 in workspace.yaml like #1903 |
| Add /ok-to-test to #1921 | Add /ok-to-test to #1921 (techdocs) — smoke tests ready, needs external trigger |
| Review #1906 SonarCloud | Review #1906 (catalog): SonarCloud blocked on coverage — check if test file missing |
Include: PR number, plugin name, specific action, and why it's needed.
</tracking_system>
<reference_index> RHDH Repos: references/rhdh-repos.md — repository map, ecosystem relationships, key paths GitHub CLI (PRs, CI, workflows): references/github-reference.md Version Matrix: references/versions.md — RHDH/Backstage version compatibility, create-app versions Slack Notifications: references/slack-notification.md — Slack ping templates, handle mapping, channel routing </reference_index>
<skills_index>
| Skill | Purpose | Path |
|---|---|---|
| overlay | Manage plugins in rhdh-plugin-export-overlays | ../overlay/SKILL.md |
| create-plugin | Create, export, package, and wire RHDH dynamic plugins | ../create-plugin/SKILL.md |
| rhdh-local | Enable/disable/test plugins in local RHDH | ../rhdh-local/SKILL.md |
| rhdh-pr-review | PR code review and live cluster testing | ../rhdh-pr-review/SKILL.md |
| rhdh-test-plan-review | Reviews an RHDH test plan Jira ticket and suggests platform/integration version updates | ../rhdh-test-plan-review/SKILL.md |
| Reference | Purpose | Path |
|---|---|---|
| rhdh-repos | Repository map, ecosystem relationships, key paths | references/rhdh-repos.md |
| versions | RHDH/Backstage version compatibility matrix | references/versions.md |
</skills_index>