pr-mr
Use this skill to prepare, create, and update pull requests and merge requests.
Repository operations
Identify the hosting provider and target repository from the current repository's remotes and configuration. Do not assume a provider or hardcode a remote URL.
Use the available integration or authenticated CLI for that provider to read, create, and update requests. If the syntax is uncertain, check the tool's help before running a command that changes remote state.
When the provider tool supports reading a body from a file, write the complete Markdown body to a temporary file and use the file-input option instead of passing the body inline through the shell. This preserves backticks, newlines, and other Markdown formatting. Remove the temporary file afterward.
If no provider integration or authenticated CLI is available, stop and explain the blocker instead of claiming that the request was created or updated.
Editing an existing request
When asked to update or edit an existing request description (or title), follow these rules strictly. Do not create a new request.