Welcome to Lesson 3. In the previous lesson, you learned about different team compositions, and we presented a framework that allowed you to decide which one will make more sense based on your project's blast radius, such as low-stakes or highly regulated project, and your company's team availability, such as specialist or generalist. In this lesson, you will learn how work transitions between those team members once the team is assembled and which process drives the activity. That is, do you understand where the work starts, who touches it next, and how it reaches a done state? Two identical teams with different team workflows will get different results. Most teams never actually choose a workflow. Instead, they usually inherit one, they add AI, and then they realize that the AI didn't make them more efficient. So they conclude that the AI is overhyped or not significantly increasing their productivity. By the end of this lesson, you'll be able to name several team workflows, understand their tradeoffs, and select the most appropriate one for your team. You'll be able to set up the foundations to adapt your team workflows and to make the most of the AI capabilities. You will cover two aspects of the workflow, which are the Collaboration Workflow and the Workflow Process. You will start with the Collaboration Workflow that defines how team members work together. You will learn about the three main ones, which are the Sequential Handoff, the Iterative manner, and the Parallel Team. collaboration. Then you will learn about the workflow process, which is the structure of how the project gets built. You will cover the five approaches shown here. Although there are more types of collaboration and processes in the real world, here we present a few of the most common ones. Keep in mind that any collaboration approach can be combined with any type of process. That said, some combinations are more effective than others. Let's start with the Sequential Handoff collaboration method. You may recall the seven stages of the software develop- lifecycle shown on the left. In this collaboration workflow, the work makes one end-to-end pass through the stages in order, similar to a relay race. Once a stage is complete, it is handed to the next stage. On the one hand, the main advantage is that it is easy to manage. At any point in time, you know which stage you are in and who is working on what. This is a sequential, one-thing-at-a-time kind of approach with a very clear structure. On the other hand, the drawback is that the chain moves only as fast as the slowest handoff, including all potential bottlenecks between tasks. At each handoff, there's a context leak, which is way more important when compared to before AI because the reasoning often lives in a chat with an agent nobody else sees. Also, the feedback comes late, which means that you learn the plan was wrong when you are already deep into building. Going back to our framework, we'll focus on these two inputs, which are the Coupling, remember that it defines if the work is tightly coupled or can be parallelized, and it's shown on the x-axis of the matrix on the right, and the Urgency, which is shown in the y-axis of the matrix. The sequential handoff type of collaboration is typically seen when you have cross-functional teams. You may also consider using this workflow with other team compositions when the project is not urgent, because this is a slower process of development, but also when you can parallelize the work so you work in a slice on each iteration of the full life cycle. This is highlighted in the bottom-left section of the matrix. Next, you have the iterative collaboration pattern. Instead of a relay, the PM and engineer co-author a shared artifact, like a specification document. In this case, there's minimal hand-off, since both members own the document and revisit in small and quick cycles. The image is showing a subset of the loops, including the short loops from adjacent stages and longer loops from non-adjacent ones. The key advantage is that the context lives in one place, owned by both people rather than degrading down a chain. Early on, you can determine the feasibility. For example, if the PM suggests something that is not realistic or practical, the engineer can bring their opinion before anything is built. Any misunderstandings can surface while it's still easy and cheap to address and remove the potential total amount of rework. A good spec allows you to properly align, and this becomes the best prompt you can provide to an agent. However, there is a need for significant upfront planning, and the collaboration does not scale well as the team grows. For example, you cannot effectively coauthor a spec with 10 people. Also, any disagreement between the PM and the engineer becomes a bottleneck if there are no structural tie-breakers. This collaboration is commonly seen in the PM-engineer composition. It can also be observed on other types of team compositions that have tightly-coupled specifications, where the work cannot be easily parallelized, regardless of the project's urgency. This is shown in the matrix on the right. The third and last collaboration workflow you will learn is the Parallel Team Collaboration. This consists of a fan-out, work in parallel, and converge approach, where the work is decomposed into slices, and each builder works in parallel on a slice using their own knowledge and agents. Multiple outputs converge for integration and review. The main advantage of this approach which is that it produces the most output in a reduced time since everyone is building in parallel. On the other hand, the integration and review becomes the actual bottleneck. There's also a risk of divergence where two builders do something reasonable and yet incompatible. It only works with a strong decomposition, a clear driving artifact agreed before the parallel work, which requires alignment and upfront planning. This form of collaboration is usually seen with Builder-Oriented Teams and can also be used on projects that are urgent and easy to parallelize. Let's go back to our case study and explore how the framework suggests an effective work collaboration for the three different features. The SMART CATEGORIES feature has to be completed within one month since the marketing team has committed to introducing this at a conference. As you can imagine, this is an urgent project, and the coupling is somewhere in the middle column, since parts of the work can be parallelized, which lands on iterative coauthoring. The Insights Sandbox project should present quarterly results, so it's a middle urgency. This work is simple to parallelize, since the team can work on different parts of the prototype in parallel and converge at the end. This is highlighted by a low coupling value, which lands on the Parallel Team Collaboration, where a dozen ideas fan out across many generalist builders at once. And finally, the tax form has a longer runway with the main priority being getting it right. This is an important yet a low-urgency project, and the work is well-defined, so different sections of the form can be parallelized. The framework suggests that we work with sequential handoffs. And here, you observe the side-by-side comparison. Take your time. We just covered the collaboration part of the workflow, which describes how work moves between the people in the team through the different stages of the project. Now, let's address the other half of the equation, which refers to the process that drives the work and the artifact behind it. In this case, we're going back to our framework, and we focus on the last two inputs. The spec ambiguity shown on the x-axis of the matrix ranges from a clearly defined or crisp to an unclear specification. And then you have the reversibility, which indicates how easily it is to reverse a bad implementation. In this section, you'll cover five common workflow processes. Let's start with prompt-driven development, or vibe coding. This is for sure the least structured approach. It consists of a live conversation with the AI agent. This allows fast starts and is great for quick explorations, but the spec is short-lived because it usually lives in the chat, so it cannot be reviewed or reproduced. It is useful for prototypes and MVPs where it's unclear what you are building and their results. are easily reversible. Then you have Demonstration-Driven development, that uses examples as inputs. Keep in mind that a mockup is better than 1,000 words, and agents generalize well from examples. This process is ideal for UI and style matching, where the specs are clear and the project is reversible. Third, you have Spec-Driven development, which is one of the most commonly used processes and the default for serious work. At least this is the one I use at my job. A specification is produced early with the help of AI, and has several advantages, such as eliminating ambiguity before it becomes code. It captures the why of the project, it supports cross-functional team alignments, it is readable by everyone, and it's also a guardrail for agents. and helpful where you don't have a fully fledged idea how to build a project or for higher-stake projects that are not easy to reverse. This specification is human-readable and creates a living document that is closer to intent. Fourth, we have Behavior-Driven development that uses Given / When / Then scenarios for user-facing behavior with a clear acceptance criteria. helpful when you have a sense of what you're building, but it's not fully-fledged out regardless of the reversibility. And last but not least, you have Test-Driven development. In this case, it creates executable tests first to drive the process, and the implementation is completed once the test passes. This is helpful when you have clear specifications for the project, and the outcome tends towards irreversibility. But keep in mind that sometimes you can combine several processes. For example, I often use both mockups from demonstration-driven development with the Spec-Driven development process to leverage the visual effect of demonstrations and the precision of well-written specifications. Both of them can serve as inputs for AI-enabled developments. And before we finish, let's go back to our case study. For the Smart Categories, the spec is not clear from the start. For example, how is the category suggestion implemented? Is it based on the customer's prior history or using data from similar customers? Is there ever a time when the application should not make a suggestion? Or how does it handle the cold start problem? The reversibility is somewhere in the middle since it is reversible, but not cheap to unwind once it's deployed to a customer. As a result, you select the spec-driven development process. The sandbox has a very ambiguous spec since you are implementing with potential functionalities. It is also highly reversible since it is all within the sandbox and will not reach the customer. Here, you could use a prompt-driven or vibe coding process. The 1099-NEC feature has a very clear spec because the IRS has very good guidance on how the form works, and it's mostly irreversible, since getting it wrong could be a huge compliance risk. Here, you land on test-driven development, so the natural driver is a suite of executable tests that check every line of the form against it. Here's the side-by-side comparison of the three features, focusing on the three different processes. To summarize, in this lesson you have learned three collaboration workflows and five workflow processes. The collaboration decides how work moves between team members, while the process decides how the product gets developed. All combinations can be used, and as you saw, some fit better than others. In the next lesson, you'll learn about decision owners and how you should determine which decisions can be delegated to the AI. See you there!