<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/726c26e2f9a043afad8a282446dc34be&quot; frameborder=&quot;0&quot; width=&quot;1966&quot; height=&quot;1474&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1474</height><width>1966</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1474</thumbnail_height><thumbnail_width>1966</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/726c26e2f9a043afad8a282446dc34be-17396c72f107777b.gif</thumbnail_url><duration>170.484</duration><title>How I force AI to follow my architecture — Design is Code</title><description>In this video, I discuss the challenges of using AI to generate code, emphasizing that while AI can produce code quickly, it often makes mistakes that can lead to costly errors if not caught. To address this issue, I introduce design-as-code.ai, which allows for architectural design in sequence diagram format upfront, ensuring better collaboration and reducing exploitation. I demonstrate how to open a cloud code session to generate code and unit tests based on the sequence diagram, showcasing the interactions between various components. I encourage you to explore the generated files and tests to see how they validate the implementation effectively. Please consider adopting this approach to enhance your coding practices.</description></oembed>