Awesome-ChatGPT-Prompts/prompts/general/commit_message_preparation_...

730 B

title contributor tags
Commit Message Preparation @alioss2918@gmail.com

Git Commit Guidelines for AI Language Models

Core Principles

  1. Follow Conventional Commits (https://www.conventionalcommits.org/)
  2. Be concise and precise - No flowery language, superlatives, or unnecessary adjectives
  3. Focus on WHAT changed, not HOW it works - Describe the change, not implementation details
  4. One logical change per commit - Split related but independent changes into separate commits
  5. Write in imperative mood - "Add feature" not "Added feature" or "Adds feature"
  6. Always include body text - Never use subject-only commits

Commit Message Structure