<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Harshil Kansagara</title>
    <description>The latest articles on DEV Community by Harshil Kansagara (@harshil_kansagara).</description>
    <link>https://dev.to/harshil_kansagara</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1179119%2Fbedee377-2d08-4750-b9cf-9e67fb0bf69a.jpeg</url>
      <title>DEV Community: Harshil Kansagara</title>
      <link>https://dev.to/harshil_kansagara</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/harshil_kansagara"/>
    <language>en</language>
    <item>
      <title>AI in SDLC: Why I Stopped Optimizing for Code Generation and Started Optimizing for Alignment</title>
      <dc:creator>Harshil Kansagara</dc:creator>
      <pubDate>Sun, 07 Jun 2026 12:35:07 +0000</pubDate>
      <link>https://dev.to/harshil_kansagara/ai-in-sdlc-why-i-stopped-optimizing-for-code-generation-and-started-optimizing-for-alignment-3d8f</link>
      <guid>https://dev.to/harshil_kansagara/ai-in-sdlc-why-i-stopped-optimizing-for-code-generation-and-started-optimizing-for-alignment-3d8f</guid>
      <description>&lt;p&gt;Over the past few months I built an AI-assisted delivery framework — not to write code faster, but to eliminate ambiguity across the entire software development lifecycle.&lt;/p&gt;

&lt;p&gt;The result completely changed how I think about AI in engineering.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem I kept hitting
&lt;/h2&gt;

&lt;p&gt;Every time I used AI to generate architecture docs, API contracts, or implementation plans across separate sessions, the outputs looked great in isolation. But viewed together? They were broken. A pivot in the system architecture was never reflected in the API contracts. Frontend assumptions silently diverged from backend data models.&lt;/p&gt;

&lt;p&gt;AI wasn't the problem. Treating it as a collection of disconnected prompt sessions was.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I built instead
&lt;/h2&gt;

&lt;p&gt;A governance-driven framework built on three layers:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt → Agent → Skill&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Prompt captures intent only — lightweight, declarative&lt;/li&gt;
&lt;li&gt;The Agent orchestrates execution and decides which capabilities to invoke&lt;/li&gt;
&lt;li&gt;The Skill is a reusable, schema-validated execution block with hardcoded governance rules&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This connects every delivery artifact into a sequential dependency chain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Business Requirements
    ↓
System Architecture
    ↓
Data Architecture
    ↓
Event Architecture
    ↓
API Contracts
    ↓
Implementation Plans
    ↓
Backend / Frontend Implementation
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each artifact consumes the one before it. Upstream changes automatically propagate downstream. Governance is enforced at the Skill layer — not buried in fragile prompts.&lt;/p&gt;

&lt;h2&gt;
  
  
  The finding that surprised me most
&lt;/h2&gt;

&lt;p&gt;The highest-leverage use of AI wasn't code generation.&lt;/p&gt;

&lt;p&gt;It was &lt;strong&gt;context generation&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;When engineers — or downstream agentic workflows — were given a governed, unambiguous spec, implementation quality was consistently higher than any raw AI-generated code output. The context was the unlock, not the syntax.&lt;/p&gt;

&lt;h2&gt;
  
  
  What failed
&lt;/h2&gt;

&lt;p&gt;I'm including this because most write-ups skip it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Over-orchestrating everything (not every workflow needs an agent loop)&lt;/li&gt;
&lt;li&gt;Prompt bloat as a substitute for real architecture&lt;/li&gt;
&lt;li&gt;Severely underestimating token costs at scale&lt;/li&gt;
&lt;li&gt;Believing full pipeline autonomy was a safe goal — it isn't&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Full write-up
&lt;/h2&gt;

&lt;p&gt;I covered the complete framework, the frontend design extraction layer, backend implementation with a real IAM module, the honest retrospective, and where this goes next in a detailed Medium article:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://medium.com/@harshil_kansagara/ai-driven-sdlc-beyond-code-generation-to-delivery-orchestration-bd87740f749b" rel="noopener noreferrer"&gt;AI-Driven SDLC: Beyond Code Generation to Delivery Orchestration&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would genuinely love to hear if others have run into the artifact drift problem and how you've handled it. Has anyone built something similar?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>softwareengineering</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
