TL;DR
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!
Why Did I Build This Tool? 🤔
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 https://www.npmjs.com/package/newexpand-autopr.
Quick Start 🚀
# Install globally
npm install -g newexpand-autopr
# Initialize in your project
autopr init
# Create a new PR (as easy as git commit!)
autopr new
Here's What It Solves! ✨
"If you're spending too much time writing PRs, automation is the answer!"
- 🤖 AI-powered PR description generation
- 🔄 Automatic PR creation based on branch patterns
- 👥 Smart reviewer assignment system
- 🌍 Supports English/Korean
- 🔍 Conflict resolution guidance
Cool Features in Action 💻
Automatic PR Creation
# Commit changes with AI suggestions
autopr commit
# Create PR automatically based on branch pattern
autopr new
# Review PR with AI assistance
autopr review <pr-number>
Smart Reviewer Management
# Add a reviewer group with round-robin strategy
autopr reviewer-group add team-frontend -m "user1,user2" -s "round-robin"
# List all reviewer groups
autopr reviewer-group list
AI Features Setup
# Required for AI features
AI_PROVIDER=openai
AI_API_KEY=your-api-key
AI_MODEL=gpt-4
🎯 Quick Note: 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!
Real User Experiences 💬
"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"
What's Next?
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. 😊
github #productivity #typescript #nodejs #automation #developertools
What's your biggest pain point when creating PRs? Share your thoughts in the comments below!
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!
Top comments (0)