Back to feed
Dev.to
Dev.to
5/12/2026
I built a CLI that writes my commit messages and PR descriptions for me

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

Short summary

Graftai is an open-source CLI that automates git workflow: generates conventional commit messages from diffs, PR titles/descriptions from commits, and handles merge conflicts with AI assistance. Supports OpenAI, Anthropic, Google, and Groq models with no subscription—users provide their own API keys. Install via npm and start using graft commit, graft pr, and graft sync commands.

  • Automates commit messages, PR descriptions, and merge conflict resolution with AI
  • Supports multiple AI providers (Anthropic, OpenAI, Google, Groq) with bring-your-own-key model
  • Open-source CLI available on npm with zero SaaS fees or subscriptions

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more