3 Design and Discovery
This chapter covers
- Leveraging ChatGPT in the design phase
- Breaking down a problem with ChatGPT
- Crafting prompts with ChatGPT
- Using ChatGPT to generate a design document
- Generating user stories with ChatGPT
Design is key in software development, yet programmers often rush it. I’ve done this too. Taking time to plan an app’s architecture leads to happy users and lower maintenance costs. This chapter will explain how generative AI can speed up the design process.
Our goal will be to design a web application that solves a common problem: studying for a certification exam. The app will provide randomized practice tests for exam preparation. First, we’ll analyze the problem and create a design document with ChatGPT’s help. Then, we’ll use ChatGPT to improve the document and develop user stories for guiding development.
By collaborating with ChatGPT in the design phase, we can quickly outline an architecture for our app. We'll also ask ChatGPT targeted questions to uncover ideas and details we may not have considered on our own. The result is a solid foundation to build and iterate upon as we progress through the project.
Let's learn how AI can boost creativity and productivity as developers, even early in the software lifecycle. We'll set ourselves up for easier development by leveraging these generative tools.