Get your API key

Lesson 3 of 6

Design the screens before the code

List your screens, describe each in words, set design rules, make an HTML mockup and pick a simple stack.

8 min Log in to open
One step at a time, like flipping pages.

By the end of this lesson you will have a screen list, a word-by-word description of each screen, a DESIGN.md file with your design rules, a clickable HTML mockup, and a simple tech stack chosen for your Daily Routine app.

You need: your PRD.md from lesson 2 and your coding agent · Time: 7 minutes

  1. A screen is one page the user sees. Before any code, list every screen your 3 must-have features need. Daily Routine needs only three:

    1. Today — today's date, every routine with a tick box, and the streak next to each one.
    2. Add routine — a form with the routine name and an optional time of day (morning, afternoon, night).
    3. Routine details — one routine's streak, the last 7 days, and buttons to rename or delete it.
    Three phone screens side by side. Today in the middle with ticked routines and streaks; an arrow from its plus button to Add routine on the left; an arrow from a routine to Details on the right
    Three screens and the two taps that connect them.

    Ask the AI to check your list against the PRD:

    Prompt · copy it into your AI agent
    Read PRD.md first.
    Here is my screen list for version 1: Today, Add routine, Routine details.
    Check that these 3 screens cover all must-have features and nothing from Out of scope.
    Reply with the list again and one line per screen saying which feature it serves. Do not write code.
    Why?

    Every extra screen is more code, more bugs and more credit. A screen list tied to the PRD is the cheapest place to catch "we do not need this".

Log in free to read the rest of this lesson

Every lesson is free. A free account unlocks all of them and saves your progress.

Still to come in this lesson:

  1. Describe each screen in words
  2. Use reference screenshots
  3. Write your design rules
  4. Ask for a plain HTML mockup first
  5. Choose a simple stack
  6. Recap