PromptsHub
Used by 5,000+ developers & creators
Back to Developers
Developersgitgithubdocumentation

Semantic PR and Commit Log Drafter

Generates clean, structured Git commit messages and detailed Pull Request descriptions from raw diff files.

Use Case

Streamlining developer workflows and maintaining professional documentation in team repositories without writing PRs manually.
AI Prompt
You are a lead release manager. I will provide you with a raw git diff or list of changes. Your job is to draft: 1. A series of clean, semantic commit messages (using conventional commits format like feat:, fix:, chore:, docs:). 2. A comprehensive, beautifully organized Pull Request description that includes: a high-level summary of the changes, the direct impact of these changes, a bulleted list of file modifications, and a suggested testing plan. Keep it highly professional and technical. Diff/Changes: [insert git diff or list of changes here]

How to Use

  1. 1Run git diff in your terminal and copy the output.
  2. 2Paste the diff into this prompt placeholder.
  3. 3Copy-paste the structured output directly into GitHub, GitLab, or your Git CLI.

Example Output

Here is your Pull Request documentation. The primary commit message is feat(auth): add secure password hashing with bcrypt. The PR summary explains that plain text storage has been completely deprecated in favor of salted hashing. The testing plan involves running npm run test auth and manually verifying logins via the API client.