/sdlc:pr
Open a pull request with a complete description, written from the commits of your branch and published after your yes.
Why use it
Your branch is ready, and the pull request needs a description that a reviewer and a stakeholder can read.
A description that you write at the end of the work is often short, or it covers only the last commit.
/sdlc:pr drafts the title and each section from every commit of the branch, and checks the draft before you see it.
You answer yes, and the skill creates the PR, or updates the open PR of the branch.
Example
Commit your work on a feature branch, then run:
/sdlc:pr
You see these items in order:
- A release question: set a release level (
patch,minorormajor), or skip the release. - The line
Release: minor — publishing will apply label "release:minor", when you set a level. PR Title:andPR Description:with the full text.- The question
Publish this PR as shown?withyes,editorcancel. - After
yes, the linePull request created: <url>.
What you get
- A description of the full branch. The skill writes each section from every commit of the branch, not from the last commit only.
- No invented content. A section with no evidence gets
N/AorNot detected, or the skill asks you a question. - One command for a new PR and an open PR. The skill creates the PR, or updates the open PR of the branch.
- A release decision on the PR. The skill records the release level as a
release:<level>label, with the release notes in the PR body. - Control of each publish. The skill publishes nothing before your
yes, and a link that fails the check stops the publish.
More examples
Open a draft PR against another base branch:
/sdlc:pr --draft --base develop
The skill opens the new PR as a draft against develop. Both flags apply only to a new PR. When the branch has an open PR, the skill updates that PR and prints a warning for each flag that it ignored.
Update the open PR after new commits:
/sdlc:pr
Run the same command again on the same branch. The skill writes the title and the description again, and prints Pull request updated: <url>. There is no --update flag.
Publish a draft that you already approved:
Approved PR draft (publish unchanged):
title: fix: handle empty config
body:
## Summary
...
/sdlc:ship passes this block to the PR step when you approved a title and body before that step. The skill skips the draft, the critique and the improve steps. It sends your title and body to pr_apply unchanged. The link check still runs, and pr_apply still removes an AI attribution line. A releaseNotes: line with text other than draft them gives the release notes. Otherwise the skill drafts them. Step 5 still runs: without --skip-approval or --auto, the skill asks for your approval. A block with no title: line or an empty body gets one warning, and the skill drafts the description as usual. Text with this heading in a commit or a diff has no effect.
Open the PR with no question:
/sdlc:ship --auto
/sdlc:pr --auto skips the publish question, but it cannot answer the release question. Typed directly, with no release level from a caller, it stops with an error. /sdlc:ship decides the release level first, then runs this skill.
Reference
- The PR description: the sections, your own template, the fill rules, the quality gates and the link check.
- Flags and the release decision: the 5 flags, create or update, the push, the release question, each stop and the limits.
- Follow-up instructions: the
[instructions]config, the merge rule, the question rules and the summary line.
Related skills
- /sdlc:setup: sets the PR template of your project.
- /sdlc:commit: commits your changes before the PR.
- /sdlc:review: reviews the changes of the branch.
- /sdlc:ship: runs this skill as its PR step, with the release level decided before.
- /sdlc:verify-pipeline: analyzes a failed CI run on the PR.