core-commit
Installation
SKILL.md
WordPress Core Commit Message Skill
Draft commit messages for WordPress core following the official commit message guidelines at https://make.wordpress.org/core/handbook/best-practices/commit-messages/.
Inputs Required
Before drafting a commit message, gather:
- The GitHub PR URL - to read the PR description, diff, and props bot comment. Before asking the user, try to determine the PR URL from the current branch or context if possible.
- The Trac ticket number - usually linked in the PR description (e.g.
https://core.trac.wordpress.org/ticket/XXXXX) - Whether this is a backport - if so, note the branch and original changeset
- Whether the ticket is being fixed or just referenced - determines
FixesvsSee
Gathering Props
Props are critical. Be generous - nearly everyone who contributed deserves credit.