<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by yachi on Medium]]></title>
        <description><![CDATA[Stories by yachi on Medium]]></description>
        <link>https://medium.com/@yaachi?source=rss-3b88bffc3d50------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*MnQnRjLpBKOU0E2p.jpg</url>
            <title>Stories by yachi on Medium</title>
            <link>https://medium.com/@yaachi?source=rss-3b88bffc3d50------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 05:37:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yaachi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Pull Request Description Should Not Be Generated From Git Diff]]></title>
            <link>https://medium.com/@yaachi/pull-request-description-should-not-be-generated-from-git-diff-d14ccfdb11cc?source=rss-3b88bffc3d50------2</link>
            <guid isPermaLink="false">https://medium.com/p/d14ccfdb11cc</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[cursor]]></category>
            <dc:creator><![CDATA[yachi]]></dc:creator>
            <pubDate>Sat, 30 Aug 2025 13:19:43 GMT</pubDate>
            <atom:updated>2025-08-30T13:19:43.091Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>TLDR</strong>: Give LLM context first, create simple plan, implement, then generate PR description. Don’t use git diff directly.</p><h3>The Problem</h3><p>If you use an LLM to generate pull request descriptions from git diff, it will only know implementation details. It won’t know:<br>- The background context<br>- The problem you’re solving<br>- Why this solution was chosen</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Evx5JkGUy-avDjyiALu-fA.png" /><figcaption>LLM cannot guess what real problem you are trying to solve</figcaption></figure><h3>Better Approach</h3><p>1. <strong>Provide Context First</strong><br> — Tell the LLM your background and the problem you’re solving<br> — Explain why this approach is needed</p><p>2. <strong>Create Simple Plan</strong><br> — Ask the LLM to generate a simple plan.md file<br> — Keep it concise — detailed plans sound AI-generated<br> — Iterate until it fits your exact situation</p><p>3. <strong>Implementation</strong><br> — Ask the LLM to work on the implementation<br> — Have it update the plan.md from time to time as work progresses</p><p>4. <strong>Generate Description</strong><br> — Ask the LLM to write the pull request description based on your context and plan<br> — Focus on “why” not just “what”<br> — Ask the LLM to add missing details (URLs, error messages, etc.)</p><h3><strong>What NOT to Do</strong></h3><p>- Don’t generate descriptions directly from git diff<br>- Don’t accept generic, template-sounding descriptions<br>- Don’t forget to review and edit the final output yourself</p><p>This ensures your descriptions provide meaningful context for reviewers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d14ccfdb11cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>