Copilot Conventional Commits
I stumbled upon this Copilot configuration in a post by Loiane recently and have been using it ever since. I was new to the conventional commits standard, so this was helpful in automatically generating commit messages that align with the standard.
To add these instructions across all VS Code workspaces, add the following to your User 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": "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." }
]