Skip to content

fix(prompts): restrict commit prompt to generator-only instructions#238

Merged
chep merged 1 commit intomasterfrom
fix-commit-message-prompt
Mar 16, 2026
Merged

fix(prompts): restrict commit prompt to generator-only instructions#238
chep merged 1 commit intomasterfrom
fix-commit-message-prompt

Conversation

@ncaq
Copy link
Collaborator

@ncaq ncaq commented Mar 16, 2026

Delete code reviewer instructions.
Because GPT-5 mini start code review instead of commit message generation.

Delete code reviewer instructions.
Because GPT-5 mini start code review instead of commit message generation.
@ncaq ncaq requested a review from Copilot March 16, 2026 05:13
@ncaq ncaq self-assigned this Mar 16, 2026
@ncaq ncaq added the bug Something isn't working label Mar 16, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the commit-message-generation prompt to remove “code reviewer” framing so the model focuses strictly on producing Conventional Commits-compliant commit messages.

Changes:

  • Rewrites the opening of copilot-chat-commit-prompt to explicitly define the assistant as a “commit message generator”.
  • Adds stronger constraint language (“ONLY task”) to prevent unintended code review behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@ncaq ncaq requested a review from chep March 16, 2026 05:16
@chep chep merged commit 1ecba19 into master Mar 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants