Skip to content
Visual explainer 2h to learn 5 steps

Vibe coding workflow: from feature idea to checklist

Turn a feature idea into a user story, acceptance criteria and a short implementation checklist with prototype and review checkpoints.

By Invicly Tech, , in Prompt Engineering and Vibe Coding. About 9 minutes to read.

Topic 7 of 29

In short

Vibe coding means describing what you want in plain words and letting an AI assistant write much of the code. It works best when you first turn a loose idea into a user story, acceptance criteria and a short checklist. That plan tells you what to ask for and when to stop.

Think of it like this: It is like briefing a builder before work starts: you describe the room, agree how you will check it is finished, and walk through it after each stage.

Explained simply

Vibe coding is a relaxed way to build software: you say what you want in everyday language and an AI assistant writes most of the code. It feels fast. The risk is that fast code can head in the wrong direction without anyone noticing.

The fix is to plan for a few minutes first. Write one sentence about who needs the feature and why. That sentence is called a user story. It keeps you and the assistant pointed at the same goal.

Next, write acceptance criteria. These are checks that a person can try and answer yes or no. For example: when I pick Beginner, only Beginner courses appear. If you cannot test a sentence, rewrite it.

Then split the work into a short checklist. Put a pause after the first working version, called the prototype, and another after review. At each pause you run the app and compare it with your criteria. When all of them pass, the prototype is done.

Press Play on a diagram to walk through it one step at a time.

FlowFrom idea to done prototype
  1. 1
    Idea

    One sentence about a need

  2. 2
    User story

    Who, what, why

  3. 3
    Acceptance criteria

    Checks anyone can run

  4. 4
    Checklist

    Small ordered steps

  5. 5
    Prototype

    First working version

  6. 6
    Review

    Compare with the criteria

ComparePrompting with and without a plan
Without a plan
  • Build me a course filter
  • Assistant guesses the details
  • Large, hard-to-review change
  • Unclear when you are done
With a plan
  • Story, criteria and checklist
  • Assistant works step by step
  • Small changes you can review
  • Done means criteria pass

In depth

Writing a user story that helps

A user story follows one pattern: as a [type of person], I want [action], so that [benefit]. The benefit part matters most, because it lets you and the assistant judge choices. If the benefit is that visitors find the right course quickly, a filter beats a long scroll. Keep the story small. If you cannot say it in one sentence, it is probably two features. Split it and build one at a time.

  • Name a real kind of person
  • One action per story
  • State the benefit in plain words
  • Split stories that use the word and

Acceptance criteria you can test

Given-When-Then is a simple format. Given describes the start state, When describes the action, Then describes the visible result. Each line should be something you can try in a browser or terminal in under a minute. Include at least one empty or error case, such as a filter with no matches. These criteria also double as the instructions you paste to the assistant, so it knows what finished means.

  • Given the starting state
  • When the user acts
  • Then the result you can see
  • Add an empty or error case
SequenceOne criterion, read as a message flow
Visitor
Page
  1. 1Opens the course list
    Visitor to Page: Opens the course list
  2. 2Chooses Beginner
    Visitor to Page: Chooses Beginner
  3. 3Shows only Beginner courses
    Page to Visitor: Shows only Beginner courses
  4. 4Chooses a level with no courses
    Visitor to Page: Chooses a level with no courses
  5. 5Shows No courses found
    Page to Visitor: Shows No courses found

Checklist and checkpoints

A good checklist has five to eight steps, each small enough to read in one go. Put a prototype checkpoint where the main path works end to end, even if it looks rough. Put a review checkpoint before you merge. At a checkpoint you do three things: run the app, tick off each acceptance criterion, and read the diff. If a criterion fails, fix that one thing before moving on. Declare the prototype done only when every criterion passes.

  • Five to eight small steps
  • Prototype checkpoint after the main path works
  • Review checkpoint before merging
  • Done means all criteria pass

Learn it in 5 short steps

About 25m each. Track them with a timer in your plan.

  1. 1
    Write a user story~25m
  2. 2
    Add testable acceptance criteria~25m
  3. 3
    Break work into a short checklist~25m
  4. 4
    Mark prototype and review checkpoints~25m
  5. 5
    Decide when a prototype is done~25m

Key points

  • A user story has three parts: who wants it, what they want and why.
  • Acceptance criteria must be testable: a person can say yes or no after trying them.
  • Keep the checklist short. Five to eight steps, each small enough to review in one sitting.
  • Mark a prototype checkpoint and a review checkpoint, so you stop and look before going on.
  • A prototype is done when every acceptance criterion passes, not when the code looks finished.

Key terms

Tap a card to flip it. 0/5 known

Examples

text
Story: As a visitor, I want to filter the course list by level,
so that I only see courses I can follow.

Acceptance criteria:
- Given the list page, when I choose Beginner, then only Beginner courses show.
- Given no matches, when I filter, then I see the text No courses found.

Checklist:
1. Add a level field to the course data.
2. Add a filter control.   [prototype checkpoint]
3. Show the empty message.
4. Check each criterion by hand. [review checkpoint]

A small plan you can paste into an assistant prompt.

Turning an idea into a plan

Idea: let people save a course for later. Step 1, write the story. Step 2, write two criteria, one for the normal path and one for a repeat click. Step 3, break it into steps. You then give the assistant only step 1 first, run the app, and check before asking for step 2.

text
Story: As a learner, I want to save a course, so that I can find it later.

Criteria:
- Given a course page, when I click Save, then the button shows Saved.
- Given a saved course, when I click Saved, then it is removed.

Checklist:
1. Add a saved list to local storage.
2. Add the Save button.  [prototype checkpoint]
3. Add a Saved page.
4. Check both criteria.  [review checkpoint]

Spotting a weak criterion

The criterion the page should load quickly cannot be tested, because quickly means different things to different people. Rewrite it with a number you can measure. Now anyone can time it and say pass or fail.

text
Weak:   The page should load quickly.
Strong: Given a normal connection, when I open the list,
        then the first course appears within 2 seconds.

Quick reference

  • User story: as a [person], I want [action], so that [benefit].
  • Acceptance criteria must be testable: pass or fail, no opinions.
  • Given-When-Then: start state, action, visible result.
  • Checklist of five to eight small steps.
  • Add a prototype checkpoint and a review checkpoint.
  • Include an empty or error case in the criteria.
  • Done means every acceptance criterion passes.

Common mistakes

  • Writing vague criteria such as it should feel fast, which nobody can check.
  • Asking the assistant to build the whole feature in one prompt, then trying to review a huge change.
  • Calling the prototype done because it runs, without testing the empty and error cases.

Quick quiz

Pick an answer to see if you're right and why.

Question 1

1Which part of a user story gives the reason for the feature?

Question 2

2Which is a testable acceptance criterion?

Question 3

3What should happen at a review checkpoint?

Question 4

4A story says as a user I want to search and sort and export. What is best?

0/4 answered

Practice exercises

Try each one yourself first. Use the hint if you get stuck, then compare with the solution.

  1. Exercise 1easy

    Write a user story for a button that copies a code sample to the clipboard.

  2. Exercise 2medium

    Write two Given-When-Then criteria for that copy button, including one failure case.

  3. Exercise 3hard

    Turn the story and criteria into a checklist of five steps with a prototype checkpoint and a review checkpoint, and state when you would call it done.

Check yourself

Answer in your head, reveal, then be honest with yourself.

Feel confident about this topic?

Frequently asked questions

Is vibe coding safe for real projects?
It can be, if you plan, work in small steps and review every change. Skipping review is what makes it risky.
How long should a plan take?
Usually ten to fifteen minutes for a small feature. That time is repaid by fewer wrong turns.
Do I need to write the criteria myself?
You can ask the assistant to draft them, but you must read and fix them. You decide what done means.

Go deeper

ShareXLinkedInWhatsApp