Git Commit Message Writer

Write clear, conventional commit messages

beginner
codinggitworkflowbest-practices

Prompt Template

Write a git commit message for the following changes:

{changes}

Follow the Conventional Commits format:
- type(scope): description
- Include a body explaining WHY (not just what)
- Add breaking change notes if applicable

Types: feat, fix, refactor, docs, test, chore, perf

Variables

{changes}

Example: Added rate limiting to the /api/users endpoint using a sliding window algorithm. Previously there was no rate limiting.

Example Output

```
feat(api): add rate limiting to users endpoint

Implement sliding window rate limiting (100 req/min) on /api/users
to prevent abuse and ensure fair usage across clients.
```

Tips

  • Describe what changed AND why
  • Keep the subject line under 72 characters

More Prompts