<?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: newExpand</title>
    <description>The latest articles on DEV Community by newExpand (@newexpand).</description>
    <link>https://dev.to/newexpand</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%2F2929090%2Fd5cf5636-6f07-4a84-88f0-ccbfb88630ff.png</url>
      <title>DEV Community: newExpand</title>
      <link>https://dev.to/newexpand</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/newexpand"/>
    <language>en</language>
    <item>
      <title>Tired of Writing PRs Every Day? Let's Automate It with CLI! 🚀</title>
      <dc:creator>newExpand</dc:creator>
      <pubDate>Mon, 10 Mar 2025 18:22:00 +0000</pubDate>
      <link>https://dev.to/newexpand/tired-of-writing-prs-every-day-lets-automate-it-with-cli-5c3n</link>
      <guid>https://dev.to/newexpand/tired-of-writing-prs-every-day-lets-automate-it-with-cli-5c3n</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;I built a CLI tool that makes creating PRs as easy as committing code. It auto-generates PR descriptions using AI and automatically assigns reviewers!&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Did I Build This Tool? 🤔
&lt;/h2&gt;

&lt;p&gt;As a frontend developer with 2 years of experience, I often thought "Wouldn't it be great if creating PRs was as simple as committing code?" That's why I created this project. You can find it at &lt;a href="https://www.npmjs.com/package/newexpand-autopr" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/newexpand-autopr&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick Start 🚀
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install globally&lt;/span&gt;
npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; newexpand-autopr

&lt;span class="c"&gt;# Initialize in your project&lt;/span&gt;
autopr init

&lt;span class="c"&gt;# Create a new PR (as easy as git commit!)&lt;/span&gt;
autopr new
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Here's What It Solves! ✨
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;"If you're spending too much time writing PRs, automation is the answer!"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;🤖 AI-powered PR description generation&lt;/li&gt;
&lt;li&gt;🔄 Automatic PR creation based on branch patterns&lt;/li&gt;
&lt;li&gt;👥 Smart reviewer assignment system&lt;/li&gt;
&lt;li&gt;🌍 Supports English/Korean&lt;/li&gt;
&lt;li&gt;🔍 Conflict resolution guidance&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cool Features in Action 💻
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Automatic PR Creation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Commit changes with AI suggestions&lt;/span&gt;
autopr commit

&lt;span class="c"&gt;# Create PR automatically based on branch pattern&lt;/span&gt;
autopr new

&lt;span class="c"&gt;# Review PR with AI assistance&lt;/span&gt;
autopr review &amp;lt;pr-number&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Smart Reviewer Management
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Add a reviewer group with round-robin strategy&lt;/span&gt;
autopr reviewer-group add team-frontend &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"user1,user2"&lt;/span&gt; &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="s2"&gt;"round-robin"&lt;/span&gt;

&lt;span class="c"&gt;# List all reviewer groups&lt;/span&gt;
autopr reviewer-group list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  AI Features Setup
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Required for AI features
AI_PROVIDER=openai
AI_API_KEY=your-api-key
AI_MODEL=gpt-4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;🎯 &lt;strong&gt;Quick Note&lt;/strong&gt;: Currently, the AI features require an OpenAI API key to work. I'm actively working on integrating more AI providers and local models to make it more accessible. Your suggestions on this would be incredibly valuable!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Real User Experiences 💬
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;"Creating PRs is now as simple as committing code!"
"The AI-generated PR descriptions save me so much time"
"Following team conventions has become much easier"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;This project is still evolving, and your feedback is incredibly valuable. What features would you like to see? Let me know in the comments! As a relatively new developer, I'm learning and growing with this project, and your input helps shape its future. 😊&lt;/p&gt;

&lt;h1&gt;
  
  
  github #productivity #typescript #nodejs #automation #developertools
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;What's your biggest pain point when creating PRs? Share your thoughts in the comments below!&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;&lt;em&gt;Note: This is an open-source project aimed at making developers' lives easier. While some features currently depend on OpenAI's API, I'm committed to making the tool more accessible and versatile. Try it out and let me know what you think!&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
