rhdh-local
Skill20 starsChanged 20 days agoApache-2.0View on GitHub
Operates a local Red Hat Developer Hub environment with the rhdh-local-setup customization system: enable or disable dynamic plugins, apply configuration, switch pristine and customized modes, start or stop containers, inspect health and logs, run plugin verification, and back up or restore customizations. Use for local RHDH, podman compose plugin testing, PR artifact verification, 504 or startup troubleshooting, and local Extensions Catalog checks.
- Reads credentials
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-operator-pr-testSkill
- rhdh-overlaySkill
- 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
4 rules. About 0 are common, 2 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
If the setup is absent, state the required environment variable or checkout layout and stop only the runtime branch.
- Very specific: line 26
Never read secrets from .env into conversation context.
- Very specific: line 50
Use this CLI's up and down commands when Lightspeed or Orchestrator is enabled.
- Distinctive: line 70
Use those references verbatim.
≈ “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 Local
Own local execution and return evidence to the calling workflow. All commands use this skill's standalone CLI; another skill does not need to be installed.
Capability gate
- Run
uv run scripts/rhdh-local --help. - Locate
rhdh-local-setupthroughRHDH_LOCAL_SETUP_DIRor by walking from the current directory. Runuv run scripts/rhdh-local --json status. - If the setup is absent, state the required environment variable or checkout layout and stop only the runtime branch.
- Never read secrets from
.envinto conversation context. Ask only for missing variable names and let the container runtime consume their values.
Route by outcome
| Outcome | Load and follow |
| Read a plugin version or artifact at an overlay branch or tag | Run python3 scripts/fetch-plugin-metadata.py <plugin-name> --branch <branch-or-tag> --json; default ref is main and runtime setup is not required |
| Enable a catalog or PR artifact | workflows/enable-plugin.md |
| Disable a plugin | workflows/disable-plugin.md |
| Switch pristine/customized mode | workflows/switch-mode.md |
| Verify a plugin end to end | workflows/test-plugin.md and references/dynamic-plugin-testing.md |
| Inspect status or enabled packages | Run uv run scripts/rhdh-local --json status or uv run scripts/rhdh-local --json plugins list |
| Apply customizations | Run uv run scripts/rhdh-local --json apply |
| Start or stop | Run uv run scripts/rhdh-local --json up [flags] or uv run scripts/rhdh-local --json down |
| Check health | Run uv run scripts/rhdh-local --json health |
| Back up or restore | Run uv run scripts/rhdh-local --json backup or uv run scripts/rhdh-local restore <archive>; restore is a dry run until --force |
| Troubleshoot startup, networking, or 504s | references/troubleshooting.md |
| Configure environment variables | references/env-reference.md |
Invariants
- Edit only source files under
rhdh-customizations/. Runapplyafter every edit so copies underrhdh-local/stay synchronized. - Use this CLI's
upanddowncommands when Lightspeed or Orchestrator is enabled; they own the compose lifecycle and shared networks. - Obtain package references from
spec.dynamicArtifactor from the reference the caller supplied. Never construct OCI references from naming conventions. - Preserve the
includes:block in dynamic plugin overrides. Put backend packages before their frontend packages. - A plugin test succeeds only with recorded installation, boot, health, and UI results relevant to the request. Distinguish an expected credential error from a load failure.
What a caller supplies
A caller invokes this skill by name and states, in conversation:
- each package reference to enable, with its plugin config or
none - the environment variables the plugin needs, by name only
- the catalog test entities the plugin renders against
- which checks to run: installation, startup, health, UI
- whether to clean up afterwards
Use those references verbatim. Ask for a missing one rather than reconstructing it from a naming convention.
What this skill reports
Report to the caller in conversation. Do not write into another skill's directory.
- the subject tested, and the mode it ran in: customized or pristine
- one line per requested check — installation, startup, health, UI — each passed, failed, or skipped with the reason it was skipped
- the packages actually enabled, with their exact references
- the log excerpts that back each result
- cleanup state: completed, retained, or not requested
Completion
Complete when the report names every source customization file changed, every CLI command run, the health and UI evidence observed, the cleanup state, and one outcome for every check the caller requested.
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.

