ui-fieldwork 0.1.2 → 0.1.3

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/README.md CHANGED
@@ -85,7 +85,7 @@ Copy the entire [`skills/ui-fieldwork/`](skills/ui-fieldwork/) folder into the s
85
85
  Run `npm pack` in the UI Fieldwork checkout. Then run this from the target project, substituting the absolute path to the tarball. Append `install <target> --global` or `install <target> --project` to bypass the menu.
86
86
 
87
87
  ```sh
88
- npm exec --package="/absolute/path/ui-fieldwork-0.1.2.tgz" -- ui-fieldwork
88
+ npm exec --package="/absolute/path/ui-fieldwork-0.1.3.tgz" -- ui-fieldwork
89
89
  ```
90
90
 
91
91
  ## Troubleshooting
@@ -116,6 +116,8 @@ When the assistant ends its handoff with a plain-text `UI verification: pending
116
116
  3. Implement the flow and its relevant loading, error, empty, and recovery states.
117
117
  4. Inspect the rendered interface, exercise the changed behavior, and report the checks performed.
118
118
 
119
+ The skill also asks the agent to check the full keyboard entry and correction path, preserve context across related steps, and distinguish pending work from confirmed success. For interface copy, it favors familiar words, clear action labels and claims supported by the product’s actual behavior. Keep enough information to explain decisions and consequences.
120
+
119
121
  See the [skill instructions](skills/ui-fieldwork/SKILL.md) for the complete workflow.
120
122
 
121
123
  ## Worked example: booking recovery
@@ -132,6 +134,8 @@ Open the [standalone booking demo](docs/examples/booking.html) locally. It simul
132
134
 
133
135
  ## Evaluation
134
136
 
137
+ The results below describe earlier skill snapshots and targeted follow-ups. They do not evaluate every instruction in the current skill. Recent guidance on form entry, IME handling, status announcements and plain-language copy has not yet had a fresh A/B evaluation. Installer and hook tests check tooling behavior, not usability or writing quality.
138
+
135
139
  ### English onboarding dashboard
136
140
 
137
141
  Two isolated Codex sessions received the same brief, model configuration and six synthetic employee records. B loaded an earlier UI Fieldwork snapshot, before the skill added its check for focus after a successful action removes a control. Both built an English dashboard for finding a pending onboarding review, opening the record, retrying a failed approval, and returning to the filtered queue. The optional Stop hook was tested separately.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-fieldwork",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A standalone design, build, and verification skill for coding agents",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -6,18 +6,18 @@ license: MIT
6
6
 
7
7
  # UI Fieldwork
8
8
 
9
- Honor the user's scope, platform and stack. Start with the project's design system, tooling and assets. Apply the guidance relevant to the changed task.
9
+ Honor the user’s scope, platform and stack. Reuse the project’s design system, tooling and assets. Apply only guidance relevant to the changed task; backend-only work needs no UI workflow.
10
10
 
11
11
  ## Understand the job
12
12
 
13
- - Inspect relevant screens, components, tokens, copy and data. For each affected task, identify the audience, entry state, main action or decision, expected result, and relevant failure or recovery path. Use that scenario to define acceptance checks.
14
- - In brainstorm mode, present proposals and tradeoffs. In an audit, tie findings to evidence and rank by impact on the task. For targeted fixes, preserve the existing direction. For an open-ended redesign, compare approaches that differ in structure, interaction or storytelling.
15
- - For a design decision that benefits from research, compare references that solve the same task. Record the pattern, why it fits, and where it breaks. Use galleries for visual exploration, shipped flows for precedents, and research or platform guidance for claims about usability and interaction.
16
- - For desktop and data-heavy workflows, keep frequent actions visible, retain relevant drafts, filters and selection, and preserve familiar shortcuts. Keep comparison data together when adapting to mobile. Check that data and actions inside panels and tables remain reachable with the relevant input methods.
13
+ - Inspect affected screens, components, tokens, copy and data. Define acceptance checks from the audience, entry state, main action, expected result and likely recovery path.
14
+ - Brainstorm proposals and tradeoffs without implementing. In audits, rank evidence-backed findings by task impact. Preserve the direction for targeted fixes; for open-ended redesigns, compare approaches that differ in structure, interaction or storytelling.
15
+ - Research uncertain design decisions using references that solve the same task. Record the pattern, fit and limitations. Use galleries for visual exploration, shipped flows for precedents, and research or platform guidance for usability claims. Treat community complaints and UX laws as hypotheses, and distinguish standards from house style.
16
+ - For data-heavy workflows, keep frequent actions visible, preserve familiar shortcuts and keep comparison data together when adapting layouts. Make panel and table content reachable with the supported input methods.
17
17
 
18
18
  ## Adapt to the environment
19
19
 
20
- Identify the supported devices, window sizes, input methods and relevant system settings. Use these examples to select checks for the affected task.
20
+ Select checks for the supported devices, window sizes, inputs and system settings.
21
21
 
22
22
  | Environment | Design and verification |
23
23
  | --- | --- |
@@ -31,18 +31,24 @@ Identify the supported devices, window sizes, input methods and relevant system
31
31
  ## Design and build
32
32
 
33
33
  - Design one representative screen and complete its primary flow before scaling the pattern. Use representative content and data, including dense records, long labels, and translated copy when supported.
34
- - Make the next action and relevant information easy to find. For marketing or editorial work, choose a visual anchor grounded in the actual content and use specific copy. Use typography, spacing, alignment and tokens to create hierarchy. Give imagery and motion a clear job.
35
- - Keep controls needed mid-task easy to reach from where the user works. When changing language, view or preferences, carry over the meaningful section, selection or draft. Choose placement for the flow. If a control or header stays fixed, check that it leaves focused items and jump targets visible.
34
+ - Match hierarchy to the surface’s job: operate, read, decide or explore. Make the next action and relevant information easy to find through typography, spacing, alignment and tokens. For marketing or editorial work, ground the visual anchor and specific copy in real content. Give imagery and motion a clear job.
35
+ - Keep mid-task controls reachable without losing context. Preserve relevant drafts, filters, selection and reading position across details, Back, language or view changes. Fixed UI must leave focused items and jump targets visible.
36
36
  - On narrow layouts, keep essential destinations visible or provide an obvious way to reach them. Let short navigation lists wrap or stack when appropriate. If a strip scrolls sideways, make the overflow discoverable and ensure keyboard focus reveals each destination.
37
37
  - For ecommerce, follow the purchase decision across product detail, cart, and checkout. Surface price, availability, delivery and policy details before commitment. When guest checkout is supported, keep that path visible and preserve it across steps. Exercise the changed step and its handoff.
38
- - Review the render for generic copy, interchangeable sections, repeated badges, redundant cards, or decoration competing with the task. Explain what a change would improve on this screen. Treat these signals as critique prompts and allow them where they serve a clear purpose.
39
- - Respect the user’s component and framework choices. Reuse suitable project components. Browse catalogs for ideas when helpful and let the project requirements drive implementation. Use native controls for simple interactions and check the platform’s keyboard and focus conventions for complex widgets. For a web modal, test initial focus, Tab containment, Escape and focus restoration. Preserve readable contrast and reduced-motion behavior.
40
- - Design task-relevant loading, empty, success and failure states. Acknowledge input promptly and keep routine feedback near the action. Keep form labels visible, preserve valid input and offer a concrete recovery step. Report save or sync success after confirmation. For longer tasks, show honest progress and offer cancellation or background continuation when supported. Check avoidable sequential requests and costly UI dependencies on the changed path.
38
+ - Write copy that names the actual action, result or next step in familiar words. Put essential information first; remove filler, repeated explanations, inflated adjectives and forced metaphors. Keep enough context for decisions, costs and consequences. Match claims to supported behavior: do not invent metrics, endorsements, urgency, guarantees or capabilities; distinguish demos and pending work from live results. Keep terminology consistent and translations natural. Adapt warmth to the product and situation; avoid jokes or celebration around errors and data loss.
39
+ - Critique the render for interchangeable copy or sections, redundant cards and decoration competing with the task. Check labels against what controls actually do and messages against success, pending and failure behavior. Remove text that adds no useful meaning; fix confusing interaction rather than explaining it with more copy. These are review prompts, not forbidden styles.
40
+ - Consult component catalogs for gaps, not as a reason to change stacks. Use existing project components or native controls where suitable. For complex widgets, follow platform keyboard and focus conventions; primitive accessibility still depends on application composition. In web modals, test initial focus, Tab containment, Escape and focus restoration. Preserve readable contrast and reduced-motion behavior.
41
+ - Keep related form fields in a predictable reading and focus sequence. Place help and recovery actions where they remain discoverable without avoidable detours during entry. Align web DOM and visual order; do not patch the sequence with positive tabindex or remove useful controls from keyboard access. Support paste, autofill and password managers. Reuse prior answers within a process unless security, validity or the task requires re-entry. Custom Enter shortcuts must respect IME composition and retain an explicit submit action.
42
+ - Keep labels and requirements visible; accept unambiguous formats without changing meaningful input. Avoid premature validation unless feedback prevents wasted work. Let submission explain corrections rather than leaving an unexplained disabled action. On failure, preserve valid input, focus a summary or invalid field as appropriate, associate inline errors and clear corrected errors.
43
+ - Acknowledge input promptly and keep routine feedback near the action. Make status changes available to assistive technology without stealing focus; avoid announcing every keystroke or replacing an entire live region with results. Design relevant loading, success, empty and failure states with a concrete next step. Distinguish first use, no matches, unavailable data and lack of permission when recovery differs.
44
+ - Distinguish local drafts, saving, confirmed server success and failure. Retain recoverable work within privacy and storage constraints. For long tasks, show honest progress, measured only when available, and offer cancellation or background continuation when supported. Choose confirmation or undo by consequence and actual reversibility; important recovery must outlast a brief toast.
45
+ - Check avoidable request waterfalls and costly UI dependencies on the changed path. Keep typing responsive while work or motion runs. Test rapid reversal, cancellation and navigation for stale results, stranded focus and cleanup.
41
46
 
42
47
  ## Verify and hand off
43
48
 
44
- - For implementation, inspect the running interface on representative widths where supported. Try realistic content, the main action and the state most likely to fail. Check that the action is discoverable and usable, including when content wraps or a panel scrolls. Reuse project checks and tools.
45
- - Exercise relevant keyboard navigation through success, failure and return. For a control used mid-task, start in context, tab to it, activate it and continue. Check context when focus reaches the control and again after activation. If the focused control disappears or becomes unavailable, move focus to a logical next target when needed. Run applicable project checks. Ground screenshot observations, interaction results and source findings in what was inspected.
49
+ - Inspect the running interface at representative supported widths with realistic content. Try the main action and likely failure; check discoverability, wrapping and scrolling. Where status feedback changes, check its accessible semantics and, when available, its announcement with assistive technology. Reuse project checks and tools.
50
+ - For changed forms, enter values from the first field, Tab forward, Shift+Tab back, submit, correct an error and retry. Include auxiliary controls; assess effort as well as reachability. For mid-task controls, check context when focus arrives and after activation. If a control disappears, restore focus to a logical target.
51
+ - Separate render observations, source findings and exercised behavior. A screenshot cannot verify focus order; synthetic keyboard events cannot prove real IME or password-manager behavior. State material gaps instead of treating structural checks as usability proof.
46
52
  - Fix defects in scope and repeat the check that exposed them. Summarize the changed surface and end the handoff with one plain-text evidence line when the turn changes UI code. Add the route, behavior, or concrete reason on the same line.
47
53
 
48
54
  ```text