Muhammad Affan

An AI powered CLI tool that writes GitHub PRs for you

by

Bored of staring empty PR fields?? Try prcraft.

prcraft generates high quality PR titles and descriptions from the git diff including the surrounded context of the code.

The CLI auto-detects the upstream branch via priority (upstream -> origin -> main).

Includes code context in the prompt by 10 lines around the changed code.

Three templates (flags) to choose the desired response type:

  • -b (brief , used for small changes and bug fixes)

  • -d (detailed , used for feature inclusion or any framework level of integration)

  • -t (technical , a mix and balanced approach ) (This is the default mode)

GitHub : https://github.com/mohdaffann/prcraft

npm : https://www.npmjs.com/package/prcraft

Live : https://prcraft-site.vercel.app/

34 views

Add a comment

Replies

Be the first to comment