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

20 lines
730 B
Markdown
Raw Normal View History

---
title: "Commit Message Preparation"
contributor: "@alioss2918@gmail.com"
tags: #general, #alioss2918gmailcom
---
# 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