How to Talk to AI Like a Developer (Without Being One)
The mental model that turns vague AI requests into clear instructions, with before-and-after prompt examples.
The biggest mistake new AI coders make is treating the AI like a search engine. They type vague requests and hope for the best. The fix is simple: think of yourself as a project manager giving instructions to a skilled but very literal developer. This developer will do exactly what you ask — so you need to ask clearly.
The Project Manager Mental Model
A good project manager doesn't just say 'build me a website.' They specify what the website should do, who it's for, what it should look like, and what constraints exist. When you talk to an AI coding tool, do the same thing. You're the PM. The AI is your developer. Your job is to give clear direction, not to write the code yourself.
How to Describe What You Want
Be specific about three things: what it should do (function), what it should look like (appearance), and how it should behave (interaction). Compare a vague prompt with a specific one:
VAGUE: Make me a form.
SPECIFIC: Create a contact form with fields for name, email, and message. The submit button should be blue. When someone submits, show a 'Thank you' message and clear the form. Validate that the email field contains a valid email address. The specific version tells the AI exactly what fields to include, what color the button should be, what happens on submit, and what validation to add. The vague version forces the AI to guess at all of those details.
Breaking Big Ideas Into Small Steps
If you want to build something complex, don't try to describe the entire thing in one prompt. Break it down. Build one piece at a time, test it, then move to the next piece. This is exactly how professional developers work, and it works even better with AI.
DON'T: Build me a complete task management app with user accounts, projects, drag-and-drop tasks, due dates, notifications, and team collaboration.
DO:
Step 1: Create a simple page that shows a list of tasks with a checkbox next to each one.
Step 2: Add an input field and button to add new tasks to the list.
Step 3: Add the ability to delete tasks.
Step 4: Add due dates to each task.
Step 5: Save the tasks so they persist when I refresh the page. Five Before-and-After Prompts
Here are real examples showing how small changes in how you describe things produce dramatically better results:
BEFORE: Make a chart.
AFTER: Create a bar chart showing monthly sales data for January through June. Use the values 12000, 15000, 9000, 18000, 22000, 17000. Label the Y-axis as 'Revenue ($)' and the X-axis as 'Month'. Use a blue color scheme.
BEFORE: Build a login page.
AFTER: Create a login page with email and password fields. Include a 'Remember me' checkbox and a 'Forgot password' link. Show error messages in red below each field if they're left empty. Center everything on the page with a max width of 400px.
BEFORE: Make it look better.
AFTER: Add 16px padding inside each card, a subtle gray border, and a slight shadow. Round the corners to 8px. On hover, make the card lift slightly with a smooth animation.
BEFORE: Fix the bug.
AFTER: When I click the submit button, nothing happens. The form should send the data and show a confirmation message. Check if there's a missing event listener on the button.
BEFORE: Add a database.
AFTER: Store the task list in the browser's localStorage so tasks persist between page refreshes. When the page loads, read tasks from localStorage. When a task is added or deleted, update localStorage. When you're not sure how to describe something, describe what a user would see and do. 'When a user clicks X, Y should happen' is almost always a clear enough instruction for the AI.
Getting Better Over Time
You'll get better at giving instructions naturally as you practice. Pay attention to which prompts produce good results and which ones don't. The pattern you'll notice: more context and specificity always wins. You're not learning to code — you're learning to communicate technical ideas clearly. That skill transfers to every area of your work.
Key Takeaway
Think of yourself as a project manager giving clear instructions to a skilled developer. Be specific about function, appearance, and behavior. Break big ideas into small steps and iterate.
Frequently Asked Questions
How detailed do my prompts need to be?
More detail is almost always better, especially for the first version. Once you have a working base, you can make smaller, less detailed requests for tweaks. The initial prompt should cover what it does, what it looks like, and how users interact with it.
What if I don't know the technical terms for what I want?
Describe it in plain language. Instead of saying 'add a modal dialog,' say 'when I click this button, show a popup box in the center of the screen with a dark overlay behind it.' The AI will figure out the technical implementation from your description.
Level up your AI coding every week
New tips, tool updates, and workflows every week. Stay ahead of what AI can do for your code.
We respect your privacy. No spam, ever.