Automates RHDH UI navigation and verification using playwright-cli. Covers guest login, sidebar navigation, catalog browsing, entity page inspection, tab verification, and plugin exploration.
Ships in plugins. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Automate RHDH UI navigation and verification using playwright-cli (NOT the Playwright MCP).
Run command -v playwright-cli before opening the browser. If it is missing,
stop and report that the local playwright-cli prerequisite is unavailable.
# Always use --browser chromium
playwright-cli open <RHDH_URL> --browser chromium
The URL is never hardcoded — the user provides it (or it comes from context like CLAUDE.md).
After opening a RHDH instance, check whether a login page appeared. If the page title contains "Sign In" or "Log in", or the snapshot shows sign-in buttons, log in as guest:
# Take a snapshot to check for login
playwright-cli snapshot
# If a login page is detected, look for a guest sign-in option:
# - Button or link matching: "Enter" (on guest sign-in provider card)
# - Or a "Guest" / "Sign in as Guest" button
# Click it:
playwright-cli click "<ref>" # ref of the guest sign-in button
RHDH login pages typically show provider cards. The guest provider shows a title like "Guest" with an "Enter" button. Click the "Enter" button on the guest card.
After login, verify navigation succeeded by checking that the sidebar appeared:
playwright-cli snapshot --depth 3
# Confirm: navigation "sidebar nav" is present
The sidebar uses navigation "sidebar nav" containing links. Navigate by clicking the link with the target label.
| Destination | Selector pattern |
|---|---|
| Home | link "Home" |
| Catalog | link "Catalog" |
| APIs | link "APIs" |
| Docs | link "Docs" |
| Create | link "Create" |
| Explore | link "Explore" |
| Settings | link "Settings" |
| Notifications | link "Notifications" |
| Search | button "Search" |
Additional sidebar items (plugins) appear below a separator. Their labels match their menu name (e.g., link "Tech Radar").
# Navigate to a sidebar item
playwright-cli click "getByRole('navigation', { name: 'sidebar nav' }).getByRole('link', { name: 'Catalog' })"
After navigating to the catalog, the page shows filters and a table of entities.
| Filter | Element type | Locator |
|---|---|---|
| Kind | button (shows current value) | button "Component" (or current kind) |
| Type | button | button "all" (or current type) |
| Owner | combobox + textbox | textbox "Owner" |
| Lifecycle | combobox + textbox | textbox "Lifecycle" |
| Tags | combobox + textbox | textbox "Tags" |
To filter by Kind, click the Kind button and select from the dropdown:
playwright-cli click "getByRole('button', { name: 'Component' })"
playwright-cli snapshot # find the desired kind option
playwright-cli click "<ref>" # click the desired kind
playwright-cli fill "getByRole('textbox', { name: 'Search' })" "my-entity"
The entity table has columns: Name, System, Owner, Type, Lifecycle, Description, Tags, Actions.
Entity names in the table are links. Their URL pattern is: /catalog/{namespace}/{kind}/{name}
# Click an entity by name
playwright-cli click "getByRole('link', { name: 'artist-lookup' })"
The catalog has a menu toggle between "Personal" (Owned / Starred) and "RHDH" (All):
# Switch to "All" entities
playwright-cli click "getByRole('menuitem', { name: /All/ })"
An entity page has:
tablist "Tabs" containing tab elementsarticle below the tabsplaywright-cli open "<RHDH_URL>/catalog/default/component/<entity-name>" --browser chromium
playwright-cli snapshot --depth 3
# Confirm: heading with entity name is present
# The page title format: "<entity-name> | <tab> | <site-title>"
Or search through the catalog:
playwright-cli open "<RHDH_URL>/catalog" --browser chromium
playwright-cli fill "getByRole('textbox', { name: 'Search' })" "<entity-name>"
# Check the table for a matching row
playwright-cli snapshot
From the entity page snapshot, find:
paragraph above the heading (e.g., "component — service")playwright-cli snapshot
# Look for: tablist "Tabs" containing tab elements
# Example output:
# tablist "Tabs":
# tab "Overview" [selected]
# tab "Docs"
# tab "APIs"
# tab "Todo"
Check that the expected tab name appears in the tablist. Tabs are tab role elements inside tablist "Tabs".
# Click a specific tab
playwright-cli click "getByRole('tab', { name: 'Docs' })"
The entity Overview tab contains an "About" card (heading "About") with:
playwright-cli open "<URL>" --browser chromium
# Handle login if needed (see Authentication section)
playwright-cli goto "<URL>/catalog/default/component/<name>"
playwright-cli snapshot --depth 4
# SUCCESS: heading with entity name is visible
# FAILURE: page shows "Entity not found" or similar error
playwright-cli goto "<URL>/catalog/default/component/<name>"
playwright-cli snapshot --depth 4
# Find: tablist "Tabs" → check for tab "<expected-tab>"
playwright-cli click "getByRole('navigation', { name: 'sidebar nav' }).getByRole('link', { name: '<Page>' })"
playwright-cli snapshot --depth 3
# Confirm heading or page content matches expected page
playwright-cli screenshot --filename rhdh-evidence.png
# Saved to .playwright-cli/rhdh-evidence.png
| Resource | URL pattern |
|---|---|
| Catalog list | /catalog |
| Entity by kind | /catalog/{namespace}/{kind}/{name} |
| API docs | /api-docs |
| TechDocs | /docs |
| Create (templates) | /create |
| Settings | /settings |
Default namespace is default. Common kinds: component, system, group, user, api, resource, template, domain, location.
playwright-cli, never the Playwright MCP tools.--browser chromium to playwright-cli open..playwright-cli/.playwright-cli command, a snapshot is returned — use the ref IDs from it for subsequent interactions.playwright-cli snapshot to refresh the current page state at any time.Complete when the requested pages or entities have been checked, the report names any visible alerts, warnings, errors, or missing tabs, and requested screenshots are linked. Close the browser session after collecting the evidence.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/plugins:rhdh-playwrightfrom plugins
npx claudepluginhub redhat-developer/rhdh-skills --plugin plugins19 skills in this plugin
/backstage-api-changesNames the breaking and notable changes between the early Backstage New Frontend System alpha and the current GA surface, for Red Hat Developer Hub plugins: NavItemBlueprint removed in favour of nav auto-discovery from PageBlueprint, config.schema replaced by top-level configSchema with direct zod/v4 imports, AppRootWrapperBlueprint Component renamed to component and moved to @backstage/plugin-app-react, defaultPath/defaultTitle/defaultGroup renamed, SubPageBlueprint added, useRouteRef returning undefined, and AppDrawerContentBlueprint taking element rather than loader. Use when NFS code that used to compile now fails, a Blueprint param produces a TypeScript error, or a plugin migrated against an older alpha needs bringing forward./mutation-gateSupplies the approval rule another RHDH skill applies when it is already about to change something outside the session: how to state each operation, what approval binds to, what to report afterwards, and how to keep credentials out of a plan preview. Cited by name from the skill doing the work. Not an entry point — it performs no forge, Jira, or repository action itself, and a request to open, comment, transition, push, or post belongs to the skill that owns that target./prose-editingEdits or audits prose that the caller supplies as text or a file, preserves its claims and voice, removes machine-writing patterns, and verifies the result with the bundled linter. Use for explicit requests such as "rewrite this draft", "edit this existing PR body", "make this sound human", or "audit this prose without changing it". It does not review code, decide what a pull request or Jira issue should say, or compose from a blank sheet.Other plugins' skills for the same job