From f76d1653d7467fc11fb9d9d79295a421c92ab958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90=E1=BA=B7ng=20Anh=20Tu=E1=BA=A5n?= <121254669+tuan204-dev@users.noreply.github.com> Date: Sat, 21 Nov 2026 20:12:18 +0700 Subject: [PATCH] feat: add form error-handling UX guidelines (rows 131-141) (#587) Add 11 sourced UX guidelines for form validation and error handling that the dataset did not cover as searchable rows: clearing an error once the field is corrected, premature validation, preserving input after a failed submit, not pre-disabling submit, warning about unsaved changes, forgiving input formats, never blocking paste, persistent error messages, actionable error wording, undo for reversible actions, and modal dialog focus. Row 35's good example ("Are you sure modal") becomes a specific confirmation, matching NN/g guidance and the new row 140. Sources are recorded in data-provenance.json; baymard.com, designsystem.ontario.ca and www.nngroup.com join the approved hosts. The guideline count moves from 130 to 141 everywhere it is quoted, and test_form_error_handling.py checks retrieval of the new rows and that generic queries keep their existing top results. Co-authored-by: Claude Opus 5.5 --- .claude/skills/ui-ux-pro-max/SKILL.md | 6 +- .../ui-ux-pro-max/data/catalog-summary.json | 2 +- .../ui-ux-pro-max/data/data-provenance.json | 78 ++++++++++++++++ .../ui-ux-pro-max/data/ux-guidelines.csv | 13 ++- .../references/quick-reference.md | 9 ++ .../tests/fixtures/relevance-thresholds.json | 2 +- .../scripts/tests/test_form_error_handling.py | 92 +++++++++++++++++++ .../ui-ux-pro-max/scripts/validate_data.py | 3 + README.az.md | 2 +- README.fr.md | 2 +- README.id.md | 2 +- README.ja.md | 2 +- README.ko.md | 2 +- README.md | 2 +- README.vi.md | 2 +- README.zh.md | 2 +- cli/assets/data/catalog-summary.json | 2 +- cli/assets/data/data-provenance.json | 78 ++++++++++++++++ cli/assets/data/ux-guidelines.csv | 13 ++- .../tests/fixtures/relevance-thresholds.json | 2 +- .../scripts/tests/test_form_error_handling.py | 92 +++++++++++++++++++ cli/assets/scripts/validate_data.py | 3 + cli/assets/templates/base/quick-reference.md | 9 ++ cli/assets/templates/platforms/agent.json | 4 +- cli/assets/templates/platforms/amazonq.json | 2 +- cli/assets/templates/platforms/augment.json | 2 +- cli/assets/templates/platforms/autoclaw.json | 4 +- cli/assets/templates/platforms/claude.json | 4 +- cli/assets/templates/platforms/codebuddy.json | 4 +- cli/assets/templates/platforms/codewhale.json | 4 +- cli/assets/templates/platforms/codex.json | 4 +- cli/assets/templates/platforms/continue.json | 4 +- cli/assets/templates/platforms/copilot.json | 4 +- cli/assets/templates/platforms/cursor.json | 4 +- cli/assets/templates/platforms/droid.json | 4 +- cli/assets/templates/platforms/gemini.json | 4 +- cli/assets/templates/platforms/kilocode.json | 4 +- cli/assets/templates/platforms/kimi.json | 4 +- cli/assets/templates/platforms/kiro.json | 4 +- cli/assets/templates/platforms/openclaw.json | 4 +- cli/assets/templates/platforms/opencode.json | 4 +- cli/assets/templates/platforms/qoder.json | 4 +- cli/assets/templates/platforms/roocode.json | 4 +- cli/assets/templates/platforms/trae.json | 4 +- cli/assets/templates/platforms/universal.json | 4 +- cli/assets/templates/platforms/warp.json | 2 +- cli/assets/templates/platforms/windsurf.json | 4 +- cli/assets/templates/platforms/zcode.json | 4 +- cli/tests/e2e/agent-query-contract.spec.ts | 2 +- skill.json | 2 +- src/ui-ux-pro-max/data/catalog-summary.json | 2 +- src/ui-ux-pro-max/data/data-provenance.json | 78 ++++++++++++++++ src/ui-ux-pro-max/data/ux-guidelines.csv | 13 ++- .../tests/fixtures/relevance-thresholds.json | 2 +- .../scripts/tests/test_form_error_handling.py | 92 +++++++++++++++++++ src/ui-ux-pro-max/scripts/validate_data.py | 3 + .../templates/base/quick-reference.md | 9 ++ .../templates/platforms/agent.json | 4 +- .../templates/platforms/amazonq.json | 2 +- .../templates/platforms/augment.json | 2 +- .../templates/platforms/autoclaw.json | 4 +- .../templates/platforms/claude.json | 4 +- .../templates/platforms/codebuddy.json | 4 +- .../templates/platforms/codewhale.json | 4 +- .../templates/platforms/codex.json | 4 +- .../templates/platforms/continue.json | 4 +- .../templates/platforms/copilot.json | 4 +- .../templates/platforms/cursor.json | 4 +- .../templates/platforms/droid.json | 4 +- .../templates/platforms/gemini.json | 4 +- .../templates/platforms/kilocode.json | 4 +- .../templates/platforms/kimi.json | 4 +- .../templates/platforms/kiro.json | 4 +- .../templates/platforms/openclaw.json | 4 +- .../templates/platforms/opencode.json | 4 +- .../templates/platforms/qoder.json | 4 +- .../templates/platforms/roocode.json | 4 +- .../templates/platforms/trae.json | 4 +- .../templates/platforms/universal.json | 4 +- .../templates/platforms/warp.json | 2 +- .../templates/platforms/windsurf.json | 4 +- .../templates/platforms/zcode.json | 4 +- stack/README.md | 2 +- stack/docs/STACK.md | 2 +- 84 files changed, 697 insertions(+), 118 deletions(-) create mode 100644 .claude/skills/ui-ux-pro-max/scripts/tests/test_form_error_handling.py create mode 100644 cli/assets/scripts/tests/test_form_error_handling.py create mode 100644 src/ui-ux-pro-max/scripts/tests/test_form_error_handling.py diff --git a/.claude/skills/ui-ux-pro-max/SKILL.md b/.claude/skills/ui-ux-pro-max/SKILL.md index 30ff839..e6cfdd5 100644 --- a/.claude/skills/ui-ux-pro-max/SKILL.md +++ b/.claude/skills/ui-ux-pro-max/SKILL.md @@ -1,11 +1,11 @@ --- name: ui-ux-pro-max -description: "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." +description: "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." --- # UI/UX Pro Max - Design Intelligence -Searchable local UI/UX guidance: 80 searchable styles (51 active), 194 product palettes and exact reasoning profiles, 74 font pairings, 130 UX guidelines, 105 curated icons, 17 GSAP presets, 25 chart types, and 22 technology stacks. +Searchable local UI/UX guidance: 80 searchable styles (51 active), 194 product palettes and exact reasoning profiles, 74 font pairings, 141 UX guidelines, 105 curated icons, 17 GSAP presets, 25 chart types, and 22 technology stacks. ## When to Apply @@ -30,7 +30,7 @@ Skip it for pure backend logic, API/database design, non-visual performance work | 9 | Navigation Patterns | HIGH | `ux` | Predictable back, Bottom nav ≤5, Deep linking | Overloaded nav, Broken back behavior, No deep links | | 10 | Charts & Data | LOW | `chart` | Legends, Tooltips, Accessible colors | Relying on color alone to convey meaning | -For the full rule list per category (all 130 UX guidelines with rationale), read `references/quick-reference.md`. For app-specific polish rules (icons, touch feedback, dark mode contrast, safe areas) and the canonical pre-delivery checklist, read `references/pro-rules.md`. +For the full rule list per category (all 141 UX guidelines with rationale), read `references/quick-reference.md`. For app-specific polish rules (icons, touch feedback, dark mode contrast, safe areas) and the canonical pre-delivery checklist, read `references/pro-rules.md`. --- diff --git a/.claude/skills/ui-ux-pro-max/data/catalog-summary.json b/.claude/skills/ui-ux-pro-max/data/catalog-summary.json index fac1995..0c6467b 100644 --- a/.claude/skills/ui-ux-pro-max/data/catalog-summary.json +++ b/.claude/skills/ui-ux-pro-max/data/catalog-summary.json @@ -16,7 +16,7 @@ "googleFonts": 1934, "curatedIcons": 105, "upstreamPhosphorIcons": 1512, - "uxGuidelines": 130, + "uxGuidelines": 141, "motionPresets": 17, "chartTypes": 25, "stacks": 22, diff --git a/.claude/skills/ui-ux-pro-max/data/data-provenance.json b/.claude/skills/ui-ux-pro-max/data/data-provenance.json index e38a465..aa254ae 100644 --- a/.claude/skills/ui-ux-pro-max/data/data-provenance.json +++ b/.claude/skills/ui-ux-pro-max/data/data-provenance.json @@ -6,6 +6,84 @@ "needs-reviewDays": 90 }, "records": [ + { + "entityKind": "dataset-contract", + "entityId": "form-error-handling-behavior", + "sourceFile": "ux-guidelines.csv", + "sourceKey": { + "Scope": "No 35 and 131-141; Category, Issue, Platform, Description, Do, Don't, code-example, and Severity fields", + "Boundary": "Sources disagree on validation timing: Baymard re-checks a field that already shows an error while the user types, the Ontario Design System re-validates on blur, and GOV.UK validates on submit. Rows 131-132 only require that an error never appears before the user has entered data and never outlives its cause. Row 138 restates a WCAG 3 working-draft supplemental requirement (status developing) and the WCAG 2.2 Understanding note on timed messages; it is not a WCAG 2.2 success criterion. Row 133 leaves secret fields such as passwords to the product's security policy. Row 141 follows the WAI-ARIA APG modal dialog pattern and does not assert native dialog behavior. Row 35 changes only its good code example." + }, + "status": "active", + "verifiedAt": "2026-11-21", + "sla": "needs-review", + "appliesTo": [ + "search", + "design-guidance" + ], + "sources": [ + { + "type": "official", + "ref": "https://baymard.com/blog/inline-form-validation" + }, + { + "type": "official", + "ref": "https://designsystem.ontario.ca/components/detail/live-validation.html" + }, + { + "type": "official", + "ref": "https://design-system.service.gov.uk/patterns/validation/" + }, + { + "type": "official", + "ref": "https://design-system.service.gov.uk/components/error-message/" + }, + { + "type": "official", + "ref": "https://design-system.service.gov.uk/components/button/" + }, + { + "type": "official", + "ref": "https://www.nngroup.com/articles/error-message-guidelines/" + }, + { + "type": "official", + "ref": "https://www.nngroup.com/articles/ten-usability-heuristics/" + }, + { + "type": "official", + "ref": "https://www.nngroup.com/articles/confirmation-dialog/" + }, + { + "type": "official", + "ref": "https://github.com/vercel-labs/web-interface-guidelines" + }, + { + "type": "official", + "ref": "https://github.com/w3c/wcag3/blob/main/guidelines/groups/error-handling/correct-errors/error-messages-persistent.md" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/timing-adjustable.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-legal-financial-data.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/" + } + ] + }, { "entityKind": "dataset-contract", "entityId": "map-ux-guidelines", diff --git a/.claude/skills/ui-ux-pro-max/data/ux-guidelines.csv b/.claude/skills/ui-ux-pro-max/data/ux-guidelines.csv index 0a02d0b..5c03eb6 100644 --- a/.claude/skills/ui-ux-pro-max/data/ux-guidelines.csv +++ b/.claude/skills/ui-ux-pro-max/data/ux-guidelines.csv @@ -33,7 +33,7 @@ No,Category,Issue,Platform,Description,Do,Don't,Code Example Good,Code Example B 32,Interaction,Loading Buttons,All,Prevent double submission during async actions,Disable button and show loading state,Allow multiple clicks during processing,disabled={loading} spinner,Button clickable while loading,High 33,Interaction,Error Feedback,All,Users need to know when something fails,Show clear error messages near problem,Silent failures with no feedback,Red border + error message,No indication of error,High 34,Interaction,Success Feedback,All,Confirm successful actions to users,Show success message or visual change,No confirmation of completed action,Toast notification or checkmark,Action completes silently,Medium -35,Interaction,Confirmation Dialogs,All,Prevent accidental destructive actions,Confirm before delete/irreversible actions,Delete without confirmation,Are you sure modal,Direct delete on click,High +35,Interaction,Confirmation Dialogs,All,Prevent accidental destructive actions,Confirm before delete/irreversible actions,Delete without confirmation,Delete 'Q3 report'? dialog with Delete report and Keep report buttons,Direct delete on click,High 36,Accessibility,Color Contrast,All,Text must be readable against background,Minimum 4.5:1 ratio for normal text,Low contrast text,#333 on white (7:1),#999 on white (2.8:1),High 37,Accessibility,Color Only,All,Don't convey information by color alone,Use icons/text in addition to color,Red/green only for error/success,Red text + error icon,Red border only for error,High 38,Accessibility,Alt Text,All,Images need text alternatives,Descriptive alt text for meaningful images,Empty or missing alt attributes,alt='Dog playing in park',alt='' for content images,High @@ -129,3 +129,14 @@ No,Category,Issue,Platform,Description,Do,Don't,Code Example Good,Code Example B 128,Maps,Cluster Dense Map Points,Web,"Thousands of overlapping map point markers hide each other and slow map rendering at low zoom","Cluster points at low zoom with a count label, set clusterMaxZoom, and zoom into a cluster on click or Enter","Draw tens of thousands of individual or DOM markers at every zoom level","map.addSource('pts', {type: 'geojson', data: url, cluster: true, clusterMaxZoom: 14, clusterRadius: 50})","map.addSource('pts', {type: 'geojson', data: url}) // 200k overlapping circles",Medium 129,Maps,Large Geodata as Vector Tiles,Web,"Very large GeoJSON map layers are downloaded, parsed and tiled in the browser, which freezes the map on load","Serve large map datasets as vector tiles (MVT or PMTiles) and keep GeoJSON slim: drop unused properties, round coordinates and simplify geometry","Load a multi-megabyte GeoJSON file with every attribute into the browser","map.addSource('parcels', {type: 'vector', url: 'pmtiles://parcels.pmtiles'})","map.addSource('parcels', {type: 'geojson', data: 'all_parcels_450MB.geojson'})",Medium 130,Maps,Map Camera Reduced Motion,Web,"Animated map camera moves such as flyTo tours, spinning globes and looping map animations can trigger vestibular symptoms","Keep MapLibre and Mapbox camera moves non-essential so the library skips them under prefers-reduced-motion; check prefers-reduced-motion yourself for custom loops (globe spin, Leaflet flyTo, deck.gl or Cesium flights) and jump instead of fly; give continuous map animation a pause control","Mark decorative flights essential: true or start a requestAnimationFrame camera loop regardless of the motion setting","if (!matchMedia('(prefers-reduced-motion: reduce)').matches) requestAnimationFrame(spinGlobe); map.flyTo({center, zoom})","map.flyTo({center, zoom, essential: true}); requestAnimationFrame(spinGlobe)",Medium +131,Forms,Clear Errors After Correction,All,An error that stays after the field is corrected makes valid input look wrong; remove the message once the value is valid,"Once a field shows an error re-check it on input (at the latest on blur) and remove the message, error styling and aria-invalid the moment it passes; re-check dependent fields such as a password confirmation; on resubmit revalidate every field and drop stale error summary items",Leave a corrected error on screen until the next submit or until focus leaves the field,"input.addEventListener('input', () => { if (input.getAttribute('aria-invalid') === 'true' && isValid(input.value)) clearError(input); });",Errors recomputed only in onSubmit so the corrected field stays red,High +132,Forms,Premature Validation,All,"Showing an error before the user finishes typing, or when they only tab past an empty field, says they are wrong too early",Validate a field after the user has entered something and leaves it; report empty required fields on submit; keep as-you-type feedback for rules people need while typing such as password requirements or character limits,"Validate on focus, on the first keystrokes of a new entry, or when an untouched empty field loses focus",onBlur: if (value.trim() !== '') validateField(name); onSubmit: validateAll();,onFocus or first onChange: showError('Email is invalid'),Medium +133,Forms,Preserve Input After Failed Submit,All,Clearing or resetting the form after a validation or server error loses the user's input and forces re-entry,"Show the form again with every value as the user entered it, both passing and failing (secret fields such as passwords may be left empty); mark only the fields that need changes","Call form.reset(), clear the failing fields, or reload an empty form after a validation or server error",catch (err) { setFieldErrors(err.fieldErrors); } // entered values stay in form state,catch (err) { form.reset(); toast('Error'); },High +134,Forms,Submit Button Not Pre-Disabled,All,"A submit button disabled until the form is valid hides what is missing, and disabled buttons have poor contrast","Keep submit enabled and validate on click so the errors show what to fix; disable it only while the request is in flight, with a spinner, and send an idempotency key so a double click creates one record","Disable submit until every field passes, or leave it clickable with no in-flight guard","","",Medium +135,Forms,Unsaved Changes Warning,All,"Leaving a page, closing a dialog or pressing Cancel with unsaved changes silently discards the user's edits","Track a dirty state; while it is set ask before leaving through a router guard, beforeunload for tab close, or the dialog close handler, with clear choices such as Discard changes and Keep editing; skip the prompt when nothing changed or after a successful save","Drop edits without warning, or prompt on every navigation even when nothing changed","window.addEventListener('beforeunload', e => { if (isDirty) { e.preventDefault(); e.returnValue = ''; } });",onCancel={() => router.push('/list')} // unsaved edits are lost,High +136,Forms,Forgiving Input Formats,All,"Rejecting valid names, phone numbers or codes over spaces, hyphens, accents or apostrophes creates errors users cannot fix","Normalize before validating: trim leading and trailing whitespace, ignore spaces, hyphens and brackets in numbers and codes, and accept names with accents, hyphens and apostrophes; reject only values that are wrong or ambiguous","Restrict names to A-Z, reject a phone number typed with spaces, or fail a pasted value because of a trailing space","const digits = value.replace(/[\s()-]/g, ''); // then validate digits","",Medium +137,Forms,Never Block Paste,All,Blocking paste forces retyping and breaks password managers and pasted one-time codes,"Allow paste in every input and textarea, including password, email confirmation and verification code fields; validate the pasted value instead",Cancel paste or drop events to force manual typing,"", e.preventDefault()}>,Medium +138,Feedback,Persistent Error Messages,All,"An error message that disappears on a timer, such as an auto-dismissing toast, can vanish before the user reads it or fixes the problem",Keep each error visible until its cause is resolved or the user dismisses it; show form and action errors inline or in a dismissible alert; auto-dismiss only non-critical confirmations that can also be found elsewhere,"Report a failed save, payment or validation only in a toast that closes after a few seconds","
Payment failed. Check the card number and try again.
","toast.error('Save failed', { duration: 3000 })",High +139,Feedback,Actionable Error Messages,All,"An error message such as 'Invalid input', 'Something went wrong' or a raw code does not say in plain language what happened or how to fix it",State what went wrong and how to fix it; reuse the wording of the field label and give the expected format; use the same text inline and in the error summary,"Show raw error codes, stack traces or server messages, blame the user, or use vague text such as 'Invalid' or 'This field is required'",Label: Card number / Error: Enter the 16-digit number on the front of your card,Error 0x0000000643: invalid input,Medium +140,Interaction,Undo for Reversible Actions,All,Routine confirmation dialogs such as 'Are you sure?' get clicked through by habit; an undo window keeps reversible actions fast and recoverable,"Apply routine reversible actions such as archive, move or remove at once and offer Undo; keep confirmation for actions that cannot be undone and make it specific with the item name and buttons such as Delete file and Keep file","Ask 'Are you sure?' with Yes and No before every routine action, or delete permanently with neither confirmation nor Undo",Archived 'Q3 report' [Undo],if (confirm('Are you sure?')) archive(item);,Medium +141,Accessibility,Modal Dialog Focus,Web,"A modal dialog must move focus inside on open, trap Tab while open and return focus to its opener on close","Move focus into the dialog when it opens; keep Tab and Shift+Tab inside while it is open; close it with Escape; on close return focus to the control that opened it, or to the next logical element if that control is gone","Leave focus on the page behind the dialog, let Tab reach background content, or reset focus to the top of the page after closing","dialog.showModal(); dialog.addEventListener('close', () => opener.focus());","
with no focus move or Escape handling",High diff --git a/.claude/skills/ui-ux-pro-max/references/quick-reference.md b/.claude/skills/ui-ux-pro-max/references/quick-reference.md index bff0965..1f27550 100644 --- a/.claude/skills/ui-ux-pro-max/references/quick-reference.md +++ b/.claude/skills/ui-ux-pro-max/references/quick-reference.md @@ -193,6 +193,15 @@ Load this file when doing a UI review/audit pass, or when you need the full chec - `aria-live-errors` - Form errors use aria-live region or role="alert" to notify screen readers (WCAG) - `contrast-feedback` - Error and success state colors must meet 4.5:1 contrast ratio (WCAG, MD) - `timeout-feedback` - Request timeout must show clear feedback with retry option (MD) +- `error-clears-on-fix` - Remove a field's error message, error styling and aria-invalid as soon as the value is valid; once a field shows an error re-check it on input, and drop stale summary items on resubmit (Baymard, WCAG 3 draft) +- `no-premature-validation` - Do not flag a field before the user has entered something and left it; report empty required fields on submit (Baymard, NN/g, GOV.UK) +- `keep-input-on-error` - A failed submit shows the form again with every entered value, passing and failing; never reset or clear it (GOV.UK, NN/g) +- `submit-not-pre-disabled` - Keep submit enabled and show what to fix on click; disable it only while the request is in flight, with an idempotency key (Vercel, GOV.UK) +- `unsaved-changes-guard` - Ask before leaving, closing or cancelling with unsaved edits, and never when nothing changed (Vercel) +- `forgiving-formats` - Trim whitespace, ignore spaces, hyphens and brackets in numbers and codes, and accept accents and apostrophes in names (GOV.UK, Vercel) +- `allow-paste` - Never block paste, including password, confirmation and one-time-code fields (Vercel) +- `persistent-errors` - Errors stay until fixed or dismissed; auto-dismissing toasts are only for non-critical confirmations (WCAG) +- `dialog-focus` - Move focus into a modal on open, keep Tab inside, close on Escape and return focus to the opener on close (WAI-ARIA APG) ### 9. Navigation Patterns (HIGH) diff --git a/.claude/skills/ui-ux-pro-max/scripts/tests/fixtures/relevance-thresholds.json b/.claude/skills/ui-ux-pro-max/scripts/tests/fixtures/relevance-thresholds.json index e59d298..008ebb4 100644 --- a/.claude/skills/ui-ux-pro-max/scripts/tests/fixtures/relevance-thresholds.json +++ b/.claude/skills/ui-ux-pro-max/scripts/tests/fixtures/relevance-thresholds.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "status": "provisional-baseline-regression-gate", "baselineRevision": "97eb2a2", - "runtimeFingerprint": "83b21bffd0822e261ae931b4453ec62a8ce7d4c0fea6335f0d9235f862732773", + "runtimeFingerprint": "e074c9b35d8385e2fb8ce6ba42ac1f9d225c93a982c1dbfc55da9b18a3f1ac73", "oracleFingerprint": "02e7226428c64a995ec24ae104ce4d186f5f91bf0f062556e90ef9b0fcb6d67a", "approvingMaintainer": "repository maintainer approved Phase 1 testing checkpoint; second judgment review remains required before final-target promotion", "units": "All metrics are ratios in [0,1]. Precision treats missing ranks as non-relevant. Negative abstention is measured across the hard-negative by domain/stack cross-product.", diff --git a/.claude/skills/ui-ux-pro-max/scripts/tests/test_form_error_handling.py b/.claude/skills/ui-ux-pro-max/scripts/tests/test_form_error_handling.py new file mode 100644 index 0000000..1692ac3 --- /dev/null +++ b/.claude/skills/ui-ux-pro-max/scripts/tests/test_form_error_handling.py @@ -0,0 +1,92 @@ +"""Retrieve the form error-handling guidelines and keep generic queries on generic rows.""" + +import csv +from pathlib import Path +import sys +import unittest + +SCRIPTS = Path(__file__).resolve().parent.parent +sys.path.insert(0, str(SCRIPTS)) +from core import search # noqa: E402 + +DATA = SCRIPTS.parent / "data" + +FORM_QUERIES = { + "error message clears after correction": "Clear Errors After Correction", + "premature validation": "Premature Validation", + "form cleared after failed submit": "Preserve Input After Failed Submit", + "disabled submit button until valid": "Submit Button Not Pre-Disabled", + "unsaved changes warning": "Unsaved Changes Warning", + "reject valid phone number with spaces": "Forgiving Input Formats", + "block paste password": "Never Block Paste", + "error toast disappears": "Persistent Error Messages", + "invalid input error code": "Actionable Error Messages", + "undo instead of confirmation": "Undo for Reversible Actions", + "modal focus trap return focus": "Modal Dialog Focus", +} + +# Generic questions must keep returning the general guideline first. +GENERIC_QUERIES = { + "inline validation": "Inline Validation", + "error placement": "Error Placement", + "error messages": "Error Messages", + "confirmation dialogs": "Confirmation Dialogs", + "loading buttons": "Loading Buttons", + "toast notifications": "Toast Notifications", + "focus states": "Focus States", + "disabled states": "Disabled States", +} + + +def ux_rows(): + with (DATA / "ux-guidelines.csv").open(encoding="utf-8", newline="") as handle: + return list(csv.DictReader(handle)) + + +class TestFormErrorHandling(unittest.TestCase): + def test_form_queries_retrieve_the_new_row_first(self): + for query, issue in FORM_QUERIES.items(): + with self.subTest(query=query): + result = search(query, domain="ux", max_results=3) + self.assertEqual(issue, result["results"][0]["Issue"]) + + def test_generic_queries_keep_the_generic_row_first(self): + for query, issue in GENERIC_QUERIES.items(): + with self.subTest(query=query): + result = search(query, domain="ux", max_results=3) + self.assertEqual(issue, result["results"][0]["Issue"]) + + def test_form_rows_are_complete(self): + rows = {row["Issue"]: row for row in ux_rows()} + for issue in FORM_QUERIES.values(): + with self.subTest(issue=issue): + row = rows[issue] + self.assertIn(row["Platform"], {"All", "Web"}) + self.assertIn(row["Severity"], {"Critical", "High", "Medium"}) + for field in ("Description", "Do", "Don't", + "Code Example Good", "Code Example Bad"): + self.assertTrue(row[field].strip(), field) + + def test_confirmation_example_names_the_outcome(self): + row, = [row for row in ux_rows() if row["Issue"] == "Confirmation Dialogs"] + self.assertNotIn("are you sure", row["Code Example Good"].casefold()) + + def test_quick_references_include_the_form_rules(self): + repo = next((parent for parent in SCRIPTS.parents + if (parent / "src/ui-ux-pro-max/templates/base").is_dir()), None) + if not repo: + self.skipTest("Repository quick references are not installed with scripts") + for relative in ( + Path("src/ui-ux-pro-max/templates/base/quick-reference.md"), + Path("cli/assets/templates/base/quick-reference.md"), + Path(".claude", "skills", "ui-ux-pro-max", "references", "quick-reference.md"), + ): + with self.subTest(path=relative): + text = (repo / relative).read_text(encoding="utf-8") + for rule_id in ("`error-clears-on-fix`", "`keep-input-on-error`", + "`unsaved-changes-guard`", "`dialog-focus`"): + self.assertTrue(rule_id in text, f"{rule_id} missing from {relative}") + + +if __name__ == "__main__": + unittest.main() diff --git a/.claude/skills/ui-ux-pro-max/scripts/validate_data.py b/.claude/skills/ui-ux-pro-max/scripts/validate_data.py index e32e18a..e3ff944 100644 --- a/.claude/skills/ui-ux-pro-max/scripts/validate_data.py +++ b/.claude/skills/ui-ux-pro-max/scripts/validate_data.py @@ -111,6 +111,9 @@ OFFICIAL_SOURCE_HOSTS = { "cheatsheetseries.owasp.org", "docs.mapbox.com", "earthobservatory.nasa.gov", "leafletjs.com", "maplibre.org", "osmfoundation.org", "pro.arcgis.com", + # UX research publishers and a government design system cited by the + # form error-handling guidelines. + "baymard.com", "designsystem.ontario.ca", "www.nngroup.com", } STACK_OFFICIAL_HOSTS = { "react": {"react.dev"}, diff --git a/README.az.md b/README.az.md index 64afe1b..b659e5a 100644 --- a/README.az.md +++ b/README.az.md @@ -197,7 +197,7 @@ Hər qaydaya bunlar daxildir: - **74 şrift cütü** - Google Fonts import-ları ilə seçilmiş tipoqrafiya kombinasiyaları - **25 qrafik növü** - Dashboard və analitika üçün tövsiyələr - **22 texnologiya stack-i** - React, Next.js, Astro, Vue, Nuxt.js, Nuxt UI, Svelte, SwiftUI, React Native, Flutter, HTML+Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, Three.js, JavaFX, WPF, WinUI 3, UWP, Avalonia, Uno Platform -- **130 UX qaydası** - Ən yaxşı təcrübələr, anti-pattern-lər, əlçatanlıq qaydaları, davamlı mətn düzülüşü, yığcam etiketlər və ləğv edilə bilən interaksiyalar +- **141 UX qaydası** - Ən yaxşı təcrübələr, anti-pattern-lər, əlçatanlıq qaydaları, davamlı mətn düzülüşü, yığcam etiketlər və ləğv edilə bilən interaksiyalar - **194 əsaslandırma qaydası** - Sahəyə xas dizayn sistemi yaradılması (v2.0-da YENİ) ### Davamlı mətn və yığcam UI diff --git a/README.fr.md b/README.fr.md index 9502d78..2edc1fd 100644 --- a/README.fr.md +++ b/README.fr.md @@ -197,7 +197,7 @@ Chaque règle comprend : - **74 associations de polices** - Combinaisons typographiques sélectionnées, avec imports Google Fonts - **25 types de graphiques** - Recommandations pour tableaux de bord et analytique - **22 stacks techniques** - React, Next.js, Astro, Vue, Nuxt.js, Nuxt UI, Svelte, SwiftUI, React Native, Flutter, HTML+Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, Three.js, JavaFX, WPF, WinUI 3, UWP, Avalonia, Uno Platform -- **130 recommandations UX** - Bonnes pratiques, anti-patterns, règles d'accessibilité, mise en page de texte robuste, libellés compacts et interactions annulables. Voir [Raccourcis Entrée compatibles IME](docs/ime-composition.md). +- **141 recommandations UX** - Bonnes pratiques, anti-patterns, règles d'accessibilité, mise en page de texte robuste, libellés compacts et interactions annulables. Voir [Raccourcis Entrée compatibles IME](docs/ime-composition.md). - **194 règles de raisonnement** - Génération de design system spécifique à chaque secteur (NOUVEAU en v2.0) ### Texte robuste et interface compacte diff --git a/README.id.md b/README.id.md index 80e07e3..01c070d 100644 --- a/README.id.md +++ b/README.id.md @@ -168,7 +168,7 @@ Setiap aturan mencakup: - **74 Pasangan Font** - Kombinasi tipografi pilihan dengan import Google Fonts - **25 Jenis Chart** - Rekomendasi untuk dashboard dan analitik - **22 Tech Stack** - React, Next.js, Astro, Vue, Nuxt.js, Nuxt UI, Svelte, SwiftUI, React Native, Flutter, HTML+Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, Three.js, JavaFX, WPF, WinUI 3, UWP, Avalonia, Uno Platform -- **130 Panduan UX** - Best practice, anti-pattern, aturan aksesibilitas, layout teks yang tangguh, label ringkas, dan interaksi yang dapat dibatalkan +- **141 Panduan UX** - Best practice, anti-pattern, aturan aksesibilitas, layout teks yang tangguh, label ringkas, dan interaksi yang dapat dibatalkan - **194 Aturan Penalaran** - Pembuatan design system khusus industri (BARU di v2.0) ### Teks Tangguh dan UI Ringkas diff --git a/README.ja.md b/README.ja.md index 04601c8..57493b2 100644 --- a/README.ja.md +++ b/README.ja.md @@ -198,7 +198,7 @@ v2.0 の目玉機能は **Design System Generator** です。プロジェクト - **74 のフォントペアリング** - Google Fonts のインポート付きで厳選したタイポグラフィの組み合わせ - **25 のチャートタイプ** - ダッシュボードや分析向けの推奨 - **22 の技術スタック** - React、Next.js、Astro、Vue、Nuxt.js、Nuxt UI、Svelte、SwiftUI、React Native、Flutter、HTML+Tailwind、shadcn/ui、Jetpack Compose、Angular、Laravel、Three.js、JavaFX、WPF、WinUI 3、UWP、Avalonia、Uno Platform -- **130 の UX ガイドライン** - ベストプラクティス、アンチパターン、アクセシビリティのルール、崩れにくいテキストレイアウト、コンパクトなラベル、キャンセル可能なインタラクション +- **141 の UX ガイドライン** - ベストプラクティス、アンチパターン、アクセシビリティのルール、崩れにくいテキストレイアウト、コンパクトなラベル、キャンセル可能なインタラクション - **194 の推論ルール** - 業界別のデザインシステム生成(v2.0 の新機能) ### 崩れにくいテキストとコンパクトな UI diff --git a/README.ko.md b/README.ko.md index f0b7845..3e401fd 100644 --- a/README.ko.md +++ b/README.ko.md @@ -159,7 +159,7 @@ v2.0의 핵심 기능은 **디자인 시스템 생성기**입니다. AI 기반 - **글꼴 조합 74개** - Google Fonts 가져오기 코드가 포함된 엄선된 타이포그래피 조합 - **차트 유형 25개** - 대시보드 및 분석 화면을 위한 권장 사항 - **기술 스택 22개** - React, Next.js, Astro, Vue, Nuxt.js, Nuxt UI, Svelte, SwiftUI, React Native, Flutter, HTML+Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, Three.js, JavaFX, WPF, WinUI 3, UWP, Avalonia, Uno Platform -- **UX 가이드라인 130개** - 모범 사례, 안티패턴, 접근성 규칙, 유연한 텍스트 레이아웃, 간결한 레이블, 취소 가능한 상호작용 +- **UX 가이드라인 141개** - 모범 사례, 안티패턴, 접근성 규칙, 유연한 텍스트 레이아웃, 간결한 레이블, 취소 가능한 상호작용 - **추론 규칙 194개** - 산업별 디자인 시스템 생성(v2.0의 새로운 기능) ### 유연한 텍스트와 컴팩트 UI diff --git a/README.md b/README.md index 3697887..2510d38 100755 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ Each rule includes: - **74 Font Pairings** - Curated typography combinations with Google Fonts imports - **25 Chart Types** - Recommendations for dashboards and analytics - **22 Tech Stacks** - React, Next.js, Astro, Vue, Nuxt.js, Nuxt UI, Svelte, SwiftUI, React Native, Flutter, HTML+Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, Three.js, JavaFX, WPF, WinUI 3, UWP, Avalonia, Uno Platform -- **130 UX Guidelines** - Best practices, anti-patterns, accessibility rules, resilient text layout, compact labels, cancellable interactions, and web maps (attribution, map accessibility, choropleths, popups, clustering). See [IME-safe Enter shortcuts](docs/ime-composition.md). +- **141 UX Guidelines** - Best practices, anti-patterns, accessibility rules, resilient text layout, compact labels, cancellable interactions, web maps (attribution, map accessibility, choropleths, popups, clustering), and form error handling (clearing fixed errors, keeping input, unsaved-change warnings, undo, dialog focus). See [IME-safe Enter shortcuts](docs/ime-composition.md). - **194 Reasoning Rules** - Industry-specific design system generation (NEW in v2.0) ### Resilient Text and Compact UI diff --git a/README.vi.md b/README.vi.md index a06dc59..0a312c0 100644 --- a/README.vi.md +++ b/README.vi.md @@ -169,7 +169,7 @@ Mỗi quy tắc bao gồm: - **74 cặp phông chữ** — Các tổ hợp kiểu chữ được tuyển chọn, kèm câu lệnh import Google Fonts - **25 loại biểu đồ** — Đề xuất cho dashboard và phân tích dữ liệu - **22 tech stack** — React, Next.js, Astro, Vue, Nuxt.js, Nuxt UI, Svelte, SwiftUI, React Native, Flutter, HTML+Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, Three.js, JavaFX, WPF, WinUI 3, UWP, Avalonia, Uno Platform -- **130 hướng dẫn UX** — Thực hành tốt, anti-pattern, quy tắc khả năng tiếp cận, bố cục văn bản bền vững, nhãn gọn và tương tác có thể hủy +- **141 hướng dẫn UX** — Thực hành tốt, anti-pattern, quy tắc khả năng tiếp cận, bố cục văn bản bền vững, nhãn gọn và tương tác có thể hủy - **194 quy tắc suy luận** — Tạo hệ thống thiết kế dành riêng cho từng ngành (MỚI trong v2.0) ### Văn bản bền vững và UI nhỏ gọn diff --git a/README.zh.md b/README.zh.md index e41ae5e..d146f13 100644 --- a/README.zh.md +++ b/README.zh.md @@ -168,7 +168,7 @@ v2.0 的旗舰特性是**设计系统生成器**——一个 AI 驱动的推理 - **74 种字体配对** - 精选字体组合,含 Google Fonts 导入 - **25 种图表类型** - 适用于仪表板和分析场景的推荐 - **22 种技术栈** - React、Next.js、Astro、Vue、Nuxt.js、Nuxt UI、Svelte、SwiftUI、React Native、Flutter、HTML+Tailwind、shadcn/ui、Jetpack Compose、Angular、Laravel、Three.js、JavaFX、WPF、WinUI 3、UWP、Avalonia、Uno Platform -- **130 条 UX 指南** - 最佳实践、反模式、无障碍规则、弹性文字布局、紧凑标签与可取消交互 +- **141 条 UX 指南** - 最佳实践、反模式、无障碍规则、弹性文字布局、紧凑标签与可取消交互 - **194 条推理规则** - 行业特定的设计系统生成(v2.0 新增) ### 弹性文字与紧凑型 UI diff --git a/cli/assets/data/catalog-summary.json b/cli/assets/data/catalog-summary.json index fac1995..0c6467b 100644 --- a/cli/assets/data/catalog-summary.json +++ b/cli/assets/data/catalog-summary.json @@ -16,7 +16,7 @@ "googleFonts": 1934, "curatedIcons": 105, "upstreamPhosphorIcons": 1512, - "uxGuidelines": 130, + "uxGuidelines": 141, "motionPresets": 17, "chartTypes": 25, "stacks": 22, diff --git a/cli/assets/data/data-provenance.json b/cli/assets/data/data-provenance.json index e38a465..aa254ae 100644 --- a/cli/assets/data/data-provenance.json +++ b/cli/assets/data/data-provenance.json @@ -6,6 +6,84 @@ "needs-reviewDays": 90 }, "records": [ + { + "entityKind": "dataset-contract", + "entityId": "form-error-handling-behavior", + "sourceFile": "ux-guidelines.csv", + "sourceKey": { + "Scope": "No 35 and 131-141; Category, Issue, Platform, Description, Do, Don't, code-example, and Severity fields", + "Boundary": "Sources disagree on validation timing: Baymard re-checks a field that already shows an error while the user types, the Ontario Design System re-validates on blur, and GOV.UK validates on submit. Rows 131-132 only require that an error never appears before the user has entered data and never outlives its cause. Row 138 restates a WCAG 3 working-draft supplemental requirement (status developing) and the WCAG 2.2 Understanding note on timed messages; it is not a WCAG 2.2 success criterion. Row 133 leaves secret fields such as passwords to the product's security policy. Row 141 follows the WAI-ARIA APG modal dialog pattern and does not assert native dialog behavior. Row 35 changes only its good code example." + }, + "status": "active", + "verifiedAt": "2026-11-21", + "sla": "needs-review", + "appliesTo": [ + "search", + "design-guidance" + ], + "sources": [ + { + "type": "official", + "ref": "https://baymard.com/blog/inline-form-validation" + }, + { + "type": "official", + "ref": "https://designsystem.ontario.ca/components/detail/live-validation.html" + }, + { + "type": "official", + "ref": "https://design-system.service.gov.uk/patterns/validation/" + }, + { + "type": "official", + "ref": "https://design-system.service.gov.uk/components/error-message/" + }, + { + "type": "official", + "ref": "https://design-system.service.gov.uk/components/button/" + }, + { + "type": "official", + "ref": "https://www.nngroup.com/articles/error-message-guidelines/" + }, + { + "type": "official", + "ref": "https://www.nngroup.com/articles/ten-usability-heuristics/" + }, + { + "type": "official", + "ref": "https://www.nngroup.com/articles/confirmation-dialog/" + }, + { + "type": "official", + "ref": "https://github.com/vercel-labs/web-interface-guidelines" + }, + { + "type": "official", + "ref": "https://github.com/w3c/wcag3/blob/main/guidelines/groups/error-handling/correct-errors/error-messages-persistent.md" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/timing-adjustable.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-legal-financial-data.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/" + } + ] + }, { "entityKind": "dataset-contract", "entityId": "map-ux-guidelines", diff --git a/cli/assets/data/ux-guidelines.csv b/cli/assets/data/ux-guidelines.csv index 0a02d0b..5c03eb6 100644 --- a/cli/assets/data/ux-guidelines.csv +++ b/cli/assets/data/ux-guidelines.csv @@ -33,7 +33,7 @@ No,Category,Issue,Platform,Description,Do,Don't,Code Example Good,Code Example B 32,Interaction,Loading Buttons,All,Prevent double submission during async actions,Disable button and show loading state,Allow multiple clicks during processing,disabled={loading} spinner,Button clickable while loading,High 33,Interaction,Error Feedback,All,Users need to know when something fails,Show clear error messages near problem,Silent failures with no feedback,Red border + error message,No indication of error,High 34,Interaction,Success Feedback,All,Confirm successful actions to users,Show success message or visual change,No confirmation of completed action,Toast notification or checkmark,Action completes silently,Medium -35,Interaction,Confirmation Dialogs,All,Prevent accidental destructive actions,Confirm before delete/irreversible actions,Delete without confirmation,Are you sure modal,Direct delete on click,High +35,Interaction,Confirmation Dialogs,All,Prevent accidental destructive actions,Confirm before delete/irreversible actions,Delete without confirmation,Delete 'Q3 report'? dialog with Delete report and Keep report buttons,Direct delete on click,High 36,Accessibility,Color Contrast,All,Text must be readable against background,Minimum 4.5:1 ratio for normal text,Low contrast text,#333 on white (7:1),#999 on white (2.8:1),High 37,Accessibility,Color Only,All,Don't convey information by color alone,Use icons/text in addition to color,Red/green only for error/success,Red text + error icon,Red border only for error,High 38,Accessibility,Alt Text,All,Images need text alternatives,Descriptive alt text for meaningful images,Empty or missing alt attributes,alt='Dog playing in park',alt='' for content images,High @@ -129,3 +129,14 @@ No,Category,Issue,Platform,Description,Do,Don't,Code Example Good,Code Example B 128,Maps,Cluster Dense Map Points,Web,"Thousands of overlapping map point markers hide each other and slow map rendering at low zoom","Cluster points at low zoom with a count label, set clusterMaxZoom, and zoom into a cluster on click or Enter","Draw tens of thousands of individual or DOM markers at every zoom level","map.addSource('pts', {type: 'geojson', data: url, cluster: true, clusterMaxZoom: 14, clusterRadius: 50})","map.addSource('pts', {type: 'geojson', data: url}) // 200k overlapping circles",Medium 129,Maps,Large Geodata as Vector Tiles,Web,"Very large GeoJSON map layers are downloaded, parsed and tiled in the browser, which freezes the map on load","Serve large map datasets as vector tiles (MVT or PMTiles) and keep GeoJSON slim: drop unused properties, round coordinates and simplify geometry","Load a multi-megabyte GeoJSON file with every attribute into the browser","map.addSource('parcels', {type: 'vector', url: 'pmtiles://parcels.pmtiles'})","map.addSource('parcels', {type: 'geojson', data: 'all_parcels_450MB.geojson'})",Medium 130,Maps,Map Camera Reduced Motion,Web,"Animated map camera moves such as flyTo tours, spinning globes and looping map animations can trigger vestibular symptoms","Keep MapLibre and Mapbox camera moves non-essential so the library skips them under prefers-reduced-motion; check prefers-reduced-motion yourself for custom loops (globe spin, Leaflet flyTo, deck.gl or Cesium flights) and jump instead of fly; give continuous map animation a pause control","Mark decorative flights essential: true or start a requestAnimationFrame camera loop regardless of the motion setting","if (!matchMedia('(prefers-reduced-motion: reduce)').matches) requestAnimationFrame(spinGlobe); map.flyTo({center, zoom})","map.flyTo({center, zoom, essential: true}); requestAnimationFrame(spinGlobe)",Medium +131,Forms,Clear Errors After Correction,All,An error that stays after the field is corrected makes valid input look wrong; remove the message once the value is valid,"Once a field shows an error re-check it on input (at the latest on blur) and remove the message, error styling and aria-invalid the moment it passes; re-check dependent fields such as a password confirmation; on resubmit revalidate every field and drop stale error summary items",Leave a corrected error on screen until the next submit or until focus leaves the field,"input.addEventListener('input', () => { if (input.getAttribute('aria-invalid') === 'true' && isValid(input.value)) clearError(input); });",Errors recomputed only in onSubmit so the corrected field stays red,High +132,Forms,Premature Validation,All,"Showing an error before the user finishes typing, or when they only tab past an empty field, says they are wrong too early",Validate a field after the user has entered something and leaves it; report empty required fields on submit; keep as-you-type feedback for rules people need while typing such as password requirements or character limits,"Validate on focus, on the first keystrokes of a new entry, or when an untouched empty field loses focus",onBlur: if (value.trim() !== '') validateField(name); onSubmit: validateAll();,onFocus or first onChange: showError('Email is invalid'),Medium +133,Forms,Preserve Input After Failed Submit,All,Clearing or resetting the form after a validation or server error loses the user's input and forces re-entry,"Show the form again with every value as the user entered it, both passing and failing (secret fields such as passwords may be left empty); mark only the fields that need changes","Call form.reset(), clear the failing fields, or reload an empty form after a validation or server error",catch (err) { setFieldErrors(err.fieldErrors); } // entered values stay in form state,catch (err) { form.reset(); toast('Error'); },High +134,Forms,Submit Button Not Pre-Disabled,All,"A submit button disabled until the form is valid hides what is missing, and disabled buttons have poor contrast","Keep submit enabled and validate on click so the errors show what to fix; disable it only while the request is in flight, with a spinner, and send an idempotency key so a double click creates one record","Disable submit until every field passes, or leave it clickable with no in-flight guard","","",Medium +135,Forms,Unsaved Changes Warning,All,"Leaving a page, closing a dialog or pressing Cancel with unsaved changes silently discards the user's edits","Track a dirty state; while it is set ask before leaving through a router guard, beforeunload for tab close, or the dialog close handler, with clear choices such as Discard changes and Keep editing; skip the prompt when nothing changed or after a successful save","Drop edits without warning, or prompt on every navigation even when nothing changed","window.addEventListener('beforeunload', e => { if (isDirty) { e.preventDefault(); e.returnValue = ''; } });",onCancel={() => router.push('/list')} // unsaved edits are lost,High +136,Forms,Forgiving Input Formats,All,"Rejecting valid names, phone numbers or codes over spaces, hyphens, accents or apostrophes creates errors users cannot fix","Normalize before validating: trim leading and trailing whitespace, ignore spaces, hyphens and brackets in numbers and codes, and accept names with accents, hyphens and apostrophes; reject only values that are wrong or ambiguous","Restrict names to A-Z, reject a phone number typed with spaces, or fail a pasted value because of a trailing space","const digits = value.replace(/[\s()-]/g, ''); // then validate digits","",Medium +137,Forms,Never Block Paste,All,Blocking paste forces retyping and breaks password managers and pasted one-time codes,"Allow paste in every input and textarea, including password, email confirmation and verification code fields; validate the pasted value instead",Cancel paste or drop events to force manual typing,"", e.preventDefault()}>,Medium +138,Feedback,Persistent Error Messages,All,"An error message that disappears on a timer, such as an auto-dismissing toast, can vanish before the user reads it or fixes the problem",Keep each error visible until its cause is resolved or the user dismisses it; show form and action errors inline or in a dismissible alert; auto-dismiss only non-critical confirmations that can also be found elsewhere,"Report a failed save, payment or validation only in a toast that closes after a few seconds","
Payment failed. Check the card number and try again.
","toast.error('Save failed', { duration: 3000 })",High +139,Feedback,Actionable Error Messages,All,"An error message such as 'Invalid input', 'Something went wrong' or a raw code does not say in plain language what happened or how to fix it",State what went wrong and how to fix it; reuse the wording of the field label and give the expected format; use the same text inline and in the error summary,"Show raw error codes, stack traces or server messages, blame the user, or use vague text such as 'Invalid' or 'This field is required'",Label: Card number / Error: Enter the 16-digit number on the front of your card,Error 0x0000000643: invalid input,Medium +140,Interaction,Undo for Reversible Actions,All,Routine confirmation dialogs such as 'Are you sure?' get clicked through by habit; an undo window keeps reversible actions fast and recoverable,"Apply routine reversible actions such as archive, move or remove at once and offer Undo; keep confirmation for actions that cannot be undone and make it specific with the item name and buttons such as Delete file and Keep file","Ask 'Are you sure?' with Yes and No before every routine action, or delete permanently with neither confirmation nor Undo",Archived 'Q3 report' [Undo],if (confirm('Are you sure?')) archive(item);,Medium +141,Accessibility,Modal Dialog Focus,Web,"A modal dialog must move focus inside on open, trap Tab while open and return focus to its opener on close","Move focus into the dialog when it opens; keep Tab and Shift+Tab inside while it is open; close it with Escape; on close return focus to the control that opened it, or to the next logical element if that control is gone","Leave focus on the page behind the dialog, let Tab reach background content, or reset focus to the top of the page after closing","dialog.showModal(); dialog.addEventListener('close', () => opener.focus());","
with no focus move or Escape handling",High diff --git a/cli/assets/scripts/tests/fixtures/relevance-thresholds.json b/cli/assets/scripts/tests/fixtures/relevance-thresholds.json index e59d298..008ebb4 100644 --- a/cli/assets/scripts/tests/fixtures/relevance-thresholds.json +++ b/cli/assets/scripts/tests/fixtures/relevance-thresholds.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "status": "provisional-baseline-regression-gate", "baselineRevision": "97eb2a2", - "runtimeFingerprint": "83b21bffd0822e261ae931b4453ec62a8ce7d4c0fea6335f0d9235f862732773", + "runtimeFingerprint": "e074c9b35d8385e2fb8ce6ba42ac1f9d225c93a982c1dbfc55da9b18a3f1ac73", "oracleFingerprint": "02e7226428c64a995ec24ae104ce4d186f5f91bf0f062556e90ef9b0fcb6d67a", "approvingMaintainer": "repository maintainer approved Phase 1 testing checkpoint; second judgment review remains required before final-target promotion", "units": "All metrics are ratios in [0,1]. Precision treats missing ranks as non-relevant. Negative abstention is measured across the hard-negative by domain/stack cross-product.", diff --git a/cli/assets/scripts/tests/test_form_error_handling.py b/cli/assets/scripts/tests/test_form_error_handling.py new file mode 100644 index 0000000..1692ac3 --- /dev/null +++ b/cli/assets/scripts/tests/test_form_error_handling.py @@ -0,0 +1,92 @@ +"""Retrieve the form error-handling guidelines and keep generic queries on generic rows.""" + +import csv +from pathlib import Path +import sys +import unittest + +SCRIPTS = Path(__file__).resolve().parent.parent +sys.path.insert(0, str(SCRIPTS)) +from core import search # noqa: E402 + +DATA = SCRIPTS.parent / "data" + +FORM_QUERIES = { + "error message clears after correction": "Clear Errors After Correction", + "premature validation": "Premature Validation", + "form cleared after failed submit": "Preserve Input After Failed Submit", + "disabled submit button until valid": "Submit Button Not Pre-Disabled", + "unsaved changes warning": "Unsaved Changes Warning", + "reject valid phone number with spaces": "Forgiving Input Formats", + "block paste password": "Never Block Paste", + "error toast disappears": "Persistent Error Messages", + "invalid input error code": "Actionable Error Messages", + "undo instead of confirmation": "Undo for Reversible Actions", + "modal focus trap return focus": "Modal Dialog Focus", +} + +# Generic questions must keep returning the general guideline first. +GENERIC_QUERIES = { + "inline validation": "Inline Validation", + "error placement": "Error Placement", + "error messages": "Error Messages", + "confirmation dialogs": "Confirmation Dialogs", + "loading buttons": "Loading Buttons", + "toast notifications": "Toast Notifications", + "focus states": "Focus States", + "disabled states": "Disabled States", +} + + +def ux_rows(): + with (DATA / "ux-guidelines.csv").open(encoding="utf-8", newline="") as handle: + return list(csv.DictReader(handle)) + + +class TestFormErrorHandling(unittest.TestCase): + def test_form_queries_retrieve_the_new_row_first(self): + for query, issue in FORM_QUERIES.items(): + with self.subTest(query=query): + result = search(query, domain="ux", max_results=3) + self.assertEqual(issue, result["results"][0]["Issue"]) + + def test_generic_queries_keep_the_generic_row_first(self): + for query, issue in GENERIC_QUERIES.items(): + with self.subTest(query=query): + result = search(query, domain="ux", max_results=3) + self.assertEqual(issue, result["results"][0]["Issue"]) + + def test_form_rows_are_complete(self): + rows = {row["Issue"]: row for row in ux_rows()} + for issue in FORM_QUERIES.values(): + with self.subTest(issue=issue): + row = rows[issue] + self.assertIn(row["Platform"], {"All", "Web"}) + self.assertIn(row["Severity"], {"Critical", "High", "Medium"}) + for field in ("Description", "Do", "Don't", + "Code Example Good", "Code Example Bad"): + self.assertTrue(row[field].strip(), field) + + def test_confirmation_example_names_the_outcome(self): + row, = [row for row in ux_rows() if row["Issue"] == "Confirmation Dialogs"] + self.assertNotIn("are you sure", row["Code Example Good"].casefold()) + + def test_quick_references_include_the_form_rules(self): + repo = next((parent for parent in SCRIPTS.parents + if (parent / "src/ui-ux-pro-max/templates/base").is_dir()), None) + if not repo: + self.skipTest("Repository quick references are not installed with scripts") + for relative in ( + Path("src/ui-ux-pro-max/templates/base/quick-reference.md"), + Path("cli/assets/templates/base/quick-reference.md"), + Path(".claude", "skills", "ui-ux-pro-max", "references", "quick-reference.md"), + ): + with self.subTest(path=relative): + text = (repo / relative).read_text(encoding="utf-8") + for rule_id in ("`error-clears-on-fix`", "`keep-input-on-error`", + "`unsaved-changes-guard`", "`dialog-focus`"): + self.assertTrue(rule_id in text, f"{rule_id} missing from {relative}") + + +if __name__ == "__main__": + unittest.main() diff --git a/cli/assets/scripts/validate_data.py b/cli/assets/scripts/validate_data.py index e32e18a..e3ff944 100644 --- a/cli/assets/scripts/validate_data.py +++ b/cli/assets/scripts/validate_data.py @@ -111,6 +111,9 @@ OFFICIAL_SOURCE_HOSTS = { "cheatsheetseries.owasp.org", "docs.mapbox.com", "earthobservatory.nasa.gov", "leafletjs.com", "maplibre.org", "osmfoundation.org", "pro.arcgis.com", + # UX research publishers and a government design system cited by the + # form error-handling guidelines. + "baymard.com", "designsystem.ontario.ca", "www.nngroup.com", } STACK_OFFICIAL_HOSTS = { "react": {"react.dev"}, diff --git a/cli/assets/templates/base/quick-reference.md b/cli/assets/templates/base/quick-reference.md index deec912..654508b 100644 --- a/cli/assets/templates/base/quick-reference.md +++ b/cli/assets/templates/base/quick-reference.md @@ -244,6 +244,15 @@ - `aria-live-errors` - Form errors use aria-live region or role="alert" to notify screen readers (WCAG) - `contrast-feedback` - Error and success state colors must meet 4.5:1 contrast ratio (WCAG, MD) - `timeout-feedback` - Request timeout must show clear feedback with retry option (MD) +- `error-clears-on-fix` - Remove a field's error message, error styling and aria-invalid as soon as the value is valid; once a field shows an error re-check it on input, and drop stale summary items on resubmit (Baymard, WCAG 3 draft) +- `no-premature-validation` - Do not flag a field before the user has entered something and left it; report empty required fields on submit (Baymard, NN/g, GOV.UK) +- `keep-input-on-error` - A failed submit shows the form again with every entered value, passing and failing; never reset or clear it (GOV.UK, NN/g) +- `submit-not-pre-disabled` - Keep submit enabled and show what to fix on click; disable it only while the request is in flight, with an idempotency key (Vercel, GOV.UK) +- `unsaved-changes-guard` - Ask before leaving, closing or cancelling with unsaved edits, and never when nothing changed (Vercel) +- `forgiving-formats` - Trim whitespace, ignore spaces, hyphens and brackets in numbers and codes, and accept accents and apostrophes in names (GOV.UK, Vercel) +- `allow-paste` - Never block paste, including password, confirmation and one-time-code fields (Vercel) +- `persistent-errors` - Errors stay until fixed or dismissed; auto-dismissing toasts are only for non-critical confirmations (WCAG) +- `dialog-focus` - Move focus into a modal on open, keep Tab inside, close on Escape and return focus to the opener on close (WAI-ARIA APG) ### 9. Navigation Patterns (HIGH) diff --git a/cli/assets/templates/platforms/agent.json b/cli/assets/templates/platforms/agent.json index dd4185b..6f0b181 100644 --- a/cli/assets/templates/platforms/agent.json +++ b/cli/assets/templates/platforms/agent.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/amazonq.json b/cli/assets/templates/platforms/amazonq.json index 4eaaf31..da507d5 100644 --- a/cli/assets/templates/platforms/amazonq.json +++ b/cli/assets/templates/platforms/amazonq.json @@ -14,6 +14,6 @@ "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/augment.json b/cli/assets/templates/platforms/augment.json index 0d699b1..4d2afc5 100644 --- a/cli/assets/templates/platforms/augment.json +++ b/cli/assets/templates/platforms/augment.json @@ -13,6 +13,6 @@ "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/autoclaw.json b/cli/assets/templates/platforms/autoclaw.json index 8bab5a2..678428b 100644 --- a/cli/assets/templates/platforms/autoclaw.json +++ b/cli/assets/templates/platforms/autoclaw.json @@ -11,12 +11,12 @@ "scriptPath": "ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/claude.json b/cli/assets/templates/platforms/claude.json index b6c00db..b2b4e5e 100644 --- a/cli/assets/templates/platforms/claude.json +++ b/cli/assets/templates/platforms/claude.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": true }, "title": "UI/UX Pro Max - Design Intelligence", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/codebuddy.json b/cli/assets/templates/platforms/codebuddy.json index 87a0895..be28786 100644 --- a/cli/assets/templates/platforms/codebuddy.json +++ b/cli/assets/templates/platforms/codebuddy.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/codewhale.json b/cli/assets/templates/platforms/codewhale.json index 3b9b47c..7f31cf9 100644 --- a/cli/assets/templates/platforms/codewhale.json +++ b/cli/assets/templates/platforms/codewhale.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/codex.json b/cli/assets/templates/platforms/codex.json index 496145b..400c9da 100644 --- a/cli/assets/templates/platforms/codex.json +++ b/cli/assets/templates/platforms/codex.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": true }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/continue.json b/cli/assets/templates/platforms/continue.json index 52ea025..beba948 100644 --- a/cli/assets/templates/platforms/continue.json +++ b/cli/assets/templates/platforms/continue.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/copilot.json b/cli/assets/templates/platforms/copilot.json index 4a024b4..3a2f153 100644 --- a/cli/assets/templates/platforms/copilot.json +++ b/cli/assets/templates/platforms/copilot.json @@ -11,12 +11,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/cursor.json b/cli/assets/templates/platforms/cursor.json index ff075c0..916f03d 100644 --- a/cli/assets/templates/platforms/cursor.json +++ b/cli/assets/templates/platforms/cursor.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/droid.json b/cli/assets/templates/platforms/droid.json index b07b309..0e38a3e 100644 --- a/cli/assets/templates/platforms/droid.json +++ b/cli/assets/templates/platforms/droid.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "UI/UX Pro Max - Design Intelligence", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/gemini.json b/cli/assets/templates/platforms/gemini.json index 320cf0a..47a654b 100644 --- a/cli/assets/templates/platforms/gemini.json +++ b/cli/assets/templates/platforms/gemini.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/kilocode.json b/cli/assets/templates/platforms/kilocode.json index 865ed3d..6dfc405 100644 --- a/cli/assets/templates/platforms/kilocode.json +++ b/cli/assets/templates/platforms/kilocode.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/kimi.json b/cli/assets/templates/platforms/kimi.json index 08c8be0..029ed92 100644 --- a/cli/assets/templates/platforms/kimi.json +++ b/cli/assets/templates/platforms/kimi.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/kiro.json b/cli/assets/templates/platforms/kiro.json index 7e2b56c..dfcea40 100644 --- a/cli/assets/templates/platforms/kiro.json +++ b/cli/assets/templates/platforms/kiro.json @@ -10,12 +10,12 @@ "scriptPath": "steering/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Workflow" } diff --git a/cli/assets/templates/platforms/openclaw.json b/cli/assets/templates/platforms/openclaw.json index d5f07d2..e99c3e9 100644 --- a/cli/assets/templates/platforms/openclaw.json +++ b/cli/assets/templates/platforms/openclaw.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/opencode.json b/cli/assets/templates/platforms/opencode.json index 542cc50..511070d 100644 --- a/cli/assets/templates/platforms/opencode.json +++ b/cli/assets/templates/platforms/opencode.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/qoder.json b/cli/assets/templates/platforms/qoder.json index d41ce40..b7265f1 100644 --- a/cli/assets/templates/platforms/qoder.json +++ b/cli/assets/templates/platforms/qoder.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/roocode.json b/cli/assets/templates/platforms/roocode.json index fa2e84e..019e509 100644 --- a/cli/assets/templates/platforms/roocode.json +++ b/cli/assets/templates/platforms/roocode.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Workflow" } diff --git a/cli/assets/templates/platforms/trae.json b/cli/assets/templates/platforms/trae.json index 0b4b024..b0a781e 100644 --- a/cli/assets/templates/platforms/trae.json +++ b/cli/assets/templates/platforms/trae.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/universal.json b/cli/assets/templates/platforms/universal.json index 2c2e09c..d8f5f23 100644 --- a/cli/assets/templates/platforms/universal.json +++ b/cli/assets/templates/platforms/universal.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/warp.json b/cli/assets/templates/platforms/warp.json index 7536262..a2fb0c2 100644 --- a/cli/assets/templates/platforms/warp.json +++ b/cli/assets/templates/platforms/warp.json @@ -13,6 +13,6 @@ "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/windsurf.json b/cli/assets/templates/platforms/windsurf.json index 16c0b10..b207522 100644 --- a/cli/assets/templates/platforms/windsurf.json +++ b/cli/assets/templates/platforms/windsurf.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/assets/templates/platforms/zcode.json b/cli/assets/templates/platforms/zcode.json index 8c7fa1f..4fbb1cc 100644 --- a/cli/assets/templates/platforms/zcode.json +++ b/cli/assets/templates/platforms/zcode.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/cli/tests/e2e/agent-query-contract.spec.ts b/cli/tests/e2e/agent-query-contract.spec.ts index 7493dae..682eac7 100644 --- a/cli/tests/e2e/agent-query-contract.spec.ts +++ b/cli/tests/e2e/agent-query-contract.spec.ts @@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test'; import { loadAllPlatformConfigs, renderSkillFile } from '../../src/utils/template.js'; const DESCRIPTION = - 'UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.'; + 'UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.'; test('all platform metadata uses one accurate activation description', async () => { const configs = await loadAllPlatformConfigs(); diff --git a/skill.json b/skill.json index 9ee0a3e..cd1ef54 100644 --- a/skill.json +++ b/skill.json @@ -1,7 +1,7 @@ { "name": "ui-ux-pro-max", "displayName": "UI/UX Pro Max", - "description": "AI-powered design intelligence with 80 UI styles, 194 color palettes, 74 font pairings, 130 UX guidelines, and 25 chart types across 22 tech stacks.", + "description": "AI-powered design intelligence with 80 UI styles, 194 color palettes, 74 font pairings, 141 UX guidelines, and 25 chart types across 22 tech stacks.", "version": "2.15.0", "author": "NextLevelBuilder", "license": "MIT", diff --git a/src/ui-ux-pro-max/data/catalog-summary.json b/src/ui-ux-pro-max/data/catalog-summary.json index fac1995..0c6467b 100644 --- a/src/ui-ux-pro-max/data/catalog-summary.json +++ b/src/ui-ux-pro-max/data/catalog-summary.json @@ -16,7 +16,7 @@ "googleFonts": 1934, "curatedIcons": 105, "upstreamPhosphorIcons": 1512, - "uxGuidelines": 130, + "uxGuidelines": 141, "motionPresets": 17, "chartTypes": 25, "stacks": 22, diff --git a/src/ui-ux-pro-max/data/data-provenance.json b/src/ui-ux-pro-max/data/data-provenance.json index e38a465..aa254ae 100644 --- a/src/ui-ux-pro-max/data/data-provenance.json +++ b/src/ui-ux-pro-max/data/data-provenance.json @@ -6,6 +6,84 @@ "needs-reviewDays": 90 }, "records": [ + { + "entityKind": "dataset-contract", + "entityId": "form-error-handling-behavior", + "sourceFile": "ux-guidelines.csv", + "sourceKey": { + "Scope": "No 35 and 131-141; Category, Issue, Platform, Description, Do, Don't, code-example, and Severity fields", + "Boundary": "Sources disagree on validation timing: Baymard re-checks a field that already shows an error while the user types, the Ontario Design System re-validates on blur, and GOV.UK validates on submit. Rows 131-132 only require that an error never appears before the user has entered data and never outlives its cause. Row 138 restates a WCAG 3 working-draft supplemental requirement (status developing) and the WCAG 2.2 Understanding note on timed messages; it is not a WCAG 2.2 success criterion. Row 133 leaves secret fields such as passwords to the product's security policy. Row 141 follows the WAI-ARIA APG modal dialog pattern and does not assert native dialog behavior. Row 35 changes only its good code example." + }, + "status": "active", + "verifiedAt": "2026-11-21", + "sla": "needs-review", + "appliesTo": [ + "search", + "design-guidance" + ], + "sources": [ + { + "type": "official", + "ref": "https://baymard.com/blog/inline-form-validation" + }, + { + "type": "official", + "ref": "https://designsystem.ontario.ca/components/detail/live-validation.html" + }, + { + "type": "official", + "ref": "https://design-system.service.gov.uk/patterns/validation/" + }, + { + "type": "official", + "ref": "https://design-system.service.gov.uk/components/error-message/" + }, + { + "type": "official", + "ref": "https://design-system.service.gov.uk/components/button/" + }, + { + "type": "official", + "ref": "https://www.nngroup.com/articles/error-message-guidelines/" + }, + { + "type": "official", + "ref": "https://www.nngroup.com/articles/ten-usability-heuristics/" + }, + { + "type": "official", + "ref": "https://www.nngroup.com/articles/confirmation-dialog/" + }, + { + "type": "official", + "ref": "https://github.com/vercel-labs/web-interface-guidelines" + }, + { + "type": "official", + "ref": "https://github.com/w3c/wcag3/blob/main/guidelines/groups/error-handling/correct-errors/error-messages-persistent.md" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/timing-adjustable.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/error-suggestion.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/WCAG22/Understanding/error-prevention-legal-financial-data.html" + }, + { + "type": "official", + "ref": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/" + } + ] + }, { "entityKind": "dataset-contract", "entityId": "map-ux-guidelines", diff --git a/src/ui-ux-pro-max/data/ux-guidelines.csv b/src/ui-ux-pro-max/data/ux-guidelines.csv index 0a02d0b..5c03eb6 100644 --- a/src/ui-ux-pro-max/data/ux-guidelines.csv +++ b/src/ui-ux-pro-max/data/ux-guidelines.csv @@ -33,7 +33,7 @@ No,Category,Issue,Platform,Description,Do,Don't,Code Example Good,Code Example B 32,Interaction,Loading Buttons,All,Prevent double submission during async actions,Disable button and show loading state,Allow multiple clicks during processing,disabled={loading} spinner,Button clickable while loading,High 33,Interaction,Error Feedback,All,Users need to know when something fails,Show clear error messages near problem,Silent failures with no feedback,Red border + error message,No indication of error,High 34,Interaction,Success Feedback,All,Confirm successful actions to users,Show success message or visual change,No confirmation of completed action,Toast notification or checkmark,Action completes silently,Medium -35,Interaction,Confirmation Dialogs,All,Prevent accidental destructive actions,Confirm before delete/irreversible actions,Delete without confirmation,Are you sure modal,Direct delete on click,High +35,Interaction,Confirmation Dialogs,All,Prevent accidental destructive actions,Confirm before delete/irreversible actions,Delete without confirmation,Delete 'Q3 report'? dialog with Delete report and Keep report buttons,Direct delete on click,High 36,Accessibility,Color Contrast,All,Text must be readable against background,Minimum 4.5:1 ratio for normal text,Low contrast text,#333 on white (7:1),#999 on white (2.8:1),High 37,Accessibility,Color Only,All,Don't convey information by color alone,Use icons/text in addition to color,Red/green only for error/success,Red text + error icon,Red border only for error,High 38,Accessibility,Alt Text,All,Images need text alternatives,Descriptive alt text for meaningful images,Empty or missing alt attributes,alt='Dog playing in park',alt='' for content images,High @@ -129,3 +129,14 @@ No,Category,Issue,Platform,Description,Do,Don't,Code Example Good,Code Example B 128,Maps,Cluster Dense Map Points,Web,"Thousands of overlapping map point markers hide each other and slow map rendering at low zoom","Cluster points at low zoom with a count label, set clusterMaxZoom, and zoom into a cluster on click or Enter","Draw tens of thousands of individual or DOM markers at every zoom level","map.addSource('pts', {type: 'geojson', data: url, cluster: true, clusterMaxZoom: 14, clusterRadius: 50})","map.addSource('pts', {type: 'geojson', data: url}) // 200k overlapping circles",Medium 129,Maps,Large Geodata as Vector Tiles,Web,"Very large GeoJSON map layers are downloaded, parsed and tiled in the browser, which freezes the map on load","Serve large map datasets as vector tiles (MVT or PMTiles) and keep GeoJSON slim: drop unused properties, round coordinates and simplify geometry","Load a multi-megabyte GeoJSON file with every attribute into the browser","map.addSource('parcels', {type: 'vector', url: 'pmtiles://parcels.pmtiles'})","map.addSource('parcels', {type: 'geojson', data: 'all_parcels_450MB.geojson'})",Medium 130,Maps,Map Camera Reduced Motion,Web,"Animated map camera moves such as flyTo tours, spinning globes and looping map animations can trigger vestibular symptoms","Keep MapLibre and Mapbox camera moves non-essential so the library skips them under prefers-reduced-motion; check prefers-reduced-motion yourself for custom loops (globe spin, Leaflet flyTo, deck.gl or Cesium flights) and jump instead of fly; give continuous map animation a pause control","Mark decorative flights essential: true or start a requestAnimationFrame camera loop regardless of the motion setting","if (!matchMedia('(prefers-reduced-motion: reduce)').matches) requestAnimationFrame(spinGlobe); map.flyTo({center, zoom})","map.flyTo({center, zoom, essential: true}); requestAnimationFrame(spinGlobe)",Medium +131,Forms,Clear Errors After Correction,All,An error that stays after the field is corrected makes valid input look wrong; remove the message once the value is valid,"Once a field shows an error re-check it on input (at the latest on blur) and remove the message, error styling and aria-invalid the moment it passes; re-check dependent fields such as a password confirmation; on resubmit revalidate every field and drop stale error summary items",Leave a corrected error on screen until the next submit or until focus leaves the field,"input.addEventListener('input', () => { if (input.getAttribute('aria-invalid') === 'true' && isValid(input.value)) clearError(input); });",Errors recomputed only in onSubmit so the corrected field stays red,High +132,Forms,Premature Validation,All,"Showing an error before the user finishes typing, or when they only tab past an empty field, says they are wrong too early",Validate a field after the user has entered something and leaves it; report empty required fields on submit; keep as-you-type feedback for rules people need while typing such as password requirements or character limits,"Validate on focus, on the first keystrokes of a new entry, or when an untouched empty field loses focus",onBlur: if (value.trim() !== '') validateField(name); onSubmit: validateAll();,onFocus or first onChange: showError('Email is invalid'),Medium +133,Forms,Preserve Input After Failed Submit,All,Clearing or resetting the form after a validation or server error loses the user's input and forces re-entry,"Show the form again with every value as the user entered it, both passing and failing (secret fields such as passwords may be left empty); mark only the fields that need changes","Call form.reset(), clear the failing fields, or reload an empty form after a validation or server error",catch (err) { setFieldErrors(err.fieldErrors); } // entered values stay in form state,catch (err) { form.reset(); toast('Error'); },High +134,Forms,Submit Button Not Pre-Disabled,All,"A submit button disabled until the form is valid hides what is missing, and disabled buttons have poor contrast","Keep submit enabled and validate on click so the errors show what to fix; disable it only while the request is in flight, with a spinner, and send an idempotency key so a double click creates one record","Disable submit until every field passes, or leave it clickable with no in-flight guard","","",Medium +135,Forms,Unsaved Changes Warning,All,"Leaving a page, closing a dialog or pressing Cancel with unsaved changes silently discards the user's edits","Track a dirty state; while it is set ask before leaving through a router guard, beforeunload for tab close, or the dialog close handler, with clear choices such as Discard changes and Keep editing; skip the prompt when nothing changed or after a successful save","Drop edits without warning, or prompt on every navigation even when nothing changed","window.addEventListener('beforeunload', e => { if (isDirty) { e.preventDefault(); e.returnValue = ''; } });",onCancel={() => router.push('/list')} // unsaved edits are lost,High +136,Forms,Forgiving Input Formats,All,"Rejecting valid names, phone numbers or codes over spaces, hyphens, accents or apostrophes creates errors users cannot fix","Normalize before validating: trim leading and trailing whitespace, ignore spaces, hyphens and brackets in numbers and codes, and accept names with accents, hyphens and apostrophes; reject only values that are wrong or ambiguous","Restrict names to A-Z, reject a phone number typed with spaces, or fail a pasted value because of a trailing space","const digits = value.replace(/[\s()-]/g, ''); // then validate digits","",Medium +137,Forms,Never Block Paste,All,Blocking paste forces retyping and breaks password managers and pasted one-time codes,"Allow paste in every input and textarea, including password, email confirmation and verification code fields; validate the pasted value instead",Cancel paste or drop events to force manual typing,"", e.preventDefault()}>,Medium +138,Feedback,Persistent Error Messages,All,"An error message that disappears on a timer, such as an auto-dismissing toast, can vanish before the user reads it or fixes the problem",Keep each error visible until its cause is resolved or the user dismisses it; show form and action errors inline or in a dismissible alert; auto-dismiss only non-critical confirmations that can also be found elsewhere,"Report a failed save, payment or validation only in a toast that closes after a few seconds","
Payment failed. Check the card number and try again.
","toast.error('Save failed', { duration: 3000 })",High +139,Feedback,Actionable Error Messages,All,"An error message such as 'Invalid input', 'Something went wrong' or a raw code does not say in plain language what happened or how to fix it",State what went wrong and how to fix it; reuse the wording of the field label and give the expected format; use the same text inline and in the error summary,"Show raw error codes, stack traces or server messages, blame the user, or use vague text such as 'Invalid' or 'This field is required'",Label: Card number / Error: Enter the 16-digit number on the front of your card,Error 0x0000000643: invalid input,Medium +140,Interaction,Undo for Reversible Actions,All,Routine confirmation dialogs such as 'Are you sure?' get clicked through by habit; an undo window keeps reversible actions fast and recoverable,"Apply routine reversible actions such as archive, move or remove at once and offer Undo; keep confirmation for actions that cannot be undone and make it specific with the item name and buttons such as Delete file and Keep file","Ask 'Are you sure?' with Yes and No before every routine action, or delete permanently with neither confirmation nor Undo",Archived 'Q3 report' [Undo],if (confirm('Are you sure?')) archive(item);,Medium +141,Accessibility,Modal Dialog Focus,Web,"A modal dialog must move focus inside on open, trap Tab while open and return focus to its opener on close","Move focus into the dialog when it opens; keep Tab and Shift+Tab inside while it is open; close it with Escape; on close return focus to the control that opened it, or to the next logical element if that control is gone","Leave focus on the page behind the dialog, let Tab reach background content, or reset focus to the top of the page after closing","dialog.showModal(); dialog.addEventListener('close', () => opener.focus());","
with no focus move or Escape handling",High diff --git a/src/ui-ux-pro-max/scripts/tests/fixtures/relevance-thresholds.json b/src/ui-ux-pro-max/scripts/tests/fixtures/relevance-thresholds.json index e59d298..008ebb4 100644 --- a/src/ui-ux-pro-max/scripts/tests/fixtures/relevance-thresholds.json +++ b/src/ui-ux-pro-max/scripts/tests/fixtures/relevance-thresholds.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "status": "provisional-baseline-regression-gate", "baselineRevision": "97eb2a2", - "runtimeFingerprint": "83b21bffd0822e261ae931b4453ec62a8ce7d4c0fea6335f0d9235f862732773", + "runtimeFingerprint": "e074c9b35d8385e2fb8ce6ba42ac1f9d225c93a982c1dbfc55da9b18a3f1ac73", "oracleFingerprint": "02e7226428c64a995ec24ae104ce4d186f5f91bf0f062556e90ef9b0fcb6d67a", "approvingMaintainer": "repository maintainer approved Phase 1 testing checkpoint; second judgment review remains required before final-target promotion", "units": "All metrics are ratios in [0,1]. Precision treats missing ranks as non-relevant. Negative abstention is measured across the hard-negative by domain/stack cross-product.", diff --git a/src/ui-ux-pro-max/scripts/tests/test_form_error_handling.py b/src/ui-ux-pro-max/scripts/tests/test_form_error_handling.py new file mode 100644 index 0000000..1692ac3 --- /dev/null +++ b/src/ui-ux-pro-max/scripts/tests/test_form_error_handling.py @@ -0,0 +1,92 @@ +"""Retrieve the form error-handling guidelines and keep generic queries on generic rows.""" + +import csv +from pathlib import Path +import sys +import unittest + +SCRIPTS = Path(__file__).resolve().parent.parent +sys.path.insert(0, str(SCRIPTS)) +from core import search # noqa: E402 + +DATA = SCRIPTS.parent / "data" + +FORM_QUERIES = { + "error message clears after correction": "Clear Errors After Correction", + "premature validation": "Premature Validation", + "form cleared after failed submit": "Preserve Input After Failed Submit", + "disabled submit button until valid": "Submit Button Not Pre-Disabled", + "unsaved changes warning": "Unsaved Changes Warning", + "reject valid phone number with spaces": "Forgiving Input Formats", + "block paste password": "Never Block Paste", + "error toast disappears": "Persistent Error Messages", + "invalid input error code": "Actionable Error Messages", + "undo instead of confirmation": "Undo for Reversible Actions", + "modal focus trap return focus": "Modal Dialog Focus", +} + +# Generic questions must keep returning the general guideline first. +GENERIC_QUERIES = { + "inline validation": "Inline Validation", + "error placement": "Error Placement", + "error messages": "Error Messages", + "confirmation dialogs": "Confirmation Dialogs", + "loading buttons": "Loading Buttons", + "toast notifications": "Toast Notifications", + "focus states": "Focus States", + "disabled states": "Disabled States", +} + + +def ux_rows(): + with (DATA / "ux-guidelines.csv").open(encoding="utf-8", newline="") as handle: + return list(csv.DictReader(handle)) + + +class TestFormErrorHandling(unittest.TestCase): + def test_form_queries_retrieve_the_new_row_first(self): + for query, issue in FORM_QUERIES.items(): + with self.subTest(query=query): + result = search(query, domain="ux", max_results=3) + self.assertEqual(issue, result["results"][0]["Issue"]) + + def test_generic_queries_keep_the_generic_row_first(self): + for query, issue in GENERIC_QUERIES.items(): + with self.subTest(query=query): + result = search(query, domain="ux", max_results=3) + self.assertEqual(issue, result["results"][0]["Issue"]) + + def test_form_rows_are_complete(self): + rows = {row["Issue"]: row for row in ux_rows()} + for issue in FORM_QUERIES.values(): + with self.subTest(issue=issue): + row = rows[issue] + self.assertIn(row["Platform"], {"All", "Web"}) + self.assertIn(row["Severity"], {"Critical", "High", "Medium"}) + for field in ("Description", "Do", "Don't", + "Code Example Good", "Code Example Bad"): + self.assertTrue(row[field].strip(), field) + + def test_confirmation_example_names_the_outcome(self): + row, = [row for row in ux_rows() if row["Issue"] == "Confirmation Dialogs"] + self.assertNotIn("are you sure", row["Code Example Good"].casefold()) + + def test_quick_references_include_the_form_rules(self): + repo = next((parent for parent in SCRIPTS.parents + if (parent / "src/ui-ux-pro-max/templates/base").is_dir()), None) + if not repo: + self.skipTest("Repository quick references are not installed with scripts") + for relative in ( + Path("src/ui-ux-pro-max/templates/base/quick-reference.md"), + Path("cli/assets/templates/base/quick-reference.md"), + Path(".claude", "skills", "ui-ux-pro-max", "references", "quick-reference.md"), + ): + with self.subTest(path=relative): + text = (repo / relative).read_text(encoding="utf-8") + for rule_id in ("`error-clears-on-fix`", "`keep-input-on-error`", + "`unsaved-changes-guard`", "`dialog-focus`"): + self.assertTrue(rule_id in text, f"{rule_id} missing from {relative}") + + +if __name__ == "__main__": + unittest.main() diff --git a/src/ui-ux-pro-max/scripts/validate_data.py b/src/ui-ux-pro-max/scripts/validate_data.py index e32e18a..e3ff944 100644 --- a/src/ui-ux-pro-max/scripts/validate_data.py +++ b/src/ui-ux-pro-max/scripts/validate_data.py @@ -111,6 +111,9 @@ OFFICIAL_SOURCE_HOSTS = { "cheatsheetseries.owasp.org", "docs.mapbox.com", "earthobservatory.nasa.gov", "leafletjs.com", "maplibre.org", "osmfoundation.org", "pro.arcgis.com", + # UX research publishers and a government design system cited by the + # form error-handling guidelines. + "baymard.com", "designsystem.ontario.ca", "www.nngroup.com", } STACK_OFFICIAL_HOSTS = { "react": {"react.dev"}, diff --git a/src/ui-ux-pro-max/templates/base/quick-reference.md b/src/ui-ux-pro-max/templates/base/quick-reference.md index deec912..654508b 100644 --- a/src/ui-ux-pro-max/templates/base/quick-reference.md +++ b/src/ui-ux-pro-max/templates/base/quick-reference.md @@ -244,6 +244,15 @@ - `aria-live-errors` - Form errors use aria-live region or role="alert" to notify screen readers (WCAG) - `contrast-feedback` - Error and success state colors must meet 4.5:1 contrast ratio (WCAG, MD) - `timeout-feedback` - Request timeout must show clear feedback with retry option (MD) +- `error-clears-on-fix` - Remove a field's error message, error styling and aria-invalid as soon as the value is valid; once a field shows an error re-check it on input, and drop stale summary items on resubmit (Baymard, WCAG 3 draft) +- `no-premature-validation` - Do not flag a field before the user has entered something and left it; report empty required fields on submit (Baymard, NN/g, GOV.UK) +- `keep-input-on-error` - A failed submit shows the form again with every entered value, passing and failing; never reset or clear it (GOV.UK, NN/g) +- `submit-not-pre-disabled` - Keep submit enabled and show what to fix on click; disable it only while the request is in flight, with an idempotency key (Vercel, GOV.UK) +- `unsaved-changes-guard` - Ask before leaving, closing or cancelling with unsaved edits, and never when nothing changed (Vercel) +- `forgiving-formats` - Trim whitespace, ignore spaces, hyphens and brackets in numbers and codes, and accept accents and apostrophes in names (GOV.UK, Vercel) +- `allow-paste` - Never block paste, including password, confirmation and one-time-code fields (Vercel) +- `persistent-errors` - Errors stay until fixed or dismissed; auto-dismissing toasts are only for non-critical confirmations (WCAG) +- `dialog-focus` - Move focus into a modal on open, keep Tab inside, close on Escape and return focus to the opener on close (WAI-ARIA APG) ### 9. Navigation Patterns (HIGH) diff --git a/src/ui-ux-pro-max/templates/platforms/agent.json b/src/ui-ux-pro-max/templates/platforms/agent.json index dd4185b..6f0b181 100755 --- a/src/ui-ux-pro-max/templates/platforms/agent.json +++ b/src/ui-ux-pro-max/templates/platforms/agent.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/amazonq.json b/src/ui-ux-pro-max/templates/platforms/amazonq.json index 4eaaf31..da507d5 100644 --- a/src/ui-ux-pro-max/templates/platforms/amazonq.json +++ b/src/ui-ux-pro-max/templates/platforms/amazonq.json @@ -14,6 +14,6 @@ "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/augment.json b/src/ui-ux-pro-max/templates/platforms/augment.json index 0d699b1..4d2afc5 100644 --- a/src/ui-ux-pro-max/templates/platforms/augment.json +++ b/src/ui-ux-pro-max/templates/platforms/augment.json @@ -13,6 +13,6 @@ "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/autoclaw.json b/src/ui-ux-pro-max/templates/platforms/autoclaw.json index 8bab5a2..678428b 100644 --- a/src/ui-ux-pro-max/templates/platforms/autoclaw.json +++ b/src/ui-ux-pro-max/templates/platforms/autoclaw.json @@ -11,12 +11,12 @@ "scriptPath": "ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/claude.json b/src/ui-ux-pro-max/templates/platforms/claude.json index b6c00db..b2b4e5e 100644 --- a/src/ui-ux-pro-max/templates/platforms/claude.json +++ b/src/ui-ux-pro-max/templates/platforms/claude.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": true }, "title": "UI/UX Pro Max - Design Intelligence", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/codebuddy.json b/src/ui-ux-pro-max/templates/platforms/codebuddy.json index 87a0895..be28786 100644 --- a/src/ui-ux-pro-max/templates/platforms/codebuddy.json +++ b/src/ui-ux-pro-max/templates/platforms/codebuddy.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/codewhale.json b/src/ui-ux-pro-max/templates/platforms/codewhale.json index 3b9b47c..7f31cf9 100644 --- a/src/ui-ux-pro-max/templates/platforms/codewhale.json +++ b/src/ui-ux-pro-max/templates/platforms/codewhale.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/codex.json b/src/ui-ux-pro-max/templates/platforms/codex.json index 496145b..400c9da 100644 --- a/src/ui-ux-pro-max/templates/platforms/codex.json +++ b/src/ui-ux-pro-max/templates/platforms/codex.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": true }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/continue.json b/src/ui-ux-pro-max/templates/platforms/continue.json index 52ea025..beba948 100644 --- a/src/ui-ux-pro-max/templates/platforms/continue.json +++ b/src/ui-ux-pro-max/templates/platforms/continue.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/copilot.json b/src/ui-ux-pro-max/templates/platforms/copilot.json index 4a024b4..3a2f153 100755 --- a/src/ui-ux-pro-max/templates/platforms/copilot.json +++ b/src/ui-ux-pro-max/templates/platforms/copilot.json @@ -11,12 +11,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/cursor.json b/src/ui-ux-pro-max/templates/platforms/cursor.json index ff075c0..916f03d 100755 --- a/src/ui-ux-pro-max/templates/platforms/cursor.json +++ b/src/ui-ux-pro-max/templates/platforms/cursor.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/droid.json b/src/ui-ux-pro-max/templates/platforms/droid.json index b07b309..0e38a3e 100644 --- a/src/ui-ux-pro-max/templates/platforms/droid.json +++ b/src/ui-ux-pro-max/templates/platforms/droid.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "UI/UX Pro Max - Design Intelligence", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/gemini.json b/src/ui-ux-pro-max/templates/platforms/gemini.json index 320cf0a..47a654b 100644 --- a/src/ui-ux-pro-max/templates/platforms/gemini.json +++ b/src/ui-ux-pro-max/templates/platforms/gemini.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/kilocode.json b/src/ui-ux-pro-max/templates/platforms/kilocode.json index 865ed3d..6dfc405 100644 --- a/src/ui-ux-pro-max/templates/platforms/kilocode.json +++ b/src/ui-ux-pro-max/templates/platforms/kilocode.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/kimi.json b/src/ui-ux-pro-max/templates/platforms/kimi.json index 08c8be0..029ed92 100644 --- a/src/ui-ux-pro-max/templates/platforms/kimi.json +++ b/src/ui-ux-pro-max/templates/platforms/kimi.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/kiro.json b/src/ui-ux-pro-max/templates/platforms/kiro.json index 7e2b56c..dfcea40 100755 --- a/src/ui-ux-pro-max/templates/platforms/kiro.json +++ b/src/ui-ux-pro-max/templates/platforms/kiro.json @@ -10,12 +10,12 @@ "scriptPath": "steering/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Workflow" } diff --git a/src/ui-ux-pro-max/templates/platforms/openclaw.json b/src/ui-ux-pro-max/templates/platforms/openclaw.json index d5f07d2..e99c3e9 100644 --- a/src/ui-ux-pro-max/templates/platforms/openclaw.json +++ b/src/ui-ux-pro-max/templates/platforms/openclaw.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/opencode.json b/src/ui-ux-pro-max/templates/platforms/opencode.json index 542cc50..511070d 100644 --- a/src/ui-ux-pro-max/templates/platforms/opencode.json +++ b/src/ui-ux-pro-max/templates/platforms/opencode.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/qoder.json b/src/ui-ux-pro-max/templates/platforms/qoder.json index d41ce40..b7265f1 100644 --- a/src/ui-ux-pro-max/templates/platforms/qoder.json +++ b/src/ui-ux-pro-max/templates/platforms/qoder.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/roocode.json b/src/ui-ux-pro-max/templates/platforms/roocode.json index fa2e84e..019e509 100755 --- a/src/ui-ux-pro-max/templates/platforms/roocode.json +++ b/src/ui-ux-pro-max/templates/platforms/roocode.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Workflow" } diff --git a/src/ui-ux-pro-max/templates/platforms/trae.json b/src/ui-ux-pro-max/templates/platforms/trae.json index 0b4b024..b0a781e 100644 --- a/src/ui-ux-pro-max/templates/platforms/trae.json +++ b/src/ui-ux-pro-max/templates/platforms/trae.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/universal.json b/src/ui-ux-pro-max/templates/platforms/universal.json index 2c2e09c..d8f5f23 100644 --- a/src/ui-ux-pro-max/templates/platforms/universal.json +++ b/src/ui-ux-pro-max/templates/platforms/universal.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/warp.json b/src/ui-ux-pro-max/templates/platforms/warp.json index 7536262..a2fb0c2 100644 --- a/src/ui-ux-pro-max/templates/platforms/warp.json +++ b/src/ui-ux-pro-max/templates/platforms/warp.json @@ -13,6 +13,6 @@ "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/windsurf.json b/src/ui-ux-pro-max/templates/platforms/windsurf.json index 16c0b10..b207522 100755 --- a/src/ui-ux-pro-max/templates/platforms/windsurf.json +++ b/src/ui-ux-pro-max/templates/platforms/windsurf.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/src/ui-ux-pro-max/templates/platforms/zcode.json b/src/ui-ux-pro-max/templates/platforms/zcode.json index 8c7fa1f..4fbb1cc 100644 --- a/src/ui-ux-pro-max/templates/platforms/zcode.json +++ b/src/ui-ux-pro-max/templates/platforms/zcode.json @@ -10,12 +10,12 @@ "scriptPath": "skills/ui-ux-pro-max/scripts/search.py", "frontmatter": { "name": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks." }, "sections": { "quickReference": false }, "title": "ui-ux-pro-max", - "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 130 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", + "description": "UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.", "skillOrWorkflow": "Skill" } diff --git a/stack/README.md b/stack/README.md index 537bb5c..d1dc94e 100644 --- a/stack/README.md +++ b/stack/README.md @@ -13,7 +13,7 @@ design is missing: a **knowledge** layer, a **taste** layer, and a **visual feed | Layer | Tool | What it adds | |-------|------|--------------| -| 🧠 **Knowledge** | [`ui-ux-pro-max`](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | 80 searchable UI styles, 194 color palettes, 74 font pairings, 130 UX rules, Core Web Vitals, 22 stacks — searchable, turned into a concrete design system | +| 🧠 **Knowledge** | [`ui-ux-pro-max`](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | 80 searchable UI styles, 194 color palettes, 74 font pairings, 141 UX rules, Core Web Vitals, 22 stacks — searchable, turned into a concrete design system | | 🎨 **Taste** | [`frontend-design`](https://github.com/anthropics/claude-code/tree/main/plugins/frontend-design) (official Anthropic) | Forces a real aesthetic commitment before any CSS; kills "AI slop" defaults | | 🧩 **Components** | [`shadcn` MCP](https://ui.shadcn.com/docs/mcp) | Search/add production components by natural language | | 👁️ **Visual feedback** | [`@playwright/mcp`](https://github.com/microsoft/playwright-mcp) + [`chrome-devtools-mcp`](https://github.com/ChromeDevTools/chrome-devtools-mcp) | Claude opens a real browser, screenshots, reads the console, exercises states, and fixes what it sees | diff --git a/stack/docs/STACK.md b/stack/docs/STACK.md index 2122109..c1c1845 100644 --- a/stack/docs/STACK.md +++ b/stack/docs/STACK.md @@ -13,7 +13,7 @@ AI design fails in three predictable ways. Each layer of this stack fixes one. ## 🧠 Knowledge — `ui-ux-pro-max` A searchable design-intelligence toolkit: **80 searchable UI styles, 194 color palettes, 74 font -pairings, 130 UX guidelines, 25 chart types, a Core Web Vitals dataset, and 22 tech stacks**, +pairings, 141 UX guidelines, 25 chart types, a Core Web Vitals dataset, and 22 tech stacks**, plus a design-system generator that turns a product brief into concrete tokens. It's the answer to "what should this actually look like, and what are the anti-patterns?"