Menu

Post image 1
Post image 2
1 / 2
0

I built a CLI that writes my commit messages and PR descriptions for me

DEV Community·Elison Frankowski·20 days ago
#efDX7Wqy
Reading 0:00
15s threshold

For several years I've been writing commit messages like "fix stuff" and PR descriptions that say nothing useful. Last week I got tired of it and built graftai — a CLI that handles the annoying parts of git workflow after you finish coding. What it does graft commit # analyzes your diff, suggests a commit message graft pr # generates a PR title and description from your commits graft sync # syncs with main, resolves merge conflicts with AI graft config # set your provider, model, language and API key Enter fullscreen mode Exit fullscreen mode How it works You run graft commit , it reads your diff, sends it to the AI model of your choice, and suggests a conventional commit message. You approve, edit, or cancel. Analyzing diff... Suggested commit message: feat(auth): add JWT refresh token rotation with configurable expiry ? Use this message?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More