--- name: up-wireframe-spec description: Generate wireframes and field-level screen specifications for the use cases in the current iteration's slice, while mapping every portal/screen/route to an accountable frontend implementation and browser-QA task. Use this after up-iteration-plan has selected the iteration's use-case slice. This is Stage 11 (Construction) of the UP-AI v1.0 Process (process/AI_Native_Unified_Process_v1.md). --- # up-wireframe-spec — Stage 11 (Construction, per iteration) ## Objective Produce wireframes and field-level screen specifications for the views/screens touched by the current iteration's use cases — scoped to the active iteration's vertical slice. ## When to invoke - After `up-iteration-plan` has produced `iteration_backlog.md` for the current iteration. - Can run in parallel with `up-test-model-generate`. ## Read first - `tech-profile.yaml` (identifies frontend framework, UI libraries, design tokens path, and auth provider) - Current iteration's `project_sdlc/05_iteration_planning/iterations/iteration-NN/iteration_backlog.md` - `project_sdlc/03_requirements/use_cases/uc-xxx_*/functional-reqs.md` (referenced screens/fields per FR) - `project_sdlc/06_wireframes/wireframe_index.md` (existing index, if any) - `project_sdlc/06_wireframes/DESIGN.md` (screen-archetype, shared-pattern, and API-binding conventions) - Current iteration's `iteration_surface_matrix.md` ## Procedure For every `UC-xxx` in the current iteration's backlog: 1. Enumerate the screens/views referenced by its `FR-xxx` children (`referenced screens` field). 2. For each screen, identify its archetype and check for applicable shared patterns in `DESIGN.md` (or Frappe Desk Form/List/Workspace views if `frontend.framework: frappe_desk`) before designing custom layouts. Produce a wireframe-level layout description (regions, key controls, state guards) and a field-level specification (field name, type, validation, source FR, backend processing expectation). 3. Update `wireframe_index.md` to include the new screens, tagged to their owning `UC-xxx`/`FR-xxx` and iteration number. 4. Reconcile every referenced screen, route, and actor-specific flow against `iteration_surface_matrix.md`; assign frontend implementation and browser-QA ownership. Rules: - Do not wireframe screens outside the current iteration's use-case scope. - Flag any field/validation ambiguity as `AMB-xxx` rather than guessing. - Every screen specification MUST explicitly declare its Client Application ID, exact Frontend Route / Path, and required Authorization Role/Scope claims per `DESIGN.md` and `tech-profile.yaml`. ## Output expected Portal/screen wireframe specs under `project_sdlc/06_wireframes/`; updated `wireframe_index.md`; reconciled `iteration_surface_matrix.md`. ## Exit criteria Every screen referenced by an in-scope FR has a wireframe and field-level spec, plus frontend and browser-QA owners in `iteration_surface_matrix.md`, before `up-code-generate` begins frontend work. ## Related skills Previous: `up-iteration-plan` (Stage 10). Parallel: `up-test-model-generate`. Next: `up-code-generate` (Stage 13).