Inspiration
As a developer myself, I know the pain that a developer has to go through to get a PR merged. Some of the pain points are -
- A lot of time spent on easy refactoring tasks.
- Reviewer unavailability.
- Reviewer nit picking.
- Time spent to carve out a useful description and change log of PR.
Lot of manual effort is involved in overcoming these problems. PR Assist automates this effort by using AI and assists the life cycle of a PR from writing code to getting it merged.
What it does
PR Assist is a combination of 7 features that let you manage the entire lifecycle of a PR by leveraging the power of AI.
(In case images below are too blur, you may refer this PDF)
- Create an AI generated branch from your existing code based on a prompt given by you, this gives you code to start, hence saving time. It can be used to address a bug, add new feature or refactor code.

- Create AI generated descriptions for your PR.

- Create AI generated change log for your PR.

- Create AI generated reviews of PR.

- Clear your doubts by asking questions related to the code in PR.

- Get suggestions for small 1 line changes.

- Automatically raise new revisions for your PR by asking PR Assist to act on its suggestions.

How we built it
This is built on Bitbucket's forge EAP. I am using using JS to built on forge. Additionally a node.js based service hosted on digital ocean is used to run the most time taking processes.
Challenges we ran into
AI responses take too long. Bitbucket EAP lacks certain features because of which I had to modify the features that I had first though of.
Accomplishments that we're proud of
This is the first AI based PR lifecycle manager for Bitbucket
What's next for PR Assist for Bitbucket
- Expansion to multiline automatic code editing.
- Automatic AI based PR approval for very small and simple changes.
Built With
- forge
- javascript
- node.js
- openai

Log in or sign up for Devpost to join the conversation.