Skip to content

dx-workflow: frontend (web + React Native) and backend; frontend code review (0.5.0) - #5

Merged
davidxiaodev merged 3 commits into
mainfrom
claude/rename-dx-workflow
Nov 18, 2026
Merged

davidxiaodev merged 3 commits into
mainfrom
claude/rename-dx-workflow

Conversation

@davidxiaobj

@davidxiaobj davidxiaobj commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

plugin   ui-workflow                 →  dx-workflow
skills   building-consistent-ui      →  frontend   (dx-workflow:frontend)
         building-reliable-backend   →  backend    (dx-workflow:backend)
lanes    ui / api (kind)             →  frontend / backend; lanes named per app: web, app, api
env      UI_WORKFLOW_GATE            →  DX_WORKFLOW_GATE
review   frontend: screenshots only  →  screenshots + frontend code-review.md
removed  0.1 .ui-verify migration, UI_VERIFY_RUN_DIR, upgrade notes

UI stays inside frontend: docs/design.md, tokens, ui-look screenshots and design-review.md keep their names. The new frontend code-review.md covers what screenshots cannot show: stale state, request races, double submits, lost input, HTML injection, secrets in the bundle, keyboard and screen-reader paths, list keys, contract drift. Decision record: docs/adr/0005.

Mobile: React Native / Expo

lane       "kind": "frontend", "platform": "react-native" → default files + "native" globs
look       rn-look.mjs: simulators/emulators via Maestro × devices × {default, dark, large-text}
           fixed status bar → <screen>-<variant>-<platform>-<width>.png vs look-snapshots/ (built-in PNG diff)
styles     check-raw-styles --platform react-native: *Color literals, font literals, --spacing-scale
journeys   Maestro flows with testIDs (template), ctl starts Metro + backend
tier       app.json / ios/ / android/ / new native module → tier 3, one-way door, deep review
CI         "ci": false skips simulator checks in CI, recorded as not run
docs       mobile.md, mobile adverse cases, design + code review lenses

Evidence

  • npm test: 64 pass, 0 fail. New: a web lane of kind frontend gets both review guides; PNG decode (every scanline filter), compare and masks; rn-look dry-run plan, missing baselines, --update, a changed screen with its diff image, a masked change; RN raw-style rules; RN lane defaults; ci: false in CI; native change and native module → tier 3 and a one-way door, a JS-only dependency not.
  • Not run here: rn-look.mjs against a live simulator (no Xcode or emulator in this environment). The first real run is node scripts/ui/rn-look.mjs --update on your machine; check the images and the flow it writes under flows/.
  • No old name left outside the dated ADRs 0001–0004: git grep -E 'ui-workflow|building-consistent-ui|building-reliable-backend|UI_WORKFLOW|ui-verify'.

Merge Danger

Door: two-way for this repo. Installed copies need reinstalling under the new name: /plugin install dx-workflow@dx-workflow. Projects keyed by ui/api lanes must rename them or add kind (no compatibility kept, as agreed).

Blast Radius: every file path under plugins/; new behaviour: frontend code review and React Native lanes. Web and backend lanes behave as before.

How to revert

Revert the commit.

https://claude.ai/code/session_014d2MvQ5v7FCph37jwFCC7i


Generated by Claude Code

…nd code (0.5.0)

- Plugin ui-workflow -> dx-workflow (plugins/dx-workflow, marketplace,
  package, CI template DX_WORKFLOW_REF, stop gate DX_WORKFLOW_GATE).
- Skills building-consistent-ui -> frontend, building-reliable-backend ->
  backend; lane kinds ui/api -> frontend/backend, template lanes renamed.
- UI stays inside frontend (design.md, tokens, ui-look, design-review).
- New frontend code-review.md: state, requests and races, forms, security,
  accessibility in code, performance, backend contract, tests. The frontend
  brief points the reviewer at design review then code review, one file.
- Drop 0.1 compatibility (.ui-verify migration, UI_VERIFY_RUN_DIR) and the
  upgrade notes.
- ADR 0005.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014d2MvQ5v7FCph37jwFCC7i
- Lane "platform": "react-native": default files (app code, app.json,
  app.config, eas.json, ios/, android/, assets/) and "native" globs.
- rn-look.mjs: screenshots on iOS simulators and Android emulators via one
  Maestro flow per device and variant (default, dark, large-text), fixed
  status bar, compared with baselines named <screen>-<variant>-<platform>-
  <width>.png so the evidence pack pairs them; diff images and report.md.
  --update, --dry-run, --compare-only.
- lib/png.mjs: dependency-free PNG decode, compare with masks, diff image.
- check-raw-styles --platform react-native: colour literals in *Color keys
  and props, font literals, --spacing-scale for padding/margin/gap.
- Native changes (native globs, a new react-native-*/expo-* module in
  package.json) are merge tier 3, a one-way door, and a deep review.
- run-verify: "ci": false skips a check in CI (simulators) without
  tripping fail-fast.
- mobile.md (setup, build, verify, over-the-air updates), templates
  rn-look.json and maestro-journey.yaml, an RN lane in the config
  template, mobile adverse cases, design and code review lenses.
- rn-look script and screens.json are guard files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014d2MvQ5v7FCph37jwFCC7i
@davidxiaobj davidxiaobj changed the title Rename to dx-workflow with frontend and backend; review frontend code (0.5.0) dx-workflow: frontend (web + React Native) and backend; frontend code review (0.5.0) Nov 18, 2026
…nto local-run cases

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014d2MvQ5v7FCph37jwFCC7i
@davidxiaodev
davidxiaodev merged commit 743569e into main Nov 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants