<?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: PR Pilot</title>
    <description>The latest articles on DEV Community by PR Pilot (@pr-pilot).</description>
    <link>https://dev.to/pr-pilot</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%2Forganization%2Fprofile_image%2F9028%2F319b3fbd-a754-4308-ad6d-02522227162f.jpg</url>
      <title>DEV Community: PR Pilot</title>
      <link>https://dev.to/pr-pilot</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pr-pilot"/>
    <language>en</language>
    <item>
      <title>Mastering PR Descriptions: Make Your PRs Stand Out</title>
      <dc:creator>Marco Lamina</dc:creator>
      <pubDate>Sat, 07 Sep 2024 00:02:21 +0000</pubDate>
      <link>https://dev.to/pr-pilot/mastering-pr-descriptions-make-your-prs-stand-out-efe</link>
      <guid>https://dev.to/pr-pilot/mastering-pr-descriptions-make-your-prs-stand-out-efe</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;Learn how to generate &lt;strong&gt;beautiful and comprehensive descriptions&lt;/strong&gt;  effortlessly for even the largest pull requests in minutes using &lt;strong&gt;&lt;a href="https://www.pr-pilot.ai" rel="noopener noreferrer"&gt;PR Pilot&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Good PR descriptions are crucial&lt;/strong&gt; for effective collaboration and project management. But they can be &lt;strong&gt;time-consuming and tedious to write&lt;/strong&gt;. Enter &lt;strong&gt;&lt;a href="https://www.pr-pilot.ai" rel="noopener noreferrer"&gt;PR Pilot&lt;/a&gt;&lt;/strong&gt; – your new best friend for creating consistent, clear, and beautiful PR descriptions effortlessly.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it will look like
&lt;/h2&gt;

&lt;p&gt;Here is a &lt;a href="https://github.com/PR-Pilot-AI/pr-pilot/pull/210" rel="noopener noreferrer"&gt;real-life example&lt;/a&gt; with &lt;strong&gt;14 commits and 19 changed files&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F373ehij9konsrpva6thi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F373ehij9konsrpva6thi.png" alt="Image description" width="800" height="541"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The title and description were &lt;strong&gt;generated by PR Pilot in seconds&lt;/strong&gt;. The PR description is clear, concise, and informative, making it easy for reviewers to understand the changes made.&lt;/p&gt;


&lt;div class="ltag_asciinema"&gt;
  
&lt;/div&gt;


&lt;h2&gt;
  
  
  Benefits of Using Generative AI for PR Descriptions
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;📝 &lt;strong&gt;Consistency&lt;/strong&gt;: Ensures that all your PR descriptions follow a consistent format by storing the instructions as part of your code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;⏱️ &lt;strong&gt;Time-saving&lt;/strong&gt;: No more spending hours crafting the perfect PR description. PR Pilot does it for you in seconds!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;🎨 &lt;strong&gt;Customizable&lt;/strong&gt;: Use our customizable &lt;a href="https://github.com/PR-Pilot-AI/core/blob/main/prompts/generate-pr-description.md.jinja2" rel="noopener noreferrer"&gt;prompt template&lt;/a&gt; to tailor PR descriptions to your project's specific needs.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft0e3wdq2a64m3sp2c6wq.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft0e3wdq2a64m3sp2c6wq.gif" alt="Satisfied Meme" width="164" height="168"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How it Works
&lt;/h2&gt;

&lt;p&gt;It's dead simple. All you do is run &lt;code&gt;pilot run pr-description&lt;/code&gt; and:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The agent asks you for the PR number&lt;/li&gt;
&lt;li&gt;It will read the PR description, comments, commits and code changes&lt;/li&gt;
&lt;li&gt;It will generate a new PR description based on your preferences&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
  See customizable prompt used for generating the description
  &lt;br&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;I've made some changes and opened a new PR: #{{ env('PR_NUMBER') }}.

I need a PR title and a description that summarizes these changes in short, concise bullet points.
The PR description will also be used as merge commit message, so it should be clear and informative.

Use the following guidelines:

&lt;span class="gu"&gt;## PR Title&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; Start with a verb in the imperative mood (e.g., "Add", "Fix", "Update").
&lt;span class="p"&gt;-&lt;/span&gt; Put an emoji at the beginning that reflects the nature of the changes

&lt;span class="gu"&gt;## PR Body&lt;/span&gt;
&lt;span class="p"&gt;
-&lt;/span&gt; At the very top, provide short paragraph summarizing the changes and their impact.
&lt;span class="p"&gt;-&lt;/span&gt; Below, list the changes made in bullet points.
&lt;span class="p"&gt;-&lt;/span&gt; Use bold text instead of sections/sub-sections to separate the bullet points into topics
&lt;span class="p"&gt;-&lt;/span&gt; There should be no more than 3-4 topics
&lt;span class="p"&gt;-&lt;/span&gt; Use the present tense and the active voice.
&lt;span class="p"&gt;-&lt;/span&gt; Be specific - Include names, paths, identifiers, names, versions, etc
&lt;span class="p"&gt;-&lt;/span&gt; Where possible, make file names/paths clickable using Markdown links. Use this format for the URL: &lt;span class="sb"&gt;`https://github.com/&amp;lt;github_project&amp;gt;/blob/&amp;lt;pr_branch&amp;gt;/&amp;lt;file_path&amp;gt;`


&lt;/span&gt;&lt;span class="gh"&gt;# Your task&lt;/span&gt;
Edit PR #{{ env('PR_NUMBER') }} title and description to reflect the changes made in this PR.
Respond only with a link to the PR.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;




&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Get Started
&lt;/h2&gt;

&lt;p&gt;Getting started with PR Pilot is a breeze! Follow these simple steps:&lt;/p&gt;

&lt;p&gt;1️⃣ &lt;strong&gt;Install the CLI&lt;/strong&gt; via Homebrew&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;brew tap pr-pilot-ai/homebrew-tap
brew &lt;span class="nb"&gt;install &lt;/span&gt;pr-pilot-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;2️⃣ &lt;strong&gt;Grab the prompt&lt;/strong&gt;: Download the &lt;a href="https://github.com/PR-Pilot-AI/core/blob/main/prompts/generate-pr-description.md.jinja2" rel="noopener noreferrer"&gt;prompt template&lt;/a&gt; from our core repo:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pilot grab commands pr-pilot-ai/core
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="ltag_asciinema"&gt;
  
&lt;/div&gt;



&lt;p&gt;3️⃣ &lt;strong&gt;Customize the template&lt;/strong&gt;: Adjust the downloaded prompt template to suit your project's needs.&lt;/p&gt;

&lt;p&gt;4️⃣ &lt;strong&gt;Run the prompt&lt;/strong&gt;: Generate a PR description with a single command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pilot run pr-description
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="ltag_asciinema"&gt;
  
&lt;/div&gt;



&lt;h2&gt;
  
  
  Links / Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.pr-pilot.ai/user_guide.html" rel="noopener noreferrer"&gt;User Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/PR-Pilot-AI/demo" rel="noopener noreferrer"&gt;Demo Repo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ready to transform your PR descriptions? 🚀 Give PR Pilot a try today and experience the difference! Share your experiences and tips in the comments below. Let's make PR descriptions beautiful together! 💬✨&lt;/p&gt;




</description>
      <category>github</category>
      <category>ai</category>
      <category>productivity</category>
      <category>cli</category>
    </item>
  </channel>
</rss>
