Specify Screen Requirements
Purpose
Describe what each screen must show, accept and do in every state, so design can focus on layout and interaction, developers implement consistent behavior, and testers know exactly what to verify.
When to use
- A new screen, form, page or dialog is needed, or an existing one changes.
- Designers have a mock-up, but fields, validations and states are not specified.
- Behavior differs by role or status and must be pinned down before development.
When not to use
- Layout and visual hierarchy of a wireframe are the focus. Use
wireframe-spec.
- Only error and help texts need writing. Use
error-message-writing or microcopy.
- Whole-system behavior beyond individual screens is needed. Use
frd-writing.
Inputs
Required:
- The screen's purpose and the process step or story it supports.
Optional, improves quality:
- Mock-up or sketch, data requirements, business rules, role matrix, existing screen, design system conventions, accessibility target.
If the purpose or the supported step is missing, ask for it. Ask at most 5 blocking questions at a time; everything else becomes an open question.
Process
- State the screen's purpose, the users/roles, entry points (from where and with what context) and exit points.
- Define permissions per role: view, edit, action availability; state what a user without permission sees.
- List fields in logical order with label, business meaning, source (data element or calculation), editable or read-only, format and length, mandatory (always or conditional), default and allowed values.
- Write validations per field and across fields, when they fire (on change, on leave, on submit) and the message behavior; reference business rule IDs.
- List actions (buttons, links, bulk actions) with precondition, outcome, confirmation need, and what happens on success, failure and double submit.
- Specify states: initial, empty (no data), loading, partial data, validation error, system error, read-only (e.g. by status), concurrent change detected, no permission.
- Specify navigation and unsaved-change behavior, pagination/search/sort for lists, and what is remembered between visits.
- Specify accessibility (WCAG 2.2 AA: labels, keyboard order, error announcement, contrast owner) and device/responsive needs; leave visual styling to design.
- Note personal data shown on the screen and masking needs (e.g. partially masked phone for agents).
- List assumptions and open questions with owners; mark inferred behavior
[ASSUMPTION].
- If the goal continues, suggest
wireframe-spec for layout, error-message-writing for the message texts, or accessibility-audit once built.
Output format
# Screen Requirements: <screen name> (SCR-<nn>)
Purpose: ... · Supports: <story / use case> · Roles: ...
Entry points: ... · Exit points: ...
## Permissions
| Element / action | Role A | Role B |
## Fields
| # | Label | Meaning / source | Editable | Format | Mandatory | Default / values | Validation (when) | Message behavior |
## Actions
| Action | Precondition | Success outcome | Failure outcome | Confirmation |
## States
| State | Condition | What the user sees / can do |
## Navigation and Persistence
## Accessibility and Devices
## Personal Data and Masking
## Assumptions and Open Questions
Quality checklist
Common pitfalls
- Specifying only the filled-in happy state. Empty, error and read-only states are where users get stuck; specify them.
- Mixing layout with behavior ("red text under the field"). Specify the message trigger and content; design decides the presentation.
- Validations only on submit for long forms. Decide timing per field so users are not surprised by ten errors at once.
Example
Input: "Call-center agents edit a customer's address; addresses of customers with an open delivery need care."
Excerpt of output:
| # |
Label |
Meaning / source |
Editable |
Mandatory |
Validation (when) |
| 3 |
Postal code |
Customer.address.postalCode |
Yes |
Yes |
Valid for the selected city (on leave) [TBD: reference source] |
| 4 |
District |
Customer.address.district |
Yes |
Yes |
Must belong to the selected city (on change of city: reset) |
| State |
Condition |
What the user sees / can do |
| Open delivery |
Customer has a delivery not yet dispatched |
Warning that the change affects the delivery; agent chooses "apply to delivery" or "future only" [ASSUMPTION] |
| Read-only |
Agent role without edit permission |
Address shown with phone partially masked; no Save action |
Open question: May agents change the address while a delivery is already dispatched? — Logistics
1---2name: screen-requirements3description: "Specifies screen or UI requirements per screen: purpose and entry points, roles and permissions, fields with source, format, mandatory rules, defaults and validations with message behavior, actions and their outcomes, screen states (empty, loading, error, read-only, no permission), navigation, accessibility and responsive needs, without prescribing visual design. Use when a screen, form or page must be specified for design and development, or when asked 'what should this screen do'."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/screen-requirements7 version: "1.0.0"8 language: en9 category: 01-business-analysis10 role: business-analyst11 area: documentation12 title: "Specify screen/UI requirements"13 related: "wireframe-spec, error-message-writing, frd-writing, data-requirements, accessibility-audit"14 prompt: "Specify the screen requirements for the 'Edit customer address' form in the call-center application."15---1617# Specify Screen Requirements1819## Purpose20Describe what each screen must show, accept and do in every state, so design can focus on layout and interaction, developers implement consistent behavior, and testers know exactly what to verify.2122## When to use23- A new screen, form, page or dialog is needed, or an existing one changes.24- Designers have a mock-up, but fields, validations and states are not specified.25- Behavior differs by role or status and must be pinned down before development.2627## When not to use28- Layout and visual hierarchy of a wireframe are the focus. Use `wireframe-spec`.29- Only error and help texts need writing. Use `error-message-writing` or `microcopy`.30- Whole-system behavior beyond individual screens is needed. Use `frd-writing`.3132## Inputs33Required:34- The screen's purpose and the process step or story it supports.3536Optional, improves quality:37- Mock-up or sketch, data requirements, business rules, role matrix, existing screen, design system conventions, accessibility target.3839If the purpose or the supported step is missing, ask for it. Ask at most 5 blocking questions at a time; everything else becomes an open question.4041## Process421. State the screen's purpose, the users/roles, entry points (from where and with what context) and exit points.432. Define permissions per role: view, edit, action availability; state what a user without permission sees.443. List fields in logical order with label, business meaning, source (data element or calculation), editable or read-only, format and length, mandatory (always or conditional), default and allowed values.454. Write validations per field and across fields, when they fire (on change, on leave, on submit) and the message behavior; reference business rule IDs.465. List actions (buttons, links, bulk actions) with precondition, outcome, confirmation need, and what happens on success, failure and double submit.476. Specify states: initial, empty (no data), loading, partial data, validation error, system error, read-only (e.g. by status), concurrent change detected, no permission.487. Specify navigation and unsaved-change behavior, pagination/search/sort for lists, and what is remembered between visits.498. Specify accessibility (WCAG 2.2 AA: labels, keyboard order, error announcement, contrast owner) and device/responsive needs; leave visual styling to design.509. Note personal data shown on the screen and masking needs (e.g. partially masked phone for agents).5110. List assumptions and open questions with owners; mark inferred behavior `[ASSUMPTION]`.5211. If the goal continues, suggest `wireframe-spec` for layout, `error-message-writing` for the message texts, or `accessibility-audit` once built.5354## Output format55```markdown56# Screen Requirements: <screen name> (SCR-<nn>)57Purpose: ... · Supports: <story / use case> · Roles: ...58Entry points: ... · Exit points: ...5960## Permissions61| Element / action | Role A | Role B |62## Fields63| # | Label | Meaning / source | Editable | Format | Mandatory | Default / values | Validation (when) | Message behavior |64## Actions65| Action | Precondition | Success outcome | Failure outcome | Confirmation |66## States67| State | Condition | What the user sees / can do |68## Navigation and Persistence69## Accessibility and Devices70## Personal Data and Masking71## Assumptions and Open Questions72```7374## Quality checklist75- [ ] Every field has source, editability, mandatory rule and validation with timing.76- [ ] Every action has precondition, success and failure outcomes, and double-submit behavior.77- [ ] Empty, loading, error, read-only and no-permission states are specified.78- [ ] Role-based differences are explicit.79- [ ] Accessibility target and personal data masking are addressed.80- [ ] No visual styling is prescribed; inferred behavior is labeled `[ASSUMPTION]`.81- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.8283## Common pitfalls84- Specifying only the filled-in happy state. Empty, error and read-only states are where users get stuck; specify them.85- Mixing layout with behavior ("red text under the field"). Specify the message trigger and content; design decides the presentation.86- Validations only on submit for long forms. Decide timing per field so users are not surprised by ten errors at once.8788## Example89Input: "Call-center agents edit a customer's address; addresses of customers with an open delivery need care."9091Excerpt of output:92| # | Label | Meaning / source | Editable | Mandatory | Validation (when) |93|---|---|---|---|---|---|94| 3 | Postal code | Customer.address.postalCode | Yes | Yes | Valid for the selected city (on leave) `[TBD: reference source]` |95| 4 | District | Customer.address.district | Yes | Yes | Must belong to the selected city (on change of city: reset) |9697| State | Condition | What the user sees / can do |98|---|---|---|99| Open delivery | Customer has a delivery not yet dispatched | Warning that the change affects the delivery; agent chooses "apply to delivery" or "future only" `[ASSUMPTION]` |100| Read-only | Agent role without edit permission | Address shown with phone partially masked; no Save action |101102Open question: May agents change the address while a delivery is already dispatched? — Logistics