#TIL (Backup) GitHub Copilot to Generate Conventional Commit Messages
VSCode settings.json:
"github.copilot.chat.commitMessageGeneration.instructions": [
{ "text": "Use conventional commit format: type(scope): description." },
{ "text": "Use imperative mood: 'Add feature' not 'Added feature'." },
{ "text": "**Strictly use only lowercase English letters and safe English punctuation (like hyphens, commas, colons, and parentheses) in the commit message. Do not use uppercase letters or other languages' characters.**" },
{ "text": "Keep subject line under 50 characters." },
{ "text": "Use types: feat, fix, docs, style, refactor, perf, test, chore, ci." },
{ "text": "Include scope when relevant (e.g., api, ui, auth)." },
{ "text": "For additional details, use a well-structured body section." },
{ "text": "Use bullet points (*) for clarity." }
]