Skip to content

Allow AI model to actually follow and respect instructions. #2188

@millionbonus

Description

@millionbonus

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

  1. Create a SKILL.md file that instructs the AI model to draft comit message. (and do not include co-author)
  2. Ask AI model to commit current changes.
  3. Ai model draft message that include Co-author trailer.
  4. Ask AI model to drop the Co-author trailer.
  5. Ai model drops the 'Co-author` trailer. (and commit)
  6. /exit ot exit Copilot CLI.
  7. Launch Copilot CLI again. and back to step2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions