@thanhnguyxn/pixelcraft 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/plugins/marketplace.json +20 -0
- package/.claude-plugin/marketplace.json +20 -0
- package/.claude-plugin/plugin.json +11 -0
- package/LICENSE +21 -0
- package/README.md +407 -2
- package/assets/README.md +28 -0
- package/assets/pixelcraft-logo-512.png +0 -0
- package/bin/pixelcraft.mjs +444 -0
- package/docs/ARCHITECTURE.md +102 -0
- package/docs/DESIGN-RATIONALE.md +143 -0
- package/evals/README.md +27 -0
- package/evals/fixtures/README.md +36 -0
- package/evals/fixtures/direction-prototype-complexity.json +29 -0
- package/evals/fixtures/finish-gate-anti-slop.json +30 -0
- package/evals/fixtures/forms-accessibility-negative.json +29 -0
- package/evals/fixtures/handoff-fidelity-tolerance.json +29 -0
- package/evals/fixtures/plan-brownfield-evidence.json +28 -0
- package/evals/fixtures/visual-qa-task-evidence.json +29 -0
- package/evals/fixtures/workflow-checkpoints.json +30 -0
- package/evals/pixelcraft-accessibility.md +57 -0
- package/evals/pixelcraft-brandkit.md +58 -0
- package/evals/pixelcraft-chat-ui.md +55 -0
- package/evals/pixelcraft-constrained.md +55 -0
- package/evals/pixelcraft-craft.md +60 -0
- package/evals/pixelcraft-data-apps.md +55 -0
- package/evals/pixelcraft-dataviz.md +59 -0
- package/evals/pixelcraft-desktop.md +55 -0
- package/evals/pixelcraft-direction.md +60 -0
- package/evals/pixelcraft-document.md +55 -0
- package/evals/pixelcraft-email.md +55 -0
- package/evals/pixelcraft-extensions.md +55 -0
- package/evals/pixelcraft-game-ui.md +59 -0
- package/evals/pixelcraft-handoff.md +57 -0
- package/evals/pixelcraft-media.md +55 -0
- package/evals/pixelcraft-mobile.md +59 -0
- package/evals/pixelcraft-patterns.md +57 -0
- package/evals/pixelcraft-plan.md +65 -0
- package/evals/pixelcraft-review.md +63 -0
- package/evals/pixelcraft-spatial.md +55 -0
- package/evals/pixelcraft-tokens.md +57 -0
- package/evals/pixelcraft-tui.md +55 -0
- package/evals/pixelcraft-ux.md +59 -0
- package/evals/pixelcraft-visual-qa.md +80 -0
- package/evals/pixelcraft-web.md +71 -0
- package/evals/pixelcraft.md +70 -0
- package/gemini-extension.json +5 -0
- package/install.ps1 +295 -0
- package/install.sh +437 -0
- package/package.json +63 -4
- package/plugin.json +24 -0
- package/scripts/build-adapters.mjs +290 -0
- package/scripts/build-release-archives.mjs +61 -0
- package/scripts/build-skill-zips.mjs +94 -0
- package/scripts/test-build-adapters.mjs +48 -0
- package/scripts/test-distribution.mjs +124 -0
- package/scripts/test-export-tokens.mjs +105 -0
- package/scripts/test-finish-gate.mjs +148 -0
- package/scripts/test-installers.mjs +67 -0
- package/scripts/test-release-archives.mjs +42 -0
- package/scripts/test-shoot.mjs +65 -0
- package/scripts/test-slop-scan.mjs +29 -0
- package/scripts/test-style-inventory.mjs +211 -0
- package/scripts/test-validate-skills.mjs +117 -0
- package/scripts/validate-skills.mjs +512 -0
- package/skills/pixelcraft/SKILL.md +135 -0
- package/skills/pixelcraft/references/design-brief.md +75 -0
- package/skills/pixelcraft/references/floor.md +73 -0
- package/skills/pixelcraft/references/report-template.md +35 -0
- package/skills/pixelcraft/references/stack-detection.md +155 -0
- package/skills/pixelcraft/references/surface-acceptance.md +40 -0
- package/skills/pixelcraft/references/workflow-checkpoints.md +29 -0
- package/skills/pixelcraft-accessibility/SKILL.md +33 -0
- package/skills/pixelcraft-accessibility/references/apg-patterns.md +51 -0
- package/skills/pixelcraft-accessibility/references/platforms.md +58 -0
- package/skills/pixelcraft-accessibility/references/verification.md +59 -0
- package/skills/pixelcraft-accessibility/references/wcag22-checks.md +66 -0
- package/skills/pixelcraft-brandkit/SKILL.md +115 -0
- package/skills/pixelcraft-brandkit/references/asset-pipeline.md +125 -0
- package/skills/pixelcraft-brandkit/references/brand-governance.md +80 -0
- package/skills/pixelcraft-brandkit/references/layouts.md +88 -0
- package/skills/pixelcraft-brandkit/references/logo-concepting.md +83 -0
- package/skills/pixelcraft-brandkit/references/logo-methods.md +98 -0
- package/skills/pixelcraft-brandkit/references/pixel-art-logos.md +82 -0
- package/skills/pixelcraft-brandkit/references/prompt-template.md +85 -0
- package/skills/pixelcraft-brandkit/references/qa-checklist.md +88 -0
- package/skills/pixelcraft-brandkit/references/visual-modes.md +123 -0
- package/skills/pixelcraft-chat-ui/SKILL.md +53 -0
- package/skills/pixelcraft-chat-ui/references/conversation-design.md +78 -0
- package/skills/pixelcraft-chat-ui/references/mobile-business-platforms.md +87 -0
- package/skills/pixelcraft-chat-ui/references/slack-discord.md +96 -0
- package/skills/pixelcraft-constrained/SKILL.md +51 -0
- package/skills/pixelcraft-constrained/references/specialized-hardware.md +66 -0
- package/skills/pixelcraft-constrained/references/tv-wearables.md +84 -0
- package/skills/pixelcraft-constrained/references/voice-ui.md +63 -0
- package/skills/pixelcraft-craft/SKILL.md +44 -0
- package/skills/pixelcraft-craft/references/color.md +69 -0
- package/skills/pixelcraft-craft/references/imagery-icons.md +37 -0
- package/skills/pixelcraft-craft/references/layout-quality.md +65 -0
- package/skills/pixelcraft-craft/references/layout.md +41 -0
- package/skills/pixelcraft-craft/references/motion.md +76 -0
- package/skills/pixelcraft-craft/references/typography.md +71 -0
- package/skills/pixelcraft-data-apps/SKILL.md +67 -0
- package/skills/pixelcraft-data-apps/references/dash.md +53 -0
- package/skills/pixelcraft-data-apps/references/evidence.md +75 -0
- package/skills/pixelcraft-data-apps/references/gradio.md +65 -0
- package/skills/pixelcraft-data-apps/references/julia-genie.md +54 -0
- package/skills/pixelcraft-data-apps/references/jupyter-widgets.md +53 -0
- package/skills/pixelcraft-data-apps/references/nicegui.md +63 -0
- package/skills/pixelcraft-data-apps/references/observable-framework.md +67 -0
- package/skills/pixelcraft-data-apps/references/panel.md +53 -0
- package/skills/pixelcraft-data-apps/references/r-shiny.md +54 -0
- package/skills/pixelcraft-data-apps/references/reflex.md +62 -0
- package/skills/pixelcraft-data-apps/references/shiny.md +53 -0
- package/skills/pixelcraft-data-apps/references/streamlit.md +65 -0
- package/skills/pixelcraft-dataviz/SKILL.md +63 -0
- package/skills/pixelcraft-dataviz/references/chart-choice.md +55 -0
- package/skills/pixelcraft-dataviz/references/color-accessibility.md +112 -0
- package/skills/pixelcraft-dataviz/references/encoding-tables-dashboards.md +97 -0
- package/skills/pixelcraft-dataviz/references/libraries.md +57 -0
- package/skills/pixelcraft-dataviz/references/realtime-graphs-maps-scale.md +99 -0
- package/skills/pixelcraft-desktop/SKILL.md +71 -0
- package/skills/pixelcraft-desktop/references/appkit.md +58 -0
- package/skills/pixelcraft-desktop/references/avalonia.md +59 -0
- package/skills/pixelcraft-desktop/references/cpp-gui.md +52 -0
- package/skills/pixelcraft-desktop/references/electron.md +54 -0
- package/skills/pixelcraft-desktop/references/go-gui.md +54 -0
- package/skills/pixelcraft-desktop/references/gtk.md +54 -0
- package/skills/pixelcraft-desktop/references/javafx-swing.md +52 -0
- package/skills/pixelcraft-desktop/references/qt-pyside-qml.md +61 -0
- package/skills/pixelcraft-desktop/references/rust-gui.md +65 -0
- package/skills/pixelcraft-desktop/references/tauri.md +54 -0
- package/skills/pixelcraft-desktop/references/uno-platform.md +52 -0
- package/skills/pixelcraft-desktop/references/winui-wpf.md +58 -0
- package/skills/pixelcraft-desktop/references/working-context.md +5 -0
- package/skills/pixelcraft-direction/SKILL.md +154 -0
- package/skills/pixelcraft-direction/references/composition-library.md +84 -0
- package/skills/pixelcraft-direction/references/direction-card.md +54 -0
- package/skills/pixelcraft-direction/references/direction-scoring.md +72 -0
- package/skills/pixelcraft-direction/references/movements.md +68 -0
- package/skills/pixelcraft-direction/references/repetition-history.md +75 -0
- package/skills/pixelcraft-direction/references/slop-fingerprints.md +58 -0
- package/skills/pixelcraft-direction/references/wildcards.md +47 -0
- package/skills/pixelcraft-document/SKILL.md +54 -0
- package/skills/pixelcraft-document/references/archetypes.md +83 -0
- package/skills/pixelcraft-document/references/pdf-tools.md +154 -0
- package/skills/pixelcraft-document/references/print-css.md +134 -0
- package/skills/pixelcraft-document/references/slides.md +102 -0
- package/skills/pixelcraft-email/SKILL.md +58 -0
- package/skills/pixelcraft-email/references/client-quirks.md +45 -0
- package/skills/pixelcraft-email/references/html-tables.md +53 -0
- package/skills/pixelcraft-email/references/mjml.md +52 -0
- package/skills/pixelcraft-email/references/react-email.md +53 -0
- package/skills/pixelcraft-extensions/SKILL.md +51 -0
- package/skills/pixelcraft-extensions/references/browser-extensions.md +31 -0
- package/skills/pixelcraft-extensions/references/figma-office.md +23 -0
- package/skills/pixelcraft-extensions/references/raycast.md +19 -0
- package/skills/pixelcraft-extensions/references/vscode-webviews.md +26 -0
- package/skills/pixelcraft-game-ui/SKILL.md +61 -0
- package/skills/pixelcraft-game-ui/references/bevy.md +52 -0
- package/skills/pixelcraft-game-ui/references/godot.md +57 -0
- package/skills/pixelcraft-game-ui/references/hud-principles.md +38 -0
- package/skills/pixelcraft-game-ui/references/love2d.md +51 -0
- package/skills/pixelcraft-game-ui/references/monogame.md +52 -0
- package/skills/pixelcraft-game-ui/references/unity-ui-toolkit.md +65 -0
- package/skills/pixelcraft-game-ui/references/unreal-umg.md +53 -0
- package/skills/pixelcraft-handoff/SKILL.md +49 -0
- package/skills/pixelcraft-handoff/references/design-translation.md +104 -0
- package/skills/pixelcraft-handoff/references/fidelity-tolerance.md +78 -0
- package/skills/pixelcraft-media/SKILL.md +52 -0
- package/skills/pixelcraft-media/references/banners-video.md +112 -0
- package/skills/pixelcraft-media/references/og-generation.md +107 -0
- package/skills/pixelcraft-media/references/social-cards.md +72 -0
- package/skills/pixelcraft-mobile/SKILL.md +69 -0
- package/skills/pixelcraft-mobile/references/dotnet-maui.md +63 -0
- package/skills/pixelcraft-mobile/references/flet.md +53 -0
- package/skills/pixelcraft-mobile/references/flutter.md +69 -0
- package/skills/pixelcraft-mobile/references/ionic-capacitor.md +65 -0
- package/skills/pixelcraft-mobile/references/jetpack-compose.md +61 -0
- package/skills/pixelcraft-mobile/references/kivy.md +59 -0
- package/skills/pixelcraft-mobile/references/kotlin-multiplatform.md +60 -0
- package/skills/pixelcraft-mobile/references/react-native-expo.md +71 -0
- package/skills/pixelcraft-mobile/references/swiftui.md +70 -0
- package/skills/pixelcraft-mobile/references/task-state-composition.md +5 -0
- package/skills/pixelcraft-mobile/references/uikit.md +58 -0
- package/skills/pixelcraft-patterns/SKILL.md +58 -0
- package/skills/pixelcraft-patterns/references/auth-onboarding.md +25 -0
- package/skills/pixelcraft-patterns/references/commerce.md +28 -0
- package/skills/pixelcraft-patterns/references/communication.md +26 -0
- package/skills/pixelcraft-patterns/references/creative-tools.md +29 -0
- package/skills/pixelcraft-patterns/references/dashboard-admin.md +31 -0
- package/skills/pixelcraft-patterns/references/marketing.md +32 -0
- package/skills/pixelcraft-patterns/references/pattern-selection.md +74 -0
- package/skills/pixelcraft-patterns/references/search-filtering.md +42 -0
- package/skills/pixelcraft-patterns/references/settings.md +23 -0
- package/skills/pixelcraft-patterns/references/tables-crud.md +43 -0
- package/skills/pixelcraft-plan/SKILL.md +67 -0
- package/skills/pixelcraft-plan/references/design-input.md +69 -0
- package/skills/pixelcraft-plan/references/plan-template.md +99 -0
- package/skills/pixelcraft-plan/references/repo-discovery.md +42 -0
- package/skills/pixelcraft-plan/references/stack-freshness.md +50 -0
- package/skills/pixelcraft-plan/references/stack-selection.md +42 -0
- package/skills/pixelcraft-review/SKILL.md +64 -0
- package/skills/pixelcraft-review/references/audit-report.md +50 -0
- package/skills/pixelcraft-review/references/critique-protocol.md +89 -0
- package/skills/pixelcraft-review/references/heuristics.md +18 -0
- package/skills/pixelcraft-review/references/personas.md +26 -0
- package/skills/pixelcraft-review/references/polish.md +38 -0
- package/skills/pixelcraft-review/scripts/fixtures/brand-critique-waivers.json +14 -0
- package/skills/pixelcraft-review/scripts/fixtures/brand-critique.css +18 -0
- package/skills/pixelcraft-review/scripts/fixtures/clean.html +43 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-after-block.css +4 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-at-rules.css +17 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-comments.css +10 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-html-quote-leak.html +12 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-invalid-replacements.css +27 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-nested-rules.css +19 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-not-visible-skip.css +8 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-outline-shorthands.css +11 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-and-border.css +15 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-last-wins.css +19 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-valid-replacements-extended.css +29 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-visible-no-replacement.css +3 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-visible-valid-replacements.css +9 -0
- package/skills/pixelcraft-review/scripts/fixtures/slop.html +28 -0
- package/skills/pixelcraft-review/scripts/slop-scan.mjs +586 -0
- package/skills/pixelcraft-spatial/SKILL.md +52 -0
- package/skills/pixelcraft-spatial/references/comfort-accessibility.md +98 -0
- package/skills/pixelcraft-spatial/references/platforms.md +77 -0
- package/skills/pixelcraft-tokens/SKILL.md +56 -0
- package/skills/pixelcraft-tokens/assets/tokens.example.json +71 -0
- package/skills/pixelcraft-tokens/assets/tokens.modes.example.json +47 -0
- package/skills/pixelcraft-tokens/references/adoption.md +55 -0
- package/skills/pixelcraft-tokens/references/format.md +54 -0
- package/skills/pixelcraft-tokens/references/governance.md +80 -0
- package/skills/pixelcraft-tokens/references/state-tokens.md +62 -0
- package/skills/pixelcraft-tokens/references/theme-presets.md +94 -0
- package/skills/pixelcraft-tokens/scripts/export-tokens.mjs +285 -0
- package/skills/pixelcraft-tui/SKILL.md +60 -0
- package/skills/pixelcraft-tui/references/bubbletea-lipgloss.md +60 -0
- package/skills/pixelcraft-tui/references/ink.md +60 -0
- package/skills/pixelcraft-tui/references/ratatui.md +62 -0
- package/skills/pixelcraft-tui/references/rich.md +62 -0
- package/skills/pixelcraft-tui/references/textual.md +67 -0
- package/skills/pixelcraft-ux/SKILL.md +46 -0
- package/skills/pixelcraft-ux/references/cognitive-walkthrough.md +70 -0
- package/skills/pixelcraft-ux/references/feedback-performance.md +30 -0
- package/skills/pixelcraft-ux/references/flows-ia.md +44 -0
- package/skills/pixelcraft-ux/references/forms.md +97 -0
- package/skills/pixelcraft-ux/references/i18n.md +183 -0
- package/skills/pixelcraft-ux/references/laws.md +18 -0
- package/skills/pixelcraft-ux/references/locale-test-matrix.md +60 -0
- package/skills/pixelcraft-ux/references/state-matrix.md +39 -0
- package/skills/pixelcraft-ux/references/usability-testing.md +84 -0
- package/skills/pixelcraft-ux/references/ux-writing.md +43 -0
- package/skills/pixelcraft-visual-qa/SKILL.md +82 -0
- package/skills/pixelcraft-visual-qa/references/baseline-governance.md +70 -0
- package/skills/pixelcraft-visual-qa/references/capture-desktop-game.md +38 -0
- package/skills/pixelcraft-visual-qa/references/capture-email.md +34 -0
- package/skills/pixelcraft-visual-qa/references/capture-mobile.md +35 -0
- package/skills/pixelcraft-visual-qa/references/capture-terminal.md +31 -0
- package/skills/pixelcraft-visual-qa/references/critique-rubric.md +71 -0
- package/skills/pixelcraft-visual-qa/references/finish-gate.md +35 -0
- package/skills/pixelcraft-visual-qa/references/measured-craft.md +30 -0
- package/skills/pixelcraft-visual-qa/references/performance-budgets.md +65 -0
- package/skills/pixelcraft-visual-qa/references/task-verification.md +81 -0
- package/skills/pixelcraft-visual-qa/scripts/finish-gate.mjs +135 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-aria-modal.html +19 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-audit.html +34 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-modal.html +17 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-deferred.js +1 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-edge.html +52 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.html +80 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.js +8 -0
- package/skills/pixelcraft-visual-qa/scripts/shoot.mjs +513 -0
- package/skills/pixelcraft-visual-qa/scripts/style-inventory.mjs +1154 -0
- package/skills/pixelcraft-web/SKILL.md +76 -0
- package/skills/pixelcraft-web/references/adaptive-layout.md +25 -0
- package/skills/pixelcraft-web/references/angular.md +61 -0
- package/skills/pixelcraft-web/references/astro.md +62 -0
- package/skills/pixelcraft-web/references/clojurescript.md +53 -0
- package/skills/pixelcraft-web/references/elm.md +53 -0
- package/skills/pixelcraft-web/references/fsharp-fable.md +53 -0
- package/skills/pixelcraft-web/references/html-css.md +88 -0
- package/skills/pixelcraft-web/references/htmx-alpine.md +53 -0
- package/skills/pixelcraft-web/references/java-web.md +52 -0
- package/skills/pixelcraft-web/references/kotlin-web.md +53 -0
- package/skills/pixelcraft-web/references/leptos-yew.md +54 -0
- package/skills/pixelcraft-web/references/lit-web-components.md +61 -0
- package/skills/pixelcraft-web/references/pwa.md +225 -0
- package/skills/pixelcraft-web/references/qwik.md +54 -0
- package/skills/pixelcraft-web/references/react-next.md +69 -0
- package/skills/pixelcraft-web/references/scala-laminar.md +53 -0
- package/skills/pixelcraft-web/references/server-rendered.md +71 -0
- package/skills/pixelcraft-web/references/solid.md +60 -0
- package/skills/pixelcraft-web/references/svelte.md +61 -0
- package/skills/pixelcraft-web/references/tailwind.md +73 -0
- package/skills/pixelcraft-web/references/vue-nuxt.md +62 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Locale rendering test matrix
|
|
2
|
+
|
|
3
|
+
Use this reference when internationalization is in scope. The goal is not to test every locale; it is to choose a small representative matrix that exposes different writing-system, directionality, segmentation, formatting, plural, input, and font-fallback risks.
|
|
4
|
+
|
|
5
|
+
## Representative matrix
|
|
6
|
+
|
|
7
|
+
Select rows relevant to the product audience, but do not claim international readiness from English plus pseudo-localization alone.
|
|
8
|
+
|
|
9
|
+
| Risk family | Representative locales/scripts | Concrete stress cases |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| Latin diacritics and compaction/expansion | Vietnamese, Polish, Czech, German, Finnish, Turkish | stacked/combining marks; uppercase diacritics; long compounds; locale-sensitive casing; contraction/expansion of short labels |
|
|
12
|
+
| Cyrillic/Greek | Russian, Ukrainian, Bulgarian, Greek | native alphabet casing/sorting; italic/font coverage; stress marks; final sigma handled by text engine |
|
|
13
|
+
| RTL and mixed direction | Arabic, Hebrew, Persian | mirrored layout; bidi isolation; native digits where appropriate; punctuation ownership; mixed usernames/URLs/numbers; IME/keyboard input |
|
|
14
|
+
| CJK | Simplified Chinese, Traditional Chinese, Japanese, Korean | locale-specific glyphs; line breaking/prohibition rules; punctuation compression; no-space scanning; IME composition; font fallback variance |
|
|
15
|
+
| Mainland Southeast Asian scripts | Thai, Lao, Khmer | dictionary-aware wrapping/selection; combining vowels/tone marks; no spaces between words; clipping in fixed line heights |
|
|
16
|
+
| Indic scripts | Hindi/Devanagari plus relevant Bengali/Tamil/Telugu/Kannada/Malayalam or other target script | reordering, conjuncts, matras, grapheme clusters, font shaping, caret movement, truncation by grapheme |
|
|
17
|
+
| Emoji and symbols | any target locale plus emoji-heavy input | ZWJ families/professions, flags, skin tones, variation selectors, keycaps, wide-cell terminal behavior |
|
|
18
|
+
| Plural/gender richness | Arabic, Polish, Russian, Czech, Irish or other audience-relevant examples | zero/one/two/few/many/other categories; gender/select agreement; unknown or large counts |
|
|
19
|
+
| Locale formatting | Germany, France, Japan, India, Arabic-locale examples, audience-specific regions | decimal/grouping separators, currency placement, calendars/time zones, 12/24-hour time, week start, list punctuation, collation |
|
|
20
|
+
| Pseudolocalized structural stress | pseudo-locale/RTL transform where supported | hard-coded strings, concatenation, missing boundaries, expansion clipping, incorrect mirroring, placeholder corruption |
|
|
21
|
+
|
|
22
|
+
## Minimum test data
|
|
23
|
+
|
|
24
|
+
Build fixtures using realistic content rather than repeating one glyph:
|
|
25
|
+
|
|
26
|
+
- short label, long sentence, and paragraph in each selected script;
|
|
27
|
+
- mixed-direction user-generated string containing a URL/handle/file name;
|
|
28
|
+
- plural counts `0`, `1`, `2` where meaningful, a few/many category value, a large formatted number, and an unknown/null count;
|
|
29
|
+
- localized date/time/currency/list examples;
|
|
30
|
+
- names/addresses that do not fit ASCII-only or given/family-name assumptions;
|
|
31
|
+
- emoji sequence and combining-mark sequence for truncation/caret tests;
|
|
32
|
+
- real translated copy where available plus deterministic pseudo-localized copy.
|
|
33
|
+
|
|
34
|
+
Do not use culturally inappropriate imagery, names, or stereotypes as filler. Synthetic fixtures must be marked synthetic.
|
|
35
|
+
|
|
36
|
+
## Verification procedure
|
|
37
|
+
|
|
38
|
+
For each selected row:
|
|
39
|
+
|
|
40
|
+
1. render the primary flow at the smallest supported geometry and typical geometry;
|
|
41
|
+
2. inspect shaping, clipping, line breaking, baseline/line-height behavior, font fallback, truncation, and text direction;
|
|
42
|
+
3. exercise input/paste/IME composition/autocomplete and validation errors;
|
|
43
|
+
4. verify plural/message output across count/gender/select cases;
|
|
44
|
+
5. verify dates, numbers, currency, lists, sorting/search, and collation with platform locale APIs;
|
|
45
|
+
6. test focus/order/navigation mirroring and bidi isolation in RTL rows;
|
|
46
|
+
7. inspect accessible names/status messages because concatenation errors often appear there first;
|
|
47
|
+
8. record actual locale/tag, font/runtime/platform, and evidence label.
|
|
48
|
+
|
|
49
|
+
## Failure classification
|
|
50
|
+
|
|
51
|
+
- **hard-coded string:** visible text does not change in pseudo-locale;
|
|
52
|
+
- **concatenation defect:** grammar/order cannot be fixed by translating the whole message;
|
|
53
|
+
- **layout defect:** clipping/overlap/target compression caused by expansion or line breaking;
|
|
54
|
+
- **font defect:** missing glyph, synthetic slant/bold, wrong regional glyph preference, baseline clipping;
|
|
55
|
+
- **segmentation defect:** caret/selection/wrapping/counting splits a grapheme or word incorrectly;
|
|
56
|
+
- **directionality defect:** wrong mirroring, punctuation jump, unreadable mixed-direction string;
|
|
57
|
+
- **format defect:** hand-assembled date/number/currency/list/collation contradicts locale behavior;
|
|
58
|
+
- **translation-quality gap:** mechanics pass but real wording/tone is unknown or incorrect; mark native review `not-checked` rather than guessing.
|
|
59
|
+
|
|
60
|
+
A matrix row is incomplete until failures are classified; “looks okay” does not identify what was verified.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# State matrix template
|
|
2
|
+
|
|
3
|
+
Evidence: hardening/state coverage practice, usability heuristics, and response/robustness requirements.
|
|
4
|
+
|
|
5
|
+
Create this matrix for every meaningful view/component. Delete only rows proven irrelevant, and record why.
|
|
6
|
+
|
|
7
|
+
| State | Required design answer |
|
|
8
|
+
|---|---|
|
|
9
|
+
| initial/loading | immediate acknowledgement; stable skeleton/structure; no fake content |
|
|
10
|
+
| skeleton | approximate layout mass without mimicking false facts; screen-reader appropriate |
|
|
11
|
+
| optimistic | distinguish unconfirmed state, rollback failure visibly, preserve corrective action |
|
|
12
|
+
| empty first-use | explain value + primary creation/import/sample action |
|
|
13
|
+
| empty no-results | show query/filter context, useful broadening/clear action |
|
|
14
|
+
| empty cleared | acknowledge removal; undo if possible; next useful action |
|
|
15
|
+
| partial data | identify what is missing/stale; do not render gaps as zero/false |
|
|
16
|
+
| error validation | field/problem/recovery-specific message; preserve input |
|
|
17
|
+
| error server/system | plain-language cause boundary; retry/support/correlation detail as appropriate |
|
|
18
|
+
| offline | cached/stale indication; queue or block explicitly; preserve draft |
|
|
19
|
+
| permission needed | explain benefit/need before prompt; provide non-permission fallback |
|
|
20
|
+
| permission denied | explain consequence and exact settings recovery without shame |
|
|
21
|
+
| success | what happened, next consequence/action; avoid dead-end modal |
|
|
22
|
+
| disabled | reason visible or inferable; how/when enabled; tooltip not sole carrier |
|
|
23
|
+
| zero | distinguish absent, none allowed, none yet |
|
|
24
|
+
| one | avoid awkward plural/empty controls; direct edit/detail path |
|
|
25
|
+
| many | pagination/virtualization/filter/grouping; maintain selection/context |
|
|
26
|
+
| long content | wrap/truncate deliberately with expansion/copy path; no overlap |
|
|
27
|
+
| missing asset/data | meaningful fallback, no broken image/icon |
|
|
28
|
+
| interruption | autosave/draft/resume semantics; no duplicated side effects |
|
|
29
|
+
| resume/deep link | correct entity/step/filter/scroll/permission context |
|
|
30
|
+
| concurrency | lock/merge/version conflict behavior; show freshness/ownership |
|
|
31
|
+
| duplication/retry | idempotency, double-submit prevention, status visibility |
|
|
32
|
+
| background/expired | session/auth expiry with data preservation and reauthentication |
|
|
33
|
+
|
|
34
|
+
## Rules
|
|
35
|
+
|
|
36
|
+
- Do not use spinners as the only answer. Choose stable layout, progressive content, or explicit task state based on duration/context.
|
|
37
|
+
- “Empty” is not an error unless the user expected required data.
|
|
38
|
+
- Error copy must say what happened, what was preserved, and how to proceed.
|
|
39
|
+
- Simulate slow network, cancellation, token expiry, malformed data, and concurrency where feasible; otherwise label `not-checked`.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Lightweight usability testing escalation
|
|
2
|
+
|
|
3
|
+
Use this reference when inspection cannot answer whether real users understand or complete the task. Automated agents should not fabricate user evidence. Either run an approved lightweight study with real participants or label the uncertainty `not-checked`.
|
|
4
|
+
|
|
5
|
+
## When to escalate
|
|
6
|
+
|
|
7
|
+
Escalate when a decision depends on any of:
|
|
8
|
+
|
|
9
|
+
- whether users understand domain vocabulary, navigation, or conceptual model;
|
|
10
|
+
- whether they notice the correct action without guidance;
|
|
11
|
+
- error cost, trust, comprehension, or abandonment risk;
|
|
12
|
+
- competing designs whose differences are behavioral rather than visual;
|
|
13
|
+
- accessibility or localization needs outside the implementer's direct experience;
|
|
14
|
+
- a cognitive walkthrough finding rated medium/high risk that cannot be resolved by platform convention.
|
|
15
|
+
|
|
16
|
+
Do not escalate merely to validate taste. Usability testing answers behavior/comprehension questions, not whether the team prefers a color.
|
|
17
|
+
|
|
18
|
+
## Minimum viable study
|
|
19
|
+
|
|
20
|
+
For a small iterative study, use approximately 3–5 participants per materially distinct audience segment. This is a risk-discovery sample, not statistical proof. More participants or quantitative instrumentation are needed for comparative claims.
|
|
21
|
+
|
|
22
|
+
Record:
|
|
23
|
+
|
|
24
|
+
| Field | Required content |
|
|
25
|
+
|---|---|
|
|
26
|
+
| research question | behavioral uncertainty to resolve |
|
|
27
|
+
| participant segment | inclusion criteria and evidence source; avoid convenience-only bias when possible |
|
|
28
|
+
| task(s) | realistic goals with completion criteria |
|
|
29
|
+
| fixture/data | realistic content, permissions, device, network, locale, accessibility setup |
|
|
30
|
+
| moderator behavior | neutral prompts; no teaching unless testing recovery after failure |
|
|
31
|
+
| measurement | success/failure/assists, time where useful, errors, navigation path, verbatim comprehension evidence |
|
|
32
|
+
| privacy/consent | consent, recording permission, data handling, redaction |
|
|
33
|
+
|
|
34
|
+
Never claim statistical significance or population truth from five users. Report discovered failure patterns and unresolved risk.
|
|
35
|
+
|
|
36
|
+
## Session structure
|
|
37
|
+
|
|
38
|
+
1. **Context:** establish relevant background without demonstrating the answer.
|
|
39
|
+
2. **Task:** give the goal, not click instructions.
|
|
40
|
+
3. **Think-aloud or retrospective probing:** choose based on task risk/accessibility; do not interrupt the user's natural recovery immediately.
|
|
41
|
+
4. **Neutral prompts:** “What are you expecting?” / “What would you do next?” rather than leading hints.
|
|
42
|
+
5. **Recovery boundary:** intervene only when the participant is stuck beyond the defined failure threshold or harm/frustration is disproportionate.
|
|
43
|
+
6. **Debrief:** ask comprehension and expectation questions after the task.
|
|
44
|
+
|
|
45
|
+
## Measures
|
|
46
|
+
|
|
47
|
+
Use behavior first:
|
|
48
|
+
|
|
49
|
+
| Measure | Evidence |
|
|
50
|
+
|---|---|
|
|
51
|
+
| task success | completed / assisted / failed / abandoned, defined before session |
|
|
52
|
+
| critical errors | wrong destructive action, lost data, wrong interpretation, inability to recover |
|
|
53
|
+
| navigation path | detours, backtracking, search use, help use |
|
|
54
|
+
| comprehension | user's own explanation of what happened or what a label means |
|
|
55
|
+
| confidence/trust | stated certainty before committing; treat as secondary |
|
|
56
|
+
| time/efficiency | useful only with context and enough care about variance |
|
|
57
|
+
|
|
58
|
+
Do not reduce the result to a satisfaction score. A participant can like an interface and still fail the task.
|
|
59
|
+
|
|
60
|
+
## Reporting template
|
|
61
|
+
|
|
62
|
+
```markdown
|
|
63
|
+
## Usability evidence
|
|
64
|
+
- Question:
|
|
65
|
+
- Participants: n, segment, recruitment limitation
|
|
66
|
+
- Build/prototype/context:
|
|
67
|
+
- Tasks and success criteria:
|
|
68
|
+
|
|
69
|
+
| Task | Success | Critical failure pattern | Evidence | Severity | Recommended change |
|
|
70
|
+
|---|---|---|---|---|---|
|
|
71
|
+
|
|
72
|
+
- Confirmed risks:
|
|
73
|
+
- Not-generalizable / not checked:
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Distinguish observed behavior from interpretation. Quote or describe what happened before inferring why.
|
|
77
|
+
|
|
78
|
+
## Agent honesty rules
|
|
79
|
+
|
|
80
|
+
- Never fabricate participants, sessions, quotes, metrics, or consent.
|
|
81
|
+
- Do not call a model-generated persona walkthrough “user testing.”
|
|
82
|
+
- Do not use employees/friends as proof of target-user behavior without saying so.
|
|
83
|
+
- If no participants are available, keep the risk open and choose the safer conventional design.
|
|
84
|
+
- Do not continue polishing visual detail while a critical behavioral question remains unresolved.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# UX writing
|
|
2
|
+
|
|
3
|
+
Evidence: empty-state/form guidance, concise copy practice, and mode-specific expression budgets.
|
|
4
|
+
|
|
5
|
+
## Rules
|
|
6
|
+
|
|
7
|
+
- Write for the user's goal, not the system's implementation. Prefer concrete domain nouns and verbs.
|
|
8
|
+
- Buttons are verbs or verb phrases that state consequence: “Save invoice”, “Invite member”, “Resume upload”. Avoid vague “Submit/OK/Next” when the consequence is knowable.
|
|
9
|
+
- Link text describes destination/action without bare “click here”; match surrounding reading flow.
|
|
10
|
+
- Use consistent action vocabulary across surfaces. Do not alternate delete/remove/archive or sign in/log in casually.
|
|
11
|
+
- Headings state the object or decision, not generic “Information”/“Details” when specificity is possible.
|
|
12
|
+
- Front-load distinguishing words for scanning and truncation.
|
|
13
|
+
- Do not blame users, expose internal exception text, or use fake warmth in high-stakes errors.
|
|
14
|
+
|
|
15
|
+
## Error pattern
|
|
16
|
+
|
|
17
|
+
`<what happened>` + `<what is preserved/unchanged>` + `<how to recover>`.
|
|
18
|
+
|
|
19
|
+
Do/don't:
|
|
20
|
+
|
|
21
|
+
- Do: “We couldn't upload `budget.pdf`; no file was added. Check your connection and retry.”
|
|
22
|
+
- Don't: “Oops! Something went wrong.”
|
|
23
|
+
- Do: “Enter expiry as MM/YY.”
|
|
24
|
+
- Don't: “Invalid input.”
|
|
25
|
+
|
|
26
|
+
## Empty states
|
|
27
|
+
|
|
28
|
+
- First-use: explain value and provide primary create/import/connect/sample action.
|
|
29
|
+
- No-results: reflect active query/filter and provide clear/broaden/search alternatives.
|
|
30
|
+
- Cleared/permission/offline: state cause and recovery. Do not use cheerful illustration to mask data loss.
|
|
31
|
+
- Keep empty states operational in Operate mode; decorative illustration must not consume primary space.
|
|
32
|
+
|
|
33
|
+
## Tone by mode
|
|
34
|
+
|
|
35
|
+
| Mode | Tone posture |
|
|
36
|
+
|---|---|
|
|
37
|
+
| Persuade | confident, concrete, evidence-backed |
|
|
38
|
+
| Operate | terse, predictable, low emotional noise |
|
|
39
|
+
| Read | clear editorial voice, minimal interruption |
|
|
40
|
+
| Experience/Play | expressive but subordinate to orientation/legibility |
|
|
41
|
+
| Communicate | direct and robust when images/fonts fail |
|
|
42
|
+
|
|
43
|
+
Microcopy is interface structure. Review strings at real lengths, plural forms, RTL/mixed bidi, truncation, screen-reader order, and error/offline states.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pixelcraft-visual-qa
|
|
3
|
+
description: Verifies interfaces through rendered evidence using a render → screenshot → self-critique → fix loop. Use for visual QA, screenshot review, responsive/light/dark/reduced-motion inspection, browser or device verification, horizontal overflow, clipping, contrast, performance budget review, pre-submit checks, and honest rendered-vs-static evidence reporting across web, mobile, desktop, terminal, email, document, and game surfaces.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
version: 0.1.0
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Pixelcraft visual QA
|
|
10
|
+
|
|
11
|
+
Render the actual surface, inspect representative captures, execute the primary task, and gate completion on the evidence. A missing check is not a pass.
|
|
12
|
+
|
|
13
|
+
## References
|
|
14
|
+
|
|
15
|
+
- Read [references/critique-rubric.md](references/critique-rubric.md) before judging captures; it prevents generic taste commentary.
|
|
16
|
+
- Read [references/task-verification.md](references/task-verification.md) when behavior or task completion matters more than static appearance.
|
|
17
|
+
- Read [references/finish-gate.md](references/finish-gate.md) before verifying a new or materially changed UI flow; it defines required evidence and the repair limit.
|
|
18
|
+
- Read [references/baseline-governance.md](references/baseline-governance.md) before updating, trusting, masking, or retaining screenshot baselines.
|
|
19
|
+
- Read [references/performance-budgets.md](references/performance-budgets.md) when setting or evaluating web vitals, interaction latency, frame budgets, and asset budgets.
|
|
20
|
+
- Read [references/measured-craft.md](references/measured-craft.md) when comparing an expressive treatment, measuring before/after, or choosing non-browser evidence.
|
|
21
|
+
- Run `node scripts/style-inventory.mjs <url-or-html-file>` when a rendered style/payload inventory would make critique measurable; it emits JSON rather than proof of quality.
|
|
22
|
+
- Read [references/capture-mobile.md](references/capture-mobile.md) for iOS simulator, Android emulator/device, responsive viewport, gesture, and safe-area capture.
|
|
23
|
+
- Read [references/capture-terminal.md](references/capture-terminal.md) for tmux, VHS, asciinema, snapshot backends, color fallback, resize, and scrollback evidence.
|
|
24
|
+
- Read [references/capture-email.md](references/capture-email.md) for email-client matrix, image blocking, dark mode, plaintext, and capture limitations.
|
|
25
|
+
- Read [references/capture-desktop-game.md](references/capture-desktop-game.md) for native windows, high-DPI, multi-window, frame capture, HUD legibility, and game-safe-area checks.
|
|
26
|
+
- Run `node scripts/shoot.mjs --help` for optional browser capture/audit. The script has no required dependencies; it uses Playwright only when already installed or installable by the user.
|
|
27
|
+
|
|
28
|
+
## Required loop
|
|
29
|
+
|
|
30
|
+
1. **Render** — build/run the real product surface. A typecheck, bundle, DOM snapshot, or successful server start is not visual evidence. For behavior that matters, execute a defined user task rather than only loading a page.
|
|
31
|
+
2. **Capture** — use the plan's applicable device/layout classes, including landscape and short height for responsive web. Observe the task, available controls, focus and state after resize or rotation, not just the fit of static screenshots. On other surfaces use supported devices, sizes, clients or output formats. Include applicable appearance and reduced-motion settings; capture meaningful states, task feedback, failures and end states.
|
|
32
|
+
3. **Inspect** — evaluate the capture against the direction card, platform conventions, floor requirements, rubric, and task. Look at edges, clipping, overlap, empty space, contrast, hierarchy, alignment, text truncation, input modality, and state communication.
|
|
33
|
+
4. **Fix and retest** — normally use one focused repair round. For reproducible, measurable defects, run at most three total rounds and rerun affected checks without discarding earlier evidence. Do not iterate by taste.
|
|
34
|
+
5. **Gate and report** — run the finish gate for new or materially changed flows; report its status and remaining defects or missing evidence. List captures inspected and use `rendered` only for actual runtime or capture evidence.
|
|
35
|
+
|
|
36
|
+
## Capture matrix
|
|
37
|
+
|
|
38
|
+
Choose rows relevant to the surface; do not claim rows skipped without saying so.
|
|
39
|
+
|
|
40
|
+
| Dimension | Minimum evidence |
|
|
41
|
+
|---|---|
|
|
42
|
+
| geometry | smallest supported size, typical size, large/resize behavior |
|
|
43
|
+
| appearance | light, dark, high contrast/forced colors where platform supports it |
|
|
44
|
+
| motion/input | reduced motion, keyboard/controller/touch focus, pointer size or D-pad where applicable |
|
|
45
|
+
| state | loading, empty, error, long content, offline/permission when relevant |
|
|
46
|
+
| locale | expansion/contraction, RTL, non-Latin scripts when in scope |
|
|
47
|
+
| capability | zoom/text scaling, magnification, image blocking, reduced data, degraded color/unicode |
|
|
48
|
+
|
|
49
|
+
## Browser quick path
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
node scripts/shoot.mjs http://localhost:3000 --out visual-qa
|
|
53
|
+
node scripts/shoot.mjs dist/index.html --breakpoints 390x844,768x1024,1440x900
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
The script writes PNGs plus `report.json`; highlights overflow, clipping, contrast, broken images, essential content hidden after settling, and visible text possibly covered by opaque elements. Use `data-pixelcraft-essential` on task-critical content outside the built-in main/heading targets. Opt in with `--keyboard` on a safe fixture to probe up to eight Tab stops and likely missing visual indicators. Treat findings as leads: inspect the relevant state manually. A probe or clean report is not proof of task completion, contrast compliance, or correct focus order.
|
|
57
|
+
|
|
58
|
+
For local files, the built-in server defaults to the file's own directory. Pass `--root` only when shared parent assets are required: it exposes every non-dotfile beneath that root to page scripts for the duration of the capture. Dot-segments such as `.env` and `.git/` are refused. HTTP error pages are still captured and recorded; runs exit non-zero for 4xx/5xx unless `--allow-http-error` is intentionally used for error-page design review.
|
|
59
|
+
|
|
60
|
+
## Hard rules
|
|
61
|
+
|
|
62
|
+
- Do not use browser emulation as proof of physical-device behavior; label it emulation.
|
|
63
|
+
- Do not hide overflow-x globally to silence a capture finding.
|
|
64
|
+
- Do not lower text contrast, shrink type below platform norms, or truncate essential content to fit a screenshot.
|
|
65
|
+
- Do not crop away defects or capture only flattering states.
|
|
66
|
+
- Do not update screenshot baselines merely to make a check pass; classify intentional change, regression, environment drift, fixture nondeterminism, or platform difference first.
|
|
67
|
+
- Do not claim task completion from pixels alone; execute the task or label behavioral uncertainty.
|
|
68
|
+
- Do not claim accessibility from pixels alone; pair captures with semantic/keyboard inspection.
|
|
69
|
+
- Preserve user data and secrets: redact private content in saved artifacts.
|
|
70
|
+
|
|
71
|
+
## Pre-submit checklist
|
|
72
|
+
|
|
73
|
+
- [ ] actual surface rendered in the target runtime or the closest explicitly labeled emulation;
|
|
74
|
+
- [ ] required breakpoints/orientations/safe areas captured;
|
|
75
|
+
- [ ] light/dark and reduced-motion behavior inspected where applicable;
|
|
76
|
+
- [ ] primary empty/loading/error/long-content states inspected;
|
|
77
|
+
- [ ] primary task/recovery path executed with expected end state evidence where feasible;
|
|
78
|
+
- [ ] no unintended horizontal overflow, clipped essential text, overlap, or off-viewport controls;
|
|
79
|
+
- [ ] contrast/legibility checked in context, including disabled and focus states;
|
|
80
|
+
- [ ] performance budget measured or explicitly marked `not-checked`;
|
|
81
|
+
- [ ] reproducible failures were repaired and rerun, or explicitly remain open;
|
|
82
|
+
- [ ] report distinguishes `rendered`, `static`, `model-judgment`, `not-checked`, and `waived`.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Screenshot baseline governance
|
|
2
|
+
|
|
3
|
+
Use this reference when keeping visual baselines, screenshots, snapshots, or capture artifacts across iterations. Baselines are evidence with provenance and expiry, not immutable truth.
|
|
4
|
+
|
|
5
|
+
## Baseline metadata
|
|
6
|
+
|
|
7
|
+
Every baseline set needs adjacent metadata or a manifest containing:
|
|
8
|
+
|
|
9
|
+
- product/build commit or version;
|
|
10
|
+
- runtime/platform/browser/device/emulator and OS version where relevant;
|
|
11
|
+
- viewport/orientation/density/theme/mode/locale/direction;
|
|
12
|
+
- fixture/data seed/time freeze/network state;
|
|
13
|
+
- capture tool/version and scale factor;
|
|
14
|
+
- capture date and owning surface/test;
|
|
15
|
+
- known nondeterministic regions or exemptions;
|
|
16
|
+
- evidence scope: full page, crop, interaction frame, static snapshot, or device capture.
|
|
17
|
+
|
|
18
|
+
A PNG filename alone is not enough provenance for a durable baseline.
|
|
19
|
+
|
|
20
|
+
## Approval and update rules
|
|
21
|
+
|
|
22
|
+
1. A baseline may be updated only after the visible difference is classified as intentional product change, approved design change, platform/runtime rendering drift, fixture correction, or defect fix.
|
|
23
|
+
2. Never update baselines merely to make CI pass.
|
|
24
|
+
3. Review meaningful diffs as images/crops, not only aggregate mismatch percentage.
|
|
25
|
+
4. Keep the old baseline until the replacement has been validated in the same normalized context.
|
|
26
|
+
5. Record who/what approved the update and the reason in the project’s normal review path.
|
|
27
|
+
6. Dynamic regions must be frozen, masked narrowly, or excluded with explicit scope—not broadly ignored.
|
|
28
|
+
7. Failed interaction/task evidence must not be overwritten by a later successful run before the failure artifact is preserved.
|
|
29
|
+
|
|
30
|
+
## Determinism controls
|
|
31
|
+
|
|
32
|
+
Prefer deterministic inputs:
|
|
33
|
+
|
|
34
|
+
- fixed fixture data and ordering;
|
|
35
|
+
- frozen clock/relative time formatting;
|
|
36
|
+
- deterministic random seed or disabled animation;
|
|
37
|
+
- real or bundled fonts/assets;
|
|
38
|
+
- controlled network responses;
|
|
39
|
+
- stable feature flags/permissions;
|
|
40
|
+
- normalized viewport/scale/scroll;
|
|
41
|
+
- reduced-motion/static capture where motion rasterization is noisy.
|
|
42
|
+
|
|
43
|
+
When determinism is impossible, isolate the unstable region and label the baseline partial. Do not loosen global tolerance until meaningful regressions pass.
|
|
44
|
+
|
|
45
|
+
## Artifact lifecycle
|
|
46
|
+
|
|
47
|
+
Keep artifacts according to value:
|
|
48
|
+
|
|
49
|
+
| Artifact | Retention posture |
|
|
50
|
+
|---|---|
|
|
51
|
+
| release/acceptance baseline | durable, versioned with release/build |
|
|
52
|
+
| regression capture for active defect | retained until defect closure plus normal review retention |
|
|
53
|
+
| exploratory capture | temporary; do not commit private/noisy artifacts by default |
|
|
54
|
+
| user/private data capture | redact or delete; never commit secrets/personal data |
|
|
55
|
+
| failure trace | preserve enough frames/log/context to diagnose before retrying |
|
|
56
|
+
|
|
57
|
+
Do not fill the repository with unreviewed screenshots. Use the project's artifact storage/CI retention policy when available.
|
|
58
|
+
|
|
59
|
+
## Baseline failure triage
|
|
60
|
+
|
|
61
|
+
When a diff fails, classify before changing code or baseline:
|
|
62
|
+
|
|
63
|
+
1. intentional product/design change → obtain/confirm approval, update baseline with reason;
|
|
64
|
+
2. implementation regression → fix implementation and recapture;
|
|
65
|
+
3. environment/tooling drift → verify on reference runtime; update metadata/tolerance narrowly if justified;
|
|
66
|
+
4. nondeterministic fixture → freeze/fix fixture before trusting result;
|
|
67
|
+
5. platform rendering difference → record platform-specific baseline rather than forcing pixel identity;
|
|
68
|
+
6. missing provenance → treat baseline as untrusted and regenerate or retire it.
|
|
69
|
+
|
|
70
|
+
Report the classification. “Updated snapshots” is not a sufficient explanation.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Desktop and game capture
|
|
2
|
+
|
|
3
|
+
## Desktop windows
|
|
4
|
+
|
|
5
|
+
Capture real application windows at minimum size, default size, resize/maximized state, and high-DPI scaling. Verify native versus custom chrome, menu/shortcut behavior, focus rings, text scaling, dark/high-contrast mode, multi-window identity, dialog ownership, and restoration after minimize/resize.
|
|
6
|
+
|
|
7
|
+
Useful local commands:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# macOS interactive/window capture
|
|
11
|
+
screencapture -i -w capture.png
|
|
12
|
+
|
|
13
|
+
# Linux X11 only; inspect active window manually when available
|
|
14
|
+
import -window root capture.png
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Prefer platform-native capture/test tooling where available. A browser DOM inspection inside Electron/Tauri is static unless the actual frame is rendered.
|
|
18
|
+
|
|
19
|
+
## Game UI
|
|
20
|
+
|
|
21
|
+
Capture HUDs at target resolutions/aspect ratios, including ultrawide and minimum supported size. Validate safe-area insets, text legibility at viewing distance, controller focus path, menu pause/resume state, localization expansion, colorblind-critical cues, and damage/alert readability over real gameplay backgrounds—not isolated gray screens.
|
|
22
|
+
|
|
23
|
+
Use engine capture/profilers:
|
|
24
|
+
|
|
25
|
+
- Unity: Game view resolution/aspect matrix, Device Simulator, frame debugger/profiler;
|
|
26
|
+
- Godot: viewport resolution/stretch modes, editor screenshots/runtime capture;
|
|
27
|
+
- Unreal: PIE viewport presets, safe-zone visualization, UMG focus/navigation instrumentation.
|
|
28
|
+
|
|
29
|
+
Performance claims require scene-representative frame data. Menu-only capture says nothing about combat/effects scenes.
|
|
30
|
+
|
|
31
|
+
## Evidence checklist
|
|
32
|
+
|
|
33
|
+
- [ ] actual OS/window scale/density named;
|
|
34
|
+
- [ ] resize/reflow behavior captured rather than inferred;
|
|
35
|
+
- [ ] keyboard/controller focus order tested separately;
|
|
36
|
+
- [ ] fullscreen/windowed/multi-monitor behavior in scope;
|
|
37
|
+
- [ ] high-contrast/reduced-motion path inspected;
|
|
38
|
+
- [ ] game safe areas and legibility over noisy real content verified.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Email render testing
|
|
2
|
+
|
|
3
|
+
Email clients mutate HTML. A browser screenshot of the source file is useful static/development evidence but is not proof of Outlook, Gmail, Apple Mail, or mobile-client rendering.
|
|
4
|
+
|
|
5
|
+
## Practical matrix
|
|
6
|
+
|
|
7
|
+
Prioritize actual audience analytics. Otherwise inspect at minimum:
|
|
8
|
+
|
|
9
|
+
- Outlook desktop/Win32 where enterprise users matter (Word rendering engine constraints);
|
|
10
|
+
- Gmail web and Gmail mobile clipping behavior;
|
|
11
|
+
- Apple Mail/iOS Mail dark-mode treatment;
|
|
12
|
+
- plain-text output;
|
|
13
|
+
- images blocked and images loaded;
|
|
14
|
+
- narrow mobile width and desktop reading pane.
|
|
15
|
+
|
|
16
|
+
Commercial render matrices (Litmus, Email on Acid) can broaden coverage. Manual test accounts are weaker but honest evidence. Label provider/account/client/version/date because behavior changes.
|
|
17
|
+
|
|
18
|
+
## What to inspect
|
|
19
|
+
|
|
20
|
+
- subject/preheader parity and no hidden-content dependence;
|
|
21
|
+
- alt text meaningful when images are blocked;
|
|
22
|
+
- background images absent or gracefully degraded;
|
|
23
|
+
- dark-mode inversion does not destroy logos, icons, or contrast;
|
|
24
|
+
- CTA bulletproof enough in target clients;
|
|
25
|
+
- table layout does not collapse or horizontally scroll essential content;
|
|
26
|
+
- plaintext version preserves links and meaning;
|
|
27
|
+
- clipping threshold: avoid oversized MIME/HTML weight; measure rather than guessing.
|
|
28
|
+
|
|
29
|
+
## Rules
|
|
30
|
+
|
|
31
|
+
- Never claim cross-client compatibility from one browser render.
|
|
32
|
+
- Never depend on external CSS, scripting, video, or forms in email clients.
|
|
33
|
+
- Redact recipient data before storing screenshots.
|
|
34
|
+
- Compare content with the plaintext version for semantic parity.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Mobile capture
|
|
2
|
+
|
|
3
|
+
## iOS Simulator
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
xcrun simctl list devices
|
|
7
|
+
xcrun simctl boot "iPhone 15"
|
|
8
|
+
xcrun simctl io booted screenshot capture.png
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Capture the smallest and largest supported device classes when layout behavior differs. Exercise Dynamic Type sizes, dark mode, landscape/split multitasking where supported, safe-area edges, keyboard presentation, and VoiceOver focus order. Simulator evidence is `rendered` but not physical-device performance/touch evidence.
|
|
12
|
+
|
|
13
|
+
## Android emulator/device
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
adb devices
|
|
17
|
+
adb shell settings put system font_scale 1.3 # restore afterward
|
|
18
|
+
adb exec-out screencap -p > capture.png
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Use emulator device definitions matching target API/density. Capture gesture-navigation edge conflicts, display cutouts, keyboard, dark/high-contrast text, font scaling, orientation/foldable resize, and TalkBack focus order. Restore changed settings. Physical-device evidence is stronger for touch, performance, haptics, and camera/sensor behavior.
|
|
22
|
+
|
|
23
|
+
## Responsive web emulation
|
|
24
|
+
|
|
25
|
+
Browser emulation is useful for viewport geometry, DPR, touch hit layouts, and media queries. It is not proof of mobile browser chrome behavior, thermal/CPU performance, haptics, safe-area hardware, or platform accessibility. Label it browser emulation.
|
|
26
|
+
|
|
27
|
+
## Checklist
|
|
28
|
+
|
|
29
|
+
- [ ] smallest supported width/device and large/device rotation;
|
|
30
|
+
- [ ] system text scaling at default and a larger setting;
|
|
31
|
+
- [ ] dark mode and high-contrast text where supported;
|
|
32
|
+
- [ ] keyboard open and closed for form screens;
|
|
33
|
+
- [ ] safe-area/cutout/navigation-edge conflict;
|
|
34
|
+
- [ ] empty/loading/error/offline state on at least one key screen;
|
|
35
|
+
- [ ] accessibility focus path separately verified; screenshots alone do not prove it.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Terminal capture
|
|
2
|
+
|
|
3
|
+
## tmux
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
tmux new-session -d -s qa -x 100 -y 30 'your-command'
|
|
7
|
+
tmux capture-pane -t qa -p -e > capture-ansi.txt
|
|
8
|
+
tmux capture-pane -t qa -p -J > capture-plain.txt
|
|
9
|
+
tmux kill-session -t qa
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
`-e` preserves escape sequences; `-J` joins wrapped lines. Resize the pane and recapture to verify grid adaptation. Test keyboard input with `tmux send-keys`; do not infer keyboard behavior from a static capture alone.
|
|
13
|
+
|
|
14
|
+
## Recording
|
|
15
|
+
|
|
16
|
+
- `asciinema rec session.cast` records timing/input for review and sharing.
|
|
17
|
+
- VHS uses a `.tape` script to produce deterministic terminal GIF/video when installed.
|
|
18
|
+
- Framework snapshots such as Textual `pytest-textual-snapshot` and Ratatui `TestBackend` are deterministic layout evidence, not proof of runtime color support.
|
|
19
|
+
|
|
20
|
+
## Terminal constraints to capture
|
|
21
|
+
|
|
22
|
+
| Constraint | Evidence needed |
|
|
23
|
+
|---|---|
|
|
24
|
+
| width/height | narrow, short, resize during execution |
|
|
25
|
+
| color | truecolor, 256-color, 16-color, `NO_COLOR` where supported |
|
|
26
|
+
| unicode | ASCII fallback for box/emoji characters |
|
|
27
|
+
| input | focus/selection/help/dismiss/keyboard-only flow |
|
|
28
|
+
| scrollback | content does not destroy shell history unexpectedly |
|
|
29
|
+
| interactivity | graceful behavior when stdout is not a TTY |
|
|
30
|
+
|
|
31
|
+
Report terminal emulator, shell, dimensions, locale, color environment, and whether output was live, replayed, or snapshot-generated.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Visual critique rubric
|
|
2
|
+
|
|
3
|
+
Use this rubric after capture, never as a substitute for capture. Rank findings by user impact rather than visual preference.
|
|
4
|
+
|
|
5
|
+
## Evidence hierarchy
|
|
6
|
+
|
|
7
|
+
1. physical device/platform chrome (`rendered`);
|
|
8
|
+
2. simulator/emulator/browser runtime (`rendered`, labeled as emulation);
|
|
9
|
+
3. deterministic snapshot backend (`rendered` for layout/text raster only, not interaction truth);
|
|
10
|
+
4. static geometry/style/code inference (`static`);
|
|
11
|
+
5. model interpretation of a screenshot (`model-judgment`).
|
|
12
|
+
|
|
13
|
+
Never upgrade a label because the screenshot looks convincing.
|
|
14
|
+
|
|
15
|
+
## Inspection order
|
|
16
|
+
|
|
17
|
+
| Layer | Questions |
|
|
18
|
+
|---|---|
|
|
19
|
+
| task | Can the primary action be found and completed? Is state feedback unambiguous? |
|
|
20
|
+
| platform | Does chrome, navigation, target size, focus, safe area, scaling, and input behavior fit the host? |
|
|
21
|
+
| hierarchy | Do eye path, grouping, spacing, and emphasis match importance? Is anything competing with the primary task? |
|
|
22
|
+
| legibility | Are type size, line length, contrast, truncation, wrapping, script shaping, and icon recognition adequate in context? |
|
|
23
|
+
| geometry | Check edges first: clipping, overlap, unintended scroll, off-screen controls, cramped resize, unstable aspect ratios. |
|
|
24
|
+
| state | Loading/empty/error/offline/permission/long-content/disabled/selected/focus states visible and truthful? |
|
|
25
|
+
| theme/motion | Do dark/high-contrast modes preserve semantic contrast? Does reduced motion preserve meaning? |
|
|
26
|
+
| distinctiveness | Does the result express the chosen direction and subject, or could any product reuse it unchanged? |
|
|
27
|
+
| performance | Is interaction responsive, layout stable, and media cost proportionate? |
|
|
28
|
+
|
|
29
|
+
## Severity guide
|
|
30
|
+
|
|
31
|
+
- **P0:** primary task impossible, unreadable, inaccessible, deceptive, or destructive.
|
|
32
|
+
- **P1:** major state/navigation/platform failure or essential content clipped/invisible.
|
|
33
|
+
- **P2:** comprehension, efficiency, trust, contrast, localization, or layout defect with a workaround.
|
|
34
|
+
- **P3:** optical refinement that does not change task success.
|
|
35
|
+
|
|
36
|
+
## Critique format
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
[P1][rendered][high] 390px light capture: checkout button is clipped at the right edge.
|
|
40
|
+
Evidence: captures/390x844-light-motion.png, right-bottom quadrant.
|
|
41
|
+
Fix: move the action into the normal flow before the safe-area inset; do not hide overflow.
|
|
42
|
+
Residual: physical touch target not checked.
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Anti-patterns
|
|
46
|
+
|
|
47
|
+
- “Looks clean/premium/modern” without evidence or criteria.
|
|
48
|
+
- Fixing alignment by magic numbers instead of correcting layout constraints.
|
|
49
|
+
- Cropping captures to avoid edge defects.
|
|
50
|
+
- Treating a full-page screenshot as proof of keyboard, screen-reader, motion, or runtime behavior.
|
|
51
|
+
- Redesigning the product during a QA pass; report direction-level concerns separately.
|
|
52
|
+
|
|
53
|
+
## Critic calibration and iteration control
|
|
54
|
+
|
|
55
|
+
Model-based screenshot critique is useful but unreliable. Treat each finding as a hypothesis until tied to observable evidence:
|
|
56
|
+
|
|
57
|
+
1. **Require localization.** Name capture, region/element/state, expected behavior, actual pixels/behavior, and why it matters.
|
|
58
|
+
2. **Assign confidence.** `high` means directly visible/deterministic; `medium` means strong inference but context-dependent; `low` means speculative and must not drive layout churn.
|
|
59
|
+
3. **Separate defect from preference.** A defect violates task/floor/platform/direction evidence. Preference requires explicit authority before redesign.
|
|
60
|
+
4. **Suppress duplicates.** Group symptoms with the same layout/token/root cause rather than generating many independent-looking findings.
|
|
61
|
+
5. **Track false positives.** If inspection disproves a critic finding, record the false positive and tighten subsequent prompts/criteria instead of repeating it.
|
|
62
|
+
6. **Do not degrade across iterations.** Each repair round must address a specific deterministic defect and recapture only affected evidence. Stop when new findings are low-confidence, contradictory, or increasingly cosmetic.
|
|
63
|
+
7. **Preserve positives.** Do not fix one defect by destroying hierarchy, contrast, spacing rhythm, accessibility, or performance elsewhere; inspect regression risk after repair.
|
|
64
|
+
|
|
65
|
+
Stopping is valid when the remaining findings are speculative, require user/business evidence, or cost more than their user impact. Mark them `not-checked` or deferred with consequence.
|
|
66
|
+
|
|
67
|
+
## DOM evidence paired with pixels
|
|
68
|
+
|
|
69
|
+
When browser automation is available, pair screenshot inspection with a DOM/style inventory: rendered font families and sizes, foreground/background color counts by area, maximum content width, estimated uncovered viewport area, cursor overrides, motion-library signals, detected reduced-motion and focus-visible CSS, transfer/request counts, landmarks, heading-order jumps, missing alt attributes, and sampled text contrast.
|
|
70
|
+
|
|
71
|
+
These measurements are leads with context. Cross-origin stylesheets can hide CSS evidence; canvas/WebGL text is invisible to DOM typography; overlap/whitespace estimates cannot understand meaning. Inspect the capture before acting. Do not claim an accessibility pass from this extraction.
|