{"id":3114,"date":"2025-08-03T22:58:54","date_gmt":"2025-08-03T22:58:54","guid":{"rendered":"https:\/\/sp2hari.com\/?p=3114"},"modified":"2025-08-03T22:58:55","modified_gmt":"2025-08-03T22:58:55","slug":"thoughts-working-with-ai","status":"publish","type":"post","link":"https:\/\/sp2hari.com\/index.php\/2025\/08\/03\/thoughts-working-with-ai\/","title":{"rendered":"Thoughts working with AI"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It&#8217;s almost a month of learning AI and building software along with AI. From understanding prompt engineering, evaluations to implementing RAG and awaiting fine-tuning opportunities, it&#8217;s been both exciting and humbling. As a solo developer using Cursor to build projects from scratch, here are my observations about the reality of AI-powered coding. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The Trust Balance<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There&#8217;s a constant juggle between trusting AI completely and maintaining healthy skepticism. My journey has been as follows:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Phase 1: Micromanagement<\/strong> &#8211; I started by reviewing every single diff AI produced, accepting changes one by one with careful scrutiny.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Phase 2: Blind Faith<\/strong> &#8211; Soon, it was the opposite extreme, trusting all AI-generated code and hitting Cursor&#8217;s &#8220;Keep all&#8221; option without hesitation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Phase 3: Automation Addiction<\/strong> &#8211; Then came the &#8220;Auto-run&#8221; mode, where I didn&#8217;t even want to wait to execute commands manually.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The Reality Check<\/strong> &#8211; Within days, my codebase had devolved into a tangled mess of spaghetti code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The lesson? AI is incredibly powerful, but it still needs human oversight. The sweet spot lies somewhere between paranoid review and blind acceptance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Knowledge Gap: When AI Writes Your Code<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There&#8217;s a fundamental difference between writing code manually and accepting AI-generated code. When you hand-craft every line, you maintain a mental map of your entire system. But with AI assistance, something unexpected happens:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can end up with files containing 1,000+ lines of code that you technically authored, yet you have no clear understanding of how functions interconnect or trace through the system. It&#8217;s like being the architect of a building you&#8217;ve never actually walked through. This creates a dangerous disconnect between authorship and understanding. The code works, but the developer loses their intuitive grasp of the system&#8217;s inner workings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Remember this xkcd joke? What if you don&#8217;t have any context to recollect in the first place. That&#8217;s what happened to me very soon.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/sp2hari.com\/wp-content\/uploads\/2025\/08\/Et9_8Xgh3qe7moAj3BIt5lFhNC-3q1UslU4d62FvvA4.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"267\" height=\"1024\" src=\"https:\/\/sp2hari.com\/wp-content\/uploads\/2025\/08\/Et9_8Xgh3qe7moAj3BIt5lFhNC-3q1UslU4d62FvvA4-267x1024.jpg\" alt=\"\" class=\"wp-image-3119\" srcset=\"https:\/\/sp2hari.com\/wp-content\/uploads\/2025\/08\/Et9_8Xgh3qe7moAj3BIt5lFhNC-3q1UslU4d62FvvA4-267x1024.jpg 267w, https:\/\/sp2hari.com\/wp-content\/uploads\/2025\/08\/Et9_8Xgh3qe7moAj3BIt5lFhNC-3q1UslU4d62FvvA4-78x300.jpg 78w, https:\/\/sp2hari.com\/wp-content\/uploads\/2025\/08\/Et9_8Xgh3qe7moAj3BIt5lFhNC-3q1UslU4d62FvvA4.jpg 320w\" sizes=\"auto, (max-width: 267px) 100vw, 267px\" \/><\/a><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Lazy Prompts, High Expectations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s an uncomfortable truth: we&#8217;re often lazy with our prompts while expecting AI to read our minds and deliver perfect results.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I started with overly generic prompts like &#8220;You are an expert prompt engineer&#8221; and so on. But soon the prompts change this &#8220;Fix this&#8221; and &#8220;Rewrite this function&#8221; and on. The reality is that AI output quality directly correlates with prompt quality. Garbage in, garbage out &#8211; but with a twist. AI is forgiving enough to produce <em>something<\/em> from vague prompts, which can mask the fact that we&#8217;re not communicating effectively.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Key Takeaways<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Maintain Strategic Oversight<\/strong> &#8211; Don&#8217;t swing between extremes. Develop a middle path where you leverage AI&#8217;s speed while maintaining architectural awareness.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Preserve System Knowledge<\/strong> &#8211; Regularly step back and ensure you understand the high-level structure of what&#8217;s being built, even if AI handles the implementation details. I might end up using some AI system to generate better documentation for this. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Invest in Better Prompts<\/strong> &#8211; Treat prompt engineering as a skill worth developing. Clear, specific, context-rich prompts yield dramatically better results. And build the patience to give better prompts every single time you interact with AI. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With a lot more AI development to come, I&#8217;m sure this post might get outdated over time. Exciting times!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><em>What&#8217;s been your experience with AI-assisted development? Have you found similar patterns in your own work?<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s almost a month of learning AI and building software along with AI. From understanding prompt engineering, evaluations to implementing RAG and awaiting fine-tuning opportunities, it&#8217;s been both exciting and humbling. As a solo developer using Cursor to build projects from scratch, here are my observations about the reality of &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3114","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/3114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/comments?post=3114"}],"version-history":[{"count":6,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/3114\/revisions"}],"predecessor-version":[{"id":3121,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/3114\/revisions\/3121"}],"wp:attachment":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/media?parent=3114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/categories?post=3114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/tags?post=3114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}