chore(commands): add /open-pr and /create-branch PR-workflow commands#670
Merged
Conversation
Two slash commands encoding our PR flow: /create-branch (branch off dev, prompts for the related issue) and /open-pr (ensure dev-based branch, commit by context, push, open PR to dev). Encodes our conventions: base dev, issue in branch name, split shared docs into their own PR, no attribution footers.
…l issue, versioning) Both commands now analyze the diff to pick the Conventional Commit type/scope (driving the semantic-release bump), prompt for the related issue as optional ([NO-ISSUE] fallback), keep one commit per scope, detect breaking changes, and never bypass commitlint. Sourced from CONTRIBUTING.md + commitlint.config.js.
…nd /create-branch Auto-loaded rule so PR/branch requests in natural language route to the /open-pr and /create-branch flows instead of ad-hoc git steps.
isaquebock
previously approved these changes
Jun 25, 2026
robsongajunior
requested changes
Jun 25, 2026
robsongajunior
left a comment
Contributor
There was a problem hiding this comment.
Should match to release and commit lint.
https://github.com/aziontech/webkit/blob/dev/packages/webkit/.releaserc#L18
If you want add
robsongajunior
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two slash commands that encode our PR workflow so anyone gets the same flow:
/create-branch— creates a branch offdev(nevermain) and prompts for the related issue (ENG-…), naming the branch<type>/<ISSUE>-<slug>./open-pr— end to end: ensures adev-based branch (runs the create-branch flow if ondev/main), commits the working changes by context, pushes, and opens the PR againstdev.Conventions baked in
dev; branch fromdev, notmain.Co-Authored-By/ attribution footers.Notes
/open-prreferences.claude/rules/imports.md(flat exports), which lands in #665.