The GRC Vibe Coder's Playbook · Lesson 02 of 10
How Do I Plan Before Asking AI to Code?
Describe the result you want before asking AI to build it.
All 10 Lessons · Jump to a Lesson
In Lesson 1, we picked a tiny vendor review tool. Now we need to tell the AI what it should do. A blueprint is just a short written plan.
Start with the questions users answer, the result they should see, and the situations the tool must handle. An acceptance criterion is a plain-language example of what counts as working. For our tool, a missing answer must lead to Review Required, not Low Risk.
Writing that promise down first makes it possible to spot a mistake later. We will keep the plan in GitHub when we learn how to save and share project work; a note is enough for now.
Why Not Just Ask AI to Build It?
If you say, “Build me a vendor risk tool,” AI must guess what questions to ask, which answers are risky, and what to do when information is missing. The result might look finished while answering the wrong question.
A blueprint is a short plan that reduces that guessing. It tells the builder who the tool helps, what goes in, what comes out, and what it should not do yet. You can write it in an ordinary note. Later we will save it with the project files.

Let's Write Our First Blueprint
Our project is a tool that turns three vendor answers into a short summary a GRC practitioner can review. Before asking AI to write code, let's decide what the tool should say. We'll use made-up answers, so you can practice without real vendor information.
Here are the answers from Peachtree Demo, our fictional vendor. These are the inputs: information the tool receives.
| Question | Peachtree Demo's answer |
|---|---|
| Does the vendor use customer data to train AI? | No |
| Does the vendor support data deletion? | Yes |
| Has the vendor provided incident-notification evidence? | Not provided |
Decide What the Tool Should Return
The output is the result the tool shows. We need to agree on three rules before building it:
- If any answer is missing, return Review Required.
- With all answers present, return Elevated Risk if training uses customer data, deletion is unsupported, or incident-notification evidence is absent.
- Otherwise return Low Risk for these three checks.
Missing information takes priority. Peachtree Demo must receive Review Required, even though its first two answers are reassuring. A provided “No” and an unanswered question mean different things. These are our practice project's agreed rules; a real team would choose criteria suited to its vendors and intended use.
The result should show the answers and the reason: “Incident-notification evidence was not provided.” A category alone would hide what the reviewer needs to investigate.
Optional: See How the Answers Look in Code
Python is a programming language. Here is one way Python could store our answers. You can skip this code and still finish the lesson. If you read it, just match the names to the questions above; you do not need to understand the punctuation.
vendor_answers = { "uses_customer_data_for_training": False, "supports_data_deletion": True, "incident_notification_evidence": None,}False means No, True means Yes, and None represents a missing answer here. The names on the left identify the questions. The values on the right record the answers. The braces group those pairs together.
In this example, None does not mean the vendor failed the requirement. It means we do not have an answer. That is the gap the tool must make visible.
Write Down What Counts as Working
Given Peachtree Demo's three answers, when I run the assessment, then it shows Review Required and explains that incident-notification evidence is missing.
This is an acceptance criterion: a specific promise we can check. Save it in your notes for now; later we will put it with our project files. In Lesson 7, we will inspect a scoring function and check whether it meets this promise. For now, being able to explain the expected result is enough.
Try changing one answer on paper: if incident-notification evidence is explicitly No, which rule applies? With all three answers present, the expected result becomes Elevated Risk. Write that second case into the blueprint too.
Your Blueprint, in Five Lines
Copy these headings into a note and answer each one for Peachtree Demo or your own idea:
- User: Who needs this?
- Inputs: What information will they provide?
- Output: What should they see?
- Special case: What if important information is missing?
- Not yet: Which features can wait?
You are ready for Lesson 3 when you can explain the intended result without asking AI to guess the rules.
Two Planning Habits Worth Keeping
Keep it simple: You may hear this called KISS. Leave out features that are not needed to test the first version.
Say the main point first: You may hear this called BLUF, or “bottom line up front.” Start your AI request with what you want, then give the supporting details.
More elaborate planning methods, such as BMAD, can help on larger projects. You do not need one to finish this exercise.
Optional Challenge: Can AI Repeat a Result?
Want a no-code way to practice clear instructions? Ask an image generator for a GRC illustration. Then ask for a second image in the same style. Notice what changes unexpectedly when the tool must guess what “the same style” means.
- Try: Generate an illustration of someone reviewing a fictional vendor questionnaire.
- Clarify: Specify the colors, layout, text limits, and details to preserve. Compare the next image against those instructions.
- Repeat: Try to create a matching incident-response illustration using the description you saved.
Save the instructions and note one thing AI changed unexpectedly. That saved description is a small creative brief, much like the blueprint for our tool. We will return to saved instructions when we discuss AI handoffs in Lesson 4.
The GRC Connection
A written rule makes the tool's output reviewable. In GRC, it matters whether a result comes from a documented requirement or an unexplained guess.
Put It into Practice
Write a short blueprint for your project: its user, three inputs or actions, its expected result, one situation that needs special handling, and three features you will postpone. Then write one sentence beginning 'Given ... when ... then ...' to describe a result you can check.
What Good Looks Like
You have a short plan and at least one specific example you could use to check whether the tool works.
Check the result yourself. Save the decision or next step in GitHub so you can return to it later.