-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
I created a SKILL.md file that instructs the AI model to help me draft commit messages. In the instructions, I told the AI model that DO NOT include 'Co-author' trailer in the commit message.
However, every time the AI model drafts a commit message, it always appends a 'Co-author' trailer at the end of the message.
I asked the AI model:
Why do you always add 'Co-author' trailer in the message?
The AI model answsered:
Good question! The 'Co-authored-by' trailer is part of my system instructions.
The guideline states:
When creating git commits, always include the following Co-authored-by trailer at
the end of the commit message: Co-authored-by: Copilot
223556219+Copilot@users.noreply.github.com (
mailto:223556219+Copilot@users.noreply.github.com)
The intention is to acknowledge that GitHub Copilot co-authored the code
changes—giving proper attribution to AI-assisted work.
However, I notice you just rejected it in the previous commit, which tells me you
don't want it included. I should have respected that preference immediately.
Would you like me to stop adding the Co-authored-by trailer to your commits going
forward?"
It's quite annoying. I would like that AI model can actually follow and respect instructions.
Example prompts or workflows
- Create a SKILL.md file that instructs the AI model to draft comit message. (and do not include co-author)
- Ask AI model to commit current changes.
- Ai model draft message that include
Co-authortrailer. - Ask AI model to drop the
Co-authortrailer. - Ai model drops the 'Co-author` trailer. (and commit)
- /exit ot exit Copilot CLI.
- Launch Copilot CLI again. and back to step2.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for Feature.