SESSION 1 · PROMPT ENGINEERING
From Zero Shot to Feedback Loops
One framework, four levels. Build one prompt and upgrade it step by step. Copy each version into Claude and compare what changes.
By Kunaal Naik & Arpan Saxena · Data Science Masterminds
THE FRAMEWORK
The G.I.S.O. Prompt
Every good prompt answers four questions. Get these right before anything clever.
GGoal
What outcome do you want, and for whom?
IInputs
What are you giving the AI to work from?
SSteps
What process should it follow?
OOutput
What should the result look like?
LEVEL 1Zero ShotJust the framework. No examples.
LEVEL 2Few ShotAdd examples of what good looks like.
LEVEL 3SequentialMake it work in steps, one after another.
LEVEL 4Feedback LoopMake it check its work and fix it.
STEP 0 · SET UP YOUR PROMPT
Pick a scenario, then make it yours
This base flows into all 4 levels. Edit anything.
LEVEL 1 · ZERO SHOT
Just tell it clearly
Zero shot means no examples. You rely on a clear Goal, Inputs, Steps and Output. This is your baseline.
Your Level 1 prompt
What to notice: the output is usable but generic. Tone and format are Claude's guess, not yours.
LEVEL 2 · FEW SHOT
Show it what good looks like
Few shot means giving 1 to 3 examples. The AI copies the pattern: tone, structure, length. Not the content.
Your Level 2 prompt
What to notice: the output now sounds like you. Use few shot when format, tone or style matter.
LEVEL 3 · SEQUENTIAL
Think in steps
Do one action. Use that result to do the next. Then the next. The AI shows each step, so you can see its thinking and catch errors early.
Your Level 3 prompt
What to notice: better reasoning and fewer mistakes. Use sequential when the task needs analysis before writing.
LEVEL 4 · FEEDBACK LOOP
Draft, check, fix, deliver
Give the AI quality criteria. It produces a draft, checks it against each criterion, fixes what fails, and repeats until everything passes.
Your Level 4 prompt
What to notice: the AI catches its own mistakes before you see them. Use feedback loops when quality really matters.
PROMPT EVOLUTION
See what each level adds
Highlighted text is what is new at that level.
🎯
Key Takeaways
- Start with G.I.S.O. A clear goal, inputs, steps and output beat clever wording.
- Zero shot is your baseline. Good for simple, common tasks.
- Few shot when format, tone or style matter. Show, do not just tell.
- Sequential when the task needs thinking before doing.
- Feedback loop when quality matters. Let the AI check its own work.
- Use the simplest level that does the job. More is not always better.
GO FURTHER
Other Prompt Frameworks
G.I.S.O. is your foundation. These popular frameworks cover the same ideas in different shapes. Pick one that fits your work.