Skip to main content

Git Commit Message and Changelog Automator

Set up Conventional Commits enforcement with automated changelog generation, semantic version bumping, and release-note drafting.

Vul de plaatshouders in

Edit the values, then copy your finished prompt.

Jouw Prompt
prompt.txt

                                

What this prompt does

This prompt sets up an automated commit-message and changelog system for a [language] project. It produces a Conventional Commits specification with your custom [commit_types], a commitlint configuration using [lint_tool], Husky pre-commit hooks to validate messages, automated CHANGELOG.md generation grouped by type, semantic version bumping driven by commit types, and GitHub Release draft automation with categorized notes. It also includes a commit-message template with scope suggestions for your [project_areas].

The structure works because it makes good release practices fall out of the commit history instead of being manual chores. Once commitlint, Husky, and semantic versioning are wired together, changelogs and version bumps generate themselves from how people already commit. By bundling a team onboarding guide that explains the conventions, the prompt addresses the real adoption blocker: getting everyone to write commits in a consistent, machine-parseable format. The commit-message template seeded with scopes from your [project_areas] removes the guesswork of what scope to use, and the GitHub Release draft automation categorizes notes by type so release announcements stop being a manual copy-paste exercise. Together these turn release housekeeping into a byproduct of normal work rather than a separate chore someone dreads.

When to use it

  • Your releases have become guesswork and you want changelogs generated from commits automatically.
  • You want to enforce Conventional Commits with your own [commit_types] across the team.
  • You need semantic version bumping tied to commit types rather than manual decisions.
  • You want GitHub Release notes drafted and categorized without hand-assembly.
  • You need scope suggestions for your [project_areas] to keep commit messages consistent.
  • You want an onboarding guide so the whole team adopts the conventions, not just you.

Example output

Expect a full configuration bundle: a Conventional Commits spec listing your [commit_types], a [lint_tool] commitlint config, Husky hook setup for message validation, a changelog-generation configuration grouped by type, semantic-versioning rules, GitHub Release draft automation, and a commit-message template seeded with scopes from your [project_areas]. A team onboarding guide explaining the conventions usually accompanies the config files.

Pro tips

  • Keep [commit_types] close to the conventional defaults plus a few real additions; an overgrown type list confuses contributors more than it helps.
  • Seed [project_areas] with your actual modules so the scope suggestions guide people toward consistent, meaningful commit messages.
  • Match [lint_tool] to your ecosystem so the commitlint config and Husky hooks integrate without friction.
  • Share the onboarding guide early, because the system only pays off once the whole team writes conformant commits.
  • Start with warnings before hard-failing commits, so the team adapts to the format without being blocked mid-flow.
  • Iterate by reviewing the first auto-generated changelog and tweaking the type-to-section grouping until it reads well.

Frequently Asked Questions

Does this enforce commit messages or just suggest a format?
It enforces them via commitlint and Husky pre-commit hooks, which reject commits that do not follow your `[commit_types]` and Conventional Commits rules. You can start with warnings before hard failures to ease adoption. Enforcement is local, so every contributor needs the hooks installed for it to apply consistently.
How does the changelog stay up to date?
It is generated from your commit history, grouping entries by type so that features, fixes, and other changes land in the right sections automatically. Because it derives from commits, the quality depends on contributors writing clear, conformant messages. You typically regenerate or update it as part of your release process rather than by hand.
Can it bump versions automatically?
Yes, it sets up semantic version bumping driven by your commit types, so fixes trigger patch bumps and features trigger minor bumps, for example. This removes guesswork from versioning, but you should review the proposed version before publishing, especially for breaking changes that need a major bump and clear release communication.
Will this work in a language other than the default?
The Conventional Commits and changelog concepts are language-agnostic, but the specific tooling, like commitlint and Husky, is Node-based and runs from your repository regardless of the project's primary `[language]`. You may need Node available for the hooks, so confirm that fits your environment before adopting the full setup.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

Meer in Git & GitHub Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

Claude Code Expert · Online

👋

Hey there!

Quick Actions

WhatsApp Instant reply

Chat on WhatsApp

+880 1723 741224 · Instant reply

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

[email protected]

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support