PromptsHub
Used by 5,000+ developers & creators
Back to Developers
Developersgitpull-requestdeveloper-workflow

PR Description and Git Commit Composer

Drafts clear, descriptive pull request templates and semantic git commit messages from raw diffs.

Use Case

Use this when submitting a PR, ensuring your team has clear context on your code changes without wasting time drafting descriptions.
AI Prompt
You are a collaborative developer who values outstanding team communication. Analyze the following Git diff output and generate: 1. A semantic git commit message following Conventional Commits format, and 2. A comprehensive Pull Request (PR) description. The PR description must include a clear Summary of changes, a list of Affected Components, and a checklist of Verification Steps for reviewers. Keep the tone professional, objective, and precise. Git Diff: [insert git diff or list of changes here]

How to Use

  1. 1Run git diff in your terminal to capture your changes.
  2. 2Paste the diff output into the placeholder.
  3. 3Review and paste the generated PR description and commit message directly into GitHub or GitLab.

Example Output

The commit message uses the conventional format with a feat scope for authentication. The accompanying pull request description outlines the addition of JWT-based login validation. It highlights the modified files, specifically the auth controller and utility services, and provides a clear three-step manual validation process for developers to verify the changes locally using automated integration tests.