Prompt file imported from kennedym-ds/copilot_orchestrator (
.github/prompts/commit.prompt.md). Copyright stays with the author.
Purpose
Generate a well-formatted conventional commit message from the current staged changes.
Instructions
- Load the current diff using the changes tool.
- Determine the commit type:
feat,fix,refactor,docs,chore,test,perf,ci,style. - Identify the scope from the affected area (e.g., agents, instructions, scripts, docs).
- Write a concise description in imperative mood, lowercase, no period, max 72 chars.
- Add a body explaining what and why (not how) if the change is non-trivial.
- Reference issues with
Closes #NorRefs #Nin footer if applicable. - Add
BREAKING CHANGE: descriptionin footer for breaking changes. - If changes span multiple concerns, suggest separate commits.
Output Format
A commit message in Conventional Commits format:
<type>(<scope>): <description>
[optional body]
[optional footer]
Examples:
feat(agents): add disable-model-invocation to translation sub-agentsdocs(guides): add Claude Agent session interop documentationfix(scripts): handle empty artifact directories in validation