On pull request open and on every push, reads the full diff and proposes the squash-merge commit message the PR should carry: conventional-commit type and scope derived from what actually changed, a subject line describing the effect rather than the activity, a body explaining why, and the correct BREAKING CHANGE footer when the diff contains one.
- Identifier
commit-message-rewriter- Version
- 1.0.0
- Steps
- 3
- Triggers
- 2
- commits
- conventional-commits
- squash-merge
- history
- pull-request
- automated
When it runs
pull_request.opened- Settle delay
- 15s after the event
Only when all hold
- pullRequest.isDraft not equals true
- actor.username not in dependabot, dependabot[bot], renovate, renovate[bot], github-actions, github-actions[bot]
- actor.username not contains [bot]
pull_request.synchronize- Settle delay
- 15s after the event
Only when all hold
- pullRequest.isDraft not equals true
- actor.username not in dependabot, dependabot[bot], renovate, renovate[bot], github-actions, github-actions[bot]
- actor.username not contains [bot]
The pipeline
The graph below is the one the workflow opens with in the builder — same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.
- 01PR Opened / Synchronized
triggerThe event that starts the run.
- 02Propose Squash-Merge Message
agent.runOne agent works the task with its toolkit.
- 03Publish Commit Message Proposal
report.publishPosts or updates a deduplicated report comment.
The agent
Commit Message Writer
- Base type
- Tech Writer
- Temperature
- 0.2
- Max iterations
- 25
- Tools
- 5
Git provider · 4
get_pull_request_diffGet Pull Request Diff · readread_pull_requestRead Pull Request · readupdate_pull_requestUpdate Pull Request · writecreate_issue_commentCreate Issue Comment · write
Status · 1
update_statusUpdate Status · write
Related playbooks
Backport to Release Branch
Label a merged PR `backport/<version>` and the playbook opens a matching backport PR.
Fix Review Comments
Comment /fix-comments on a PR and an agent implements the requested review changes on the branch.
Accessibility Audit
Reviews UI PRs for accessibility defects, posts inline threads citing WCAG criteria, and submits a summary review.