Skip to content

open-pr: never @mention anyone in a PR body - #55

Merged
vdsmon merged 3 commits into
mainfrom
fix/open-pr-no-mentions
Oct 20, 2026
Merged

vdsmon merged 3 commits into
mainfrom
fix/open-pr-no-mentions

Conversation

@vdsmon

@vdsmon vdsmon commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

open-pr now forbids @mentions in a PR body and stops talking about them. The team hears about a PR through other channels, so nobody acts on the GitHub ping and a mention only adds noise. The old mention prompts also made the agent keep telling the user there were none. This reverses the rule from #54.

What changes

  • The template asks for names without @, in one line.
  • The body checker fails on any @mention, instead of warning. It prints nothing when there is none.
  • The checker's --author option is gone. It existed only to catch a self-mention, which the new rule already fails.
  • The skill no longer lists mentions before publishing, and no longer asks whether someone needs a heads-up.

Tested

mise run verify and plugins/open-pr/tests/test-open-pr.sh pass.

vdsmon added 3 commits October 7, 2026 14:59
The team hears about a PR through other channels and nobody acts on the GitHub ping, so a mention only adds noise. The template now names people in plain words, the checker fails on any @mention, and the --author option, which existed only to catch a self-mention, is gone.
The skill still asked the user whether someone needs a heads-up, and the template explained the @ rule at length. Both kept mentions on the agent's mind, so it kept telling the user there were none. The checker still fails on an @mention, so the rule needs no explanation.

Claude-Session: https://claude.ai/code/session_011Xdd9yzsbk9spr5rq9wHb8
@vdsmon
vdsmon marked this pull request as ready for review October 20, 2026 19:38
@vdsmon
vdsmon merged commit d89202a into main Oct 20, 2026
1 check passed
@vdsmon
vdsmon deleted the fix/open-pr-no-mentions branch October 20, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant