make-pr
Installation
SKILL.md
Publish a pull request
-
Resolve the current and default branches. If the current branch is the default branch or a placeholder, invoke
make-branchfirst. Stop if the intended changes are not committed. -
Inspect the commits and diff against the default branch. Write a Conventional Commit title under 70 characters and invoke
writing-pull-requestsfor the body. -
Check for an open PR from the current branch. Push with tracking; use
--force-with-leaseonly after an intentional history rewrite. -
Create the PR with
--assignee @me, or update its title and body, passing the body through a temporary--body-filedeleted afterward. Direct user invocations create a ready PR; autonomous invocations create a draft unless explicitly requested otherwise. -
Return the PR URL.