1# Turn user stories into UI mocks | Codex use cases1---
2 2name: Turn user stories into UI mocks
3Codex use cases3tagline: Convert product feedback, issue threads, and design context into
4 4 mockups your team can react to and implement.
55summary: Use Codex to gather product feedback from Slack, Linear, Google Drive,
6 6 normalize it into user stories and constraints, then generate UI mockups with
77 ImageGen. When the direction is chosen, turn the mock into a working
8 8 prototype.
9Codex use case9skills:
10 10 - token: slack
11# Turn user stories into UI mocks11 url: https://github.com/openai/plugins/tree/main/plugins/slack
12 12 description: Search approved feedback channels and threads for user stories,
13Convert product feedback, issue threads, and design context into mockups your team can react to and implement.13 pain points, quotes, and open questions.
14 14 - token: linear
15Difficulty **Easy**15 url: https://github.com/openai/plugins/tree/main/plugins/linear
16 16 description: Pull feature requests, bug reports, labels, priorities, and project
17Time horizon **30m**17 context into the mock brief.
18 18 - token: google-drive
19Use Codex to gather product feedback from Slack, Linear, Google Drive, normalize it into user stories and constraints, then generate UI mockups with ImageGen. When the direction is chosen, turn the mock into a working prototype.19 url: https://github.com/openai/plugins/tree/main/plugins/google-drive
20 20 description: Read research notes, call summaries, docs, sheets, and slides that
21## Best for21 contain product feedback or design requirements.
22 22 - token: figma
23- Product teams turning scattered feedback into a visual direction for a feature.23 url: https://github.com/openai/plugins/tree/main/plugins/figma
24- Design and engineering teams that want mockups grounded in source material before building.24 description: Fetch design context, screenshots, and design-system references so
25- Teams who want to iterate fast based on user feedback.25 mocks do not drift away from the product's visual language.
26 26 - token: $imagegen
27# Contents27 description: Generate UI mockups, variations, and visual truth from the
28 28 synthesized stories and design constraints.
29[← All use cases](https://developers.openai.com/codex/use-cases)29 - token: build-web-apps
30 30 url: https://github.com/openai/plugins/tree/main/plugins/build-web-apps
31Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/user-stories-to-ui-mocks/?export=pdf)31 description: Turn the selected mock into a working web prototype and verify the
32 32 implementation against the mock.
33Use Codex to gather product feedback from Slack, Linear, Google Drive, normalize it into user stories and constraints, then generate UI mockups with ImageGen. When the direction is chosen, turn the mock into a working prototype.33bestFor:
34 34 - Product teams turning scattered feedback into a visual direction for a
35Easy35 feature.
36 36 - Design and engineering teams that want mockups grounded in source material
3730m37 before building.
38 38 - Teams who want to iterate fast based on user feedback.
39Related links39starterPrompt:
40 40 title: Create Mocks from User Stories
41[Codex plugins](https://developers.openai.com/codex/plugins)41 body: >-
42 42 Turn this [user story/set of user feedbacks] into a UI mock for a feature
43## Best for43 that would solve the problem, using these sources as context:
44 44
45- Product teams turning scattered feedback into a visual direction for a feature.45 - @slack [channels or thread links]
46- Design and engineering teams that want mockups grounded in source material before building.46
47- Teams who want to iterate fast based on user feedback.47 - @linear [issue links, project, team, or view]
48 48
49## Skills & Plugins49 - @google-drive [research notes, survey export, doc, sheet, or slide deck]
50 50
51- [Slack](https://github.com/openai/plugins/tree/main/plugins/slack)51
52 52 Do that while respecting the current design system and existing UI [provide
53 Search approved feedback channels and threads for user stories, pain points, quotes, and open questions.53 Figma file or screenshot as reference].
54- [Linear](https://github.com/openai/plugins/tree/main/plugins/linear)54 suggestedEffort: medium
55 55relatedLinks:
56 Pull feature requests, bug reports, labels, priorities, and project context into the mock brief.56 - label: Codex plugins
57- [Google Drive](https://github.com/openai/plugins/tree/main/plugins/google-drive)57 url: /codex/plugins
58 58---
59 Read research notes, call summaries, docs, sheets, and slides that contain product feedback or design requirements.
60- [Figma](https://github.com/openai/plugins/tree/main/plugins/figma)
61
62 Fetch design context, screenshots, and design-system references so mocks do not drift away from the product's visual language.
63- ImageGen
64
65 Generate UI mockups, variations, and visual truth from the synthesized stories and design constraints.
66- [Build Web Apps](https://github.com/openai/plugins/tree/main/plugins/build-web-apps)
67
68 Turn the selected mock into a working web prototype and verify the implementation against the mock.
69
70| Skill | Why use it |
71| --- | --- |
72| [Slack](https://github.com/openai/plugins/tree/main/plugins/slack) | Search approved feedback channels and threads for user stories, pain points, quotes, and open questions. |
73| [Linear](https://github.com/openai/plugins/tree/main/plugins/linear) | Pull feature requests, bug reports, labels, priorities, and project context into the mock brief. |
74| [Google Drive](https://github.com/openai/plugins/tree/main/plugins/google-drive) | Read research notes, call summaries, docs, sheets, and slides that contain product feedback or design requirements. |
75| [Figma](https://github.com/openai/plugins/tree/main/plugins/figma) | Fetch design context, screenshots, and design-system references so mocks do not drift away from the product's visual language. |
76| ImageGen | Generate UI mockups, variations, and visual truth from the synthesized stories and design constraints. |
77| [Build Web Apps](https://github.com/openai/plugins/tree/main/plugins/build-web-apps) | Turn the selected mock into a working web prototype and verify the implementation against the mock. |
78
79## Starter prompt
80
81Turn this [user story/set of user feedbacks] into a UI mock for a feature that would solve the problem, using these sources as context:
82- @slack [channels or thread links]
83- @linear [issue links, project, team, or view]
84- @google-drive [research notes, survey export, doc, sheet, or slide deck]
85Do that while respecting the current design system and existing UI [provide Figma file or screenshot as reference].
86
87Open in the Codex app
88
89Turn this [user story/set of user feedbacks] into a UI mock for a feature that would solve the problem, using these sources as context:
90- @slack [channels or thread links]
91- @linear [issue links, project, team, or view]
92- @google-drive [research notes, survey export, doc, sheet, or slide deck]
93Do that while respecting the current design system and existing UI [provide Figma file or screenshot as reference].
94 59
95## Introduction60## Introduction
96 61
102 67
103If you have a clear user story, you can start with that. If not, you can have a discussion with Codex first, gathering context from different sources and synthesizing it into a user story.68If you have a clear user story, you can start with that. If not, you can have a discussion with Codex first, gathering context from different sources and synthesizing it into a user story.
104 69
105Then, you can ask Codex to use ImageGen to create a few mock directions. The mocks should preserve the product’s information architecture and design-system constraints.70Then, you can ask Codex to use ImageGen to create a few mock directions. The mocks should preserve the product's information architecture and design-system constraints.
106 71
107If helpful, you can provide screenshots of the current UI or a Figma file as reference.72If helpful, you can provide screenshots of the current UI or a Figma file as reference.
108 73
111## Move from mock to prototype76## Move from mock to prototype
112 77
113Use the final mock image that you want Codex to implement. Re-attach this image in a new turn rather than continuing the conversation directly.78Use the final mock image that you want Codex to implement. Re-attach this image in a new turn rather than continuing the conversation directly.
114You can then ask Codex to implement the mock – optionally using the [Build Web Apps plugin](https://developers.openai.com/codex/plugins/build-web-apps) if you’re building a web app – to turn it into a working prototype:79You can then ask Codex to implement the mock – optionally using the [Build Web Apps plugin](https://github.com/openai/plugins/tree/main/plugins/build-web-apps) if you're building a web app – to turn it into a working prototype:
115
116Use this image as a reference and implement in this repository this feature. Use this conversation as context to help you implement it with the right constraints. Minimize the creation of new components: explore the codebase and reuse existing components and design system when possible.
117
118## Related use cases
119
120[
121
122### Coordinate new-hire onboarding
123
124Use Codex to gather approved new-hire context, stage tracker updates, draft team-by-team...
125
126Integrations Data](https://developers.openai.com/codex/use-cases/new-hire-onboarding)[
127
128### Draft PRDs from internal context
129
130Use Codex with the $documents skill and connected apps such as Linear, Slack, Notion or...
131
132Integrations Knowledge Work](https://developers.openai.com/codex/use-cases/draft-prds-from-sources)[
133
134### Prepare meeting briefs
135
136Use Codex with Calendar, Drive, Slack, and Gmail to gather approved sources before a...
137
138Integrations Knowledge Work](https://developers.openai.com/codex/use-cases/meeting-prep-briefs)
139