/pf-design-guide:pf-screenshot-mappingfrom pf-design-guide
Maps UI screenshots and mockups to PatternFly 6 components, identifying layout regions, building blocks, and structural gaps. Useful for design-system alignment and component selection.
Ships in pf-design-guide. 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.
Decompose a screenshot or static UI image into PatternFly 6 structure and core building blocks. Outputs are for layout/component coverage only: what regions exist and which PF components carry that structure/behavior. Do not describe or judge how the reference UI looks (theme, shape, density as aesthetics, polish). Visual treatment is assumed to come from the product’s PatternFly theme/tokens, not from copying the screenshot.
Two-part output: PF Component Mapping answers what’s on the screen and which PatternFly pieces carry each region (structure and behavior, plus doc links for build alignment). PF Gaps & Recommendations answers where coverage is thin—composition-heavy areas, missing primitives, or missing guidance—and suggests concrete follow-ups for the library and docs (not visual critique of the reference).
@patternfly/react-core 6.x and related packages). Prefer current APIs and names from patternfly.org and @patternfly/react-core releases.package.json (and lockfile if needed) for @patternfly/react-core, @patternfly/react-table, @patternfly/react-charts, etc. State those versions in one line at the top of the answer so mappings match the product.Treat the following as irrelevant to mapping unless the user explicitly asks for a theming pass (if they do, answer in one short paragraph and still deliver PF Component Mapping and PF Gaps & Recommendations):
Do not write (in PF Component Mapping, PF Gaps & Recommendations, or surrounding bullets) any of the following about the reference image, unless the user explicitly asked for styling notes:
Button; do not describe its silhouette).Allowed: layout topology (1 vs 2 columns, grid of cards, header above content), component role (navigation, status, primary action), behavior (expandable, selectable rows, overflow menu), information hierarchy (section title + supporting list).
Remove or rewrite any phrase that comments on appearance or theme. If a sentence mentions radius, shape, shadow, color, font, or “look/feel,” delete it or replace with a structural statement (regions, components, behaviors).
Page + PageSidebar + Nav, Toolbar, DataList, Table, Card).Page + sidebar) may share a single Page link. Lead with neutral region names; put what the area does (IA, hierarchy, primary actions, navigation role—structure/behavior only) inside the PatternFly 6 direction column together with component names, so the mapping stays scannable without a separate prose column.@patternfly/react-charts in the mapping table, not as a gap unless the question is core-only.Open with one line: PF6 + optional pinned package versions from the repo.
Then exactly two tables (markdown). No merging into one table. Use these section headings verbatim before each table so readers can tell them apart: PF Component Mapping, then PF Gaps & Recommendations.
Region-by-region PatternFly 6 coverage: what appears on the screen, how PF components and patterns represent it (structure and behavior—fold IA and hierarchy into the direction column, not visual styling), and authoritative doc links for implementation alignment.
In the PatternFly docs (links) column, list markdown links to official documentation. Use full HTTPS URLs (no shortened links).
Core React components (@patternfly/react-core and related layout/components on the same site):
https://www.patternfly.org/components/<slug>/<slug> from the component’s public name: lowercase, spaces → hyphens. Verified examples: Page → page, Data list → data-list, Navigation → navigation, Masthead → masthead, Button → button, Table → table.Charts (@patternfly/react-charts):
https://www.patternfly.org/charts/<chart-slug>/ (e.g. bar-chart, donut-chart). Prefer the chart type that matches the UI.Table package (@patternfly/react-table):
Table / table patterns delivered from that package.Extensions or packages without a patternfly.org component page:
https://www.npmjs.com/package/@patternfly/react-component-groups) or the extension’s official doc/repo URL if the team uses one—pick one canonical link per package.Cell format
[Page](https://www.patternfly.org/components/page/); [Navigation](https://www.patternfly.org/components/navigation/).| Region or pattern on the screen | PatternFly 6 direction | PatternFly docs (links) |
|---|---|---|
| … | Named PF components/patterns (v6 names and APIs) and a concise structural read of the region: hierarchy, primary actions, navigation role, selection, overflow, etc.—structure/behavior only (no radius, shadows, shapes, colors) | […](https://www.patternfly.org/components/…/); … |
Use one row per distinct structural region or repeating pattern (not per pixel). Prefer v6 names (Content over legacy Text/TextContent patterns, Page masthead prop, NavItem icon prop, Label over deprecated Chip, Card for deprecated tile-style KPIs, etc.). The direction cell must read like an IA/engineering note that names the right PF pieces—not a visual design review.
Structural mismatches only: where PatternFly coverage is incomplete, awkward, or undocumented, and suggested follow-ups (documentation, examples, core pattern, extension package, or “compose with primitives”). Rows should be triage-ready for backlog or design–dev discussion—not generic criticism of the reference UI.
| Region or pattern on the screen | Type | Why it matters (coverage) | Suggested next step | Notes (optional) |
|---|---|---|---|---|
| … | gap | stretch | docs gap | extension | e.g. no single first-class story, heavy bespoke composition, ambiguous primitive choice, recurring cross-product pattern | e.g. pattern doc + example, design kit alignment, core issue/RFC candidate, extension/npm story, clarify recommended composition | Partner products, frequency, or open questions |
Rules for PF Gaps & Recommendations
Concise, neutral, and actionable. Do not claim pixel parity with the reference UI. Do not steer the reader toward matching the screenshot’s styling—only its structure and component roles.
eval/cases/clean-pf-app/annotations.yaml (opens in a new tab)eval/cases/clean-pf-app/input.yaml (opens in a new tab)eval/cases/dashboard-wireframe/annotations.yaml (opens in a new tab)eval/cases/dashboard-wireframe/input.yaml (opens in a new tab)eval/cases/styled-third-party-ui/annotations.yaml (opens in a new tab)eval/cases/styled-third-party-ui/input.yaml (opens in a new tab)eval/eval.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
patternfly, screenshot-mapping, ui-mockup, component-mapping, design-system, pf6
3 skills in this plugin
/pf-catalog-interaction-patternsCatalog interaction patterns (click, hover, keyboard, drag) across PatternFly components. Use when selecting a component for a specific interaction need, describing UI behavior without naming a component, or building prototypes that require interaction-based component lookup./pf-figma-design-modeCreate and edit Figma design files using PatternFly-approved component libraries. Use when building, updating, or restructuring Figma frames and components. Requires Figma MCP.npx claudepluginhub rh-uxd/ai-helpers --plugin pf-design-guideOther plugins' skills for the same job