# Whole-app UX then UI audit Use when the user asks for a UX and/or UI analysis of every page of an existing app ("tüm sayfalarda ux ve ardından ui analiz"). Three stages; the PM owns verification and the final priority list. ## 1. Evidence pack (mobile specialist; no recommendations) - Worktree from the line that ships (incl. unmerged feature branches the next release carries), branch `analiz/`; copy git-ignored assets (photo sets) from the main checkout. - Brief: no `lib/` changes, only `test/`, `tool/`, `docs//` + screenshots under `///`. Deliverables: - `ENVANTER.md`: every screen/tab/sheet/dialog/empty-error-permission state, tap path, file:line, purpose. - Screenshots per state in several sets (phone TR + EN, small phone, iPhone, system text 1.3 and 2.0), filenames = inventory ids, each PNG < 1.5 MB. Emulator-free capture inside `flutter test` with real data is fastest and avoids clashing with a parallel worker's emulator. - `AKISLAR.md`: >= 6 core tasks with step strips/videos, taps, typed chars, scrolls, time. - `OLCUMLER.md`: contrast vs WCAG AA, touch targets < 48 dp / 44 pt, font size/weight/family count, off-palette colours, spacing off the 4 dp grid, overflow at large text, unlabeled interactive nodes, heading semantics, launch/tab timings; each with its method; "ölçülmedi + neden" otherwise. - If another worker is recording on the emulator, name it in the brief: separate AVD or wait; never kill/reinstall its app. ## 2. UX analysis, then 3. UI analysis (agy, read-only) - Heavy analysis goes to `agy` to spare Claude quota. Write each prompt to a file and run it from a small Python wrapper with an argument list (`subprocess.run(["agy","--model",m,"--output-format", "json","--print-timeout","2400s","--add-dir",docs,"--add-dir",screens,"-p",prompt])`); save stdout, stderr and `response` separately; print `{ok, chars, status, denied, sn}`. A UX run over ~100 screenshots took ~8 min and returned ~63k chars. - `status: ERROR` with `Individual quota reached ... Resets in h` is per model: probe the other Pro-tier ids with a trivial "Sadece OK yaz" prompt and rerun on one that answers; tell the user which model ran and why. - UX prompt: product facts, the user's standing taste and bans, input paths, scope (IA/navigation, task friction, states, permission timing, search, retention within ethics, reading/trust signals, copy TR/EN, a11y behaviour), "no visual/aesthetic judgement", fixed report sections ending with a >= 25-row impact x effort table and open questions. - UI prompt runs after UX is verified and gets the UX report as input ("do not repeat it"); scope: typography, colour/contrast, spacing, components, icons/photos, motion and micro-interaction, platform fit, "current or dated, and why", 2-3 modernisation directions keeping brand colours/fonts. - Put the source rule in the prompt explicitly: cite only pages actually opened, full URL; invented URLs reject the report. ## PM verification (before anything reaches the user) - HTTP-check every cited URL (`curl -s -o /dev/null -L -m 20 -A 'Mozilla/5.0' -w '%{http_code}'`) and the bare domain: domain 200 + path 404 = fabricated. Gemini fabricated most article URLs in one run even with sources requested, while its local-evidence findings held up. - Spot-check the top findings against the screenshots (stitch 3-4 into one image, look yourself) and code/inventory (`grep` the cited symbol or string). Correct partially-true claims in a PM header instead of silently passing them on. - Save to the notes vault `Analiz - UX|UI ().md` with a PM header: model + duration, what was verified by image vs code, corrections, source verdict. Strike fabricated sources (`~~...~~ (PM: adres açılmıyor)`) rather than deleting them, via a small script so the edit is reproducible. - Data/content bugs the audit surfaces (e.g. Arabic script under a "Latin" tab) go to the content fix list and, for transcriptions, the translator; they are not UI items. - Before calling an odd value a data bug (e.g. a hospital whose type shows "printing house"), read the source record in the bundled corpus with a small script: a later use or alternate name in the source often explains it, and the real fix is a UX one (show the alternate name), not a data edit. - User report: top 5-6 findings in plain words, the verification verdict in one line each, the notes vault path, next stage. Final deliverable after UI: one merged priority list. ## 4. Merged priority list -> first implementation package - One vault note `UX-UI work list ().md` linking both reports, grouped into packages, not one long table: Paket 1 quick fixes (small effort, high impact, one specialist turn, ~10-12 items), Paket 2 structural UX (search scope, navigation slots, state retention, empty/error CTAs), Paket 3 visual refresh (token system, icon set, app icon, motion layer) presented as 2-3 named directions. Add a data-fixes list and a "doğrulanmayanlar" list. Only verified items go in. - Open behaviour questions the audit raises (e.g. which text tab opens by default) go in as one numbered item with the PM's recommendation, not as a separate question round. - Ask the user one question: "Paket 1 ile başlayayım mı?". Paket 3 never goes straight to code: its directions are shown as motion mock videos side by side first (`design-exploration.md`). - Paket 1 brief: each item = observed problem + measurable acceptance (contrast >= 4.5:1, heading nodes > 0, layout jump 0 px, back goes to X); HOW is the specialist's. Base on the same branch as the evidence pack, new worktree `fix/`; tell the worker to rerun the evidence pack's measurement scripts for a before/after table, add widget tests for navigation/focus items, deliver one side-by-side before/after image per item (the user judges on the phone) and a test APK. Content text and translations stay untouched in this package; new UI strings TR+EN listed in the report.