/dpf-platform:dpf-ux-fit-reviewfrom dpf-platform
Reviews UI changes for DPF portal fit before code handoff. Checks route, viewport, dashboard, metric, card, button, empty state, navigation, and config screens against portal architecture and UX standards.
Ships in dpf-platform. 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.
None: SKILL.md is the whole skill.
Use this skill before UI-impacting work adds surface area. Its job is to stop the portal from growing into unrelated dashboards, tab rows, one-off metric widgets, and unclear coworker launch points.
This is a fit review, not a visual taste review. Decide where the feature belongs, which persona it serves, which navigation layer changes, what existing component or route family it should reuse, and what evidence proves the UX did not become harder to remember.
dpf-architecture-review.| Source | Path or tool | What to extract |
|---|---|---|
| Rulebook | AGENTS.md | Portal routes, UI theme rules, Build Studio/verification doctrine |
| Usability standards | docs/platform-usability-standards.md | Theme tokens, progressive disclosure, setup/empty-state expectations |
| Portal UX spine | docs/superpowers/plans/2026-05-26-portal-ux-simplification-spine.md | Current target areas, persona gates, UX feature fit gate |
| Feature spec/plan | User-provided path or Build Studio artifact | Proposed route, component, data, AI, and verification changes |
| Existing specs/plans | mcp__dpf__search_specs_and_plans | Prior design decisions the feature should extend |
| Design intelligence | mcp__dpf__search_design_intelligence | Current UX/reporting/chart/product recommendations to compare against the proposed pattern |
| Existing components | rg / Grep over apps/web/components and apps/web/app | Reuse candidates, duplicate patterns, and route families |
| Report-kit | apps/web/components/ui/report-kit/README.md | Canonical reporting components for status badges, tables, KPI cards, filters, charts |
kernel/principles/architecture-over-shortcuts - choose the route/component shape that can grow without local hacks.kernel/principles/single-source-of-truth - do not create duplicate route homes, status maps, metric components, or UX rules.kernel/principles/no-hardcoded-colors - all UI must use DPF theme variables.kernel/principles/compose-report-kit-for-reporting-ux - reporting/data-display UI composes report-kit unless a domain primitive is explicitly justified.kernel/principles/design-research-required - user-facing feature specs include research and benchmarking before finalization.Build a working HTML prototype FIRST, before the markdown plan and before the code. Deliver something the reviewer can open and click, with realistic data, and iterate on that.
A plan is not reviewable as UX. A diagram or a mockup widget is not either. The founder rejected exactly that pairing in 2026-08-05 — "I don't see a prototype UX here" — and the current practice is HTML because it is the first artifact that can be exercised rather than imagined.
Engage the UX-specialist coworker for the design work rather than doing it solo;
the platform staffed one deliberately. Reach it through the coworker service
catalog (list_coworker_offers, then request_coworker_engagement), which is the
path callable from an external client.
Then review that prototype with the steps below.
Name the feature and proposed surface. Capture the exact route(s), component(s), and user-facing labels in the spec or plan.
Assign the owning area. Choose one: Workspace, Business, Products, Platform, Knowledge, customer-facing Portal, or internal Storefront management. If the feature needs two homes, identify the canonical home and the secondary shortcut.
State the primary persona. Name who benefits in the first viewport and what they should not need to remember. Examples: founder/operator, dispatcher, retail/service worker, contributor/platform operator, external customer.
Classify the navigation layer. Use one layer by default:
Check component convergence. Search existing UI before approving new primitives:
rg -n "MetricTile|StatusBadge|StatCard|DataTable|FilterBar|Chart|KPI|Badge|Launcher|TabNav" apps/web/components apps/web/app
Prefer report-kit for reporting/data-display UI. Prefer existing domain primitives when the feature lives inside a domain family. A new component must retire or converge duplication, not add another visual dialect.
Check source truth. Name the model, service, read model, or route contract that owns each visible status, metric, or count. If the source truth is unclear, return defer until the data seam is resolved.
Check empty, failure, and permission states. A fresh install, missing permission, unavailable provider, or missing route should show an honest next action or recovery path. Empty dashboards full of zeros fail the gate.
Check AI/coworker action boundary. Informational cards, metric tiles, tabs, and topic choices must not send prompts. Any coworker-starting action needs preview, expected next step, context summary, and explicit confirmation.
Check copy and mental model. User-facing labels should describe the user's work, not the benchmark product, schema model, route name, or implementation phase. Avoid visible "Phase 2", "Phase 3", raw null/unknown states, or vendor-inspired labels unless the user truly needs them.
Decide and write the guardrails. Return one of:
fits - no required edits.fits-with-guardrails - implementation may proceed after the named edits are folded into the plan.defer - the feature needs data/source-truth/backlog/route work first.reject - the feature duplicates an existing home or violates a durable UX rule.**UX fit review - <feature name>**
- Decision: fits | fits-with-guardrails | defer | reject
- Owning area: <Workspace | Business | Products | Platform | Knowledge | Portal | Storefront>
- Route family: <canonical route(s)>
- Primary persona: <persona and job>
- Navigation layer touched: <global | section | local | contextual action>
- Reuse/convergence: <existing pattern/component reused, or why a new one is justified>
- Source truth: <model/service/read model>
- Empty/failure behavior: <expected state>
- AI boundary: <no prompt send | preview + confirmation required>
- Required plan/spec edits:
- <edit 1>
- <edit 2>
- Evidence before merge:
- <route tests, theme scan, browser route, viewport, data fixture>
- Captured in: <plan/audit/spec/PR path or section>
A UI-impacting change, including added buttons, links, disclosure triggers, and custom operator-facing controls, must land with a measured UX-fit manifest at
docs/ux-fit/<date>-<slug>.ux-fit.json. The UX-Fit-Decision: trailer is retired, and an
acknowledgement (evidence.kind: "budgets-acknowledged") is rejected by name — it is
attestation theater with one extra row. Two kinds qualify:
sweep-measurement — the route's real budget axes (defaultVisibleWords,
leadBandWords, primaryActions, visibleFields, maxChoicesPerControl,
subLegibleControls, buriedPrimaryAction, axeViolations). The gate adjudicates these
against the committed apps/web/lib/ux-budget/route-budget-baseline.json, so a claimed
improvement that actually regresses an axis fails. Set
evidence.baselineComparison: "new-route" only for a route genuinely absent from it.propose-n-pick — a real recorded choice: decisionInteractionId plus
evidence.consideredOptions with at least two entries, one of which is decidedOption.scope.files must list exactly the UI-impacting files in the diff — an uncovered file
fails, and so does a stale or over-broad one. Measure with the UX route sweep, or
auditUxBudget from lib/ux-budget against the served DOM.
The Pipedrive CRM Marketing Slice 1 plan proposed a scan-first revenue band on /customer, reusable metric/status components, and marketing tab cleanup.
Decision: fits-with-guardrails.
/customer and /customer/marketing.AgentWorkLauncher with preview and confirmation.The plan was amended before implementation, which is the intended path: fit review changes the plan before code multiplies the problem.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
88 skills in this plugin
/asset-inventory-reconciliationReconcile recorded against observed assets.npx claudepluginhub opendigitalproductfactory/opendigitalproductfactory --plugin dpf-platformOther plugins' skills for the same job