Structuring your AI prompt
You've joined Payflow, a fintech startup, and inherited the payment processing module — a 15,000-line Python codebase. Your first task is to fix a bug in how refunds are calculated.
Before diving in, you want to use AI to help you understand how the system works. You've learned that structured prompts get better results than vague questions. A good prompt provides task context, states a clear goal, and describes the expected output.
This exercise is part of the course
Advanced AI-Assisted Coding for Developers
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise