Free preview of Module 1. Create a free account to unlock all 21 modules.

Free course › Module 1

Lesson 3 of 10 · 10 min

Treating your LLM like a software developer working for you.

A group of developers meeting around a table (a vibe coders meet up!)

When you're building software with an AI coding tool, it's helpful to shift your mindset a bit. Instead of thinking of your AI assistant as a simple tool, consider it more like a developer you've just hired. Imagine you're responsible for managing a software development project in the real world. How would you approach it? You wouldn't simply say, "Hey, build me an app that tells me what to wear based on a photo of my wardrobe," and expect flawless results. You can "vibe-code" from a prompt like that, but you will soon hit serious issues. Instead, you should go through a thoughtful process, carefully outlining your requirements, gathering input from different stakeholders, and continuously refining your project as you go along.


In a real-world scenario, imagine you're tasked with developing a new e-commerce platform. Before you write even a single line of code, you'd first gather input from various stakeholders to ensure the software you're building aligns with their expectations and needs. Each stakeholder typically has distinct areas of interest and priorities.

  • For instance, the business team might focus on core functionalities and revenue-generating features, such as seamless checkout experiences, robust inventory management, and integrated payment systems. They will want features that directly impact profitability, ease of use, and customer retention.

  • Meanwhile, the marketing team would likely emphasize user acquisition strategies, user experience, branding consistency, analytics, and integration with social media channels. They’d be concerned with how easily they can track user behavior, run promotional campaigns, and convert visitors into paying customers.

  • On the other hand, your finance team might focus on cost efficiency, budgeting, financial reporting capabilities, and scalable infrastructure. They will ask questions like, “How much will hosting cost?”, “Are there more cost-effective solutions?”, or “How do transaction fees affect our margins?” These considerations can directly impact which technologies you choose and how you design your platform to manage expenses effectively.

  • Finally, your operations and infrastructure team would likely emphasize reliability, scalability, and security. Their priority would be ensuring that the app can handle peak traffic during sales or promotional events, that it’s safe against cyber threats, and that customer data is managed securely and compliantly.

Each stakeholder's interests shape the final software. Bring their insights in early and your app ends up functional, financially viable and operationally sound. The clearer your instructions become, the better the code your AI writes.

Here's the best part: you can ask the AI to play each stakeholder and raise their concerns for your app. Claude Code and Codex can even hand each role to a subagent, a helper with its own fresh memory. For example: "Use three subagents to review this plan as the finance, marketing and security teams."


Now, bring that same disciplined approach into your interactions with an LLM. Rather than relying on brief or vague prompts, start your project by clearly defining your goals and breaking them down into manageable steps. Communicate these steps explicitly to the AI, just as you would brief a human developer. Plan mode in Claude Code is built for this: the AI writes a plan and changes nothing until you approve it. In Codex, ask it to plan and wait for your go-ahead. Each prompt should build logically upon the previous one, detailing exactly what you're looking for and providing context whenever possible.

This approach leads you toward creating a Product Requirements Document (PRD), a comprehensive guide that outlines every aspect of your software project. A well-crafted PRD includes user stories, feature descriptions, technical constraints, budget considerations, and deployment plans. When you're using an LLM, your PRD might begin as a simple series of structured prompts and gradually expand into a robust set of instructions that guide the AI to generate higher-quality, more accurate code.


Consider an example: Mike, a small-business consultant, wanted an app to streamline appointment scheduling. Instead of simply prompting, "Make me an appointment app so that customers can make appointments with me by going to a web page," That's the bare minimum to get started, but you won't get very far with that.

Trying a different way: Mike approached his LLM with a detailed vision. He first described the core functionalities clearly: an easy way for customers to create appointments, calendar integration, automatic reminders via email and SMS, basic customer information, and payment integration. Then, he refined his prompts based on specific feedback from test users and colleagues, just like he would when working with a traditional development team. The end result? A basic app to begin with, that he could build upon in stages that would add one feature at a time getting to the overall desired goal.

You just can't build this all in one prompt and expect something amazing. You need to break it into phases, and add features one by one, making sure the app works well through the entire build process.

The key takeaway here is that the more precise, structured, and thoughtful your instructions, the better your results. Treat your LLM as if it were your employee. Give it clear guidance, context, and iterative feedback, and you'll be amazed at what you can build together.


Questions to consider:

  • If you hired a developer today, what information would you provide them before they began working on your app idea? Hint: start with that PRD!
  • Draft a series of prompts to see how detailed they need to be? Where do you see gaps where more structure or clarity might improve your results? Stuck on what to write? Get your favourite LLM to help you and ask it for what you need!

Liking it?

A free account unlocks all 21 modules and saves your place. No card.

Use my email instead