open-pull-request
Skill0 starsChanged 17 days agoMITView on GitHub
Checks the SDLC gates for the current branch and opens a pull request that carries the evidence, or writes the PR description to sdlc/<branch>/pr.md when no PR can be opened. Use when the user runs /sdlc:pr or asks to open, raise or prepare a pull request.
- Commits and pushes
4 other projects use a version of this.
Adopted by
Most recently taken up by
- AlexaDeWit/skillstheir own version, first seen Nov 1, 2026
- a-novel-kit/stacktheir own version, first seen Oct 13, 2026
- github/gh-awtheir own version, first seen May 27, 2026
- elastic/package-spectheir own version, first seen May 4, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- github/gh-aw★ 5.6ksame name
- elastic/package-spec★ 20same name
- a-novel-kit/stack★ 2same name
- AlexaDeWit/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- api-and-interface-designSkill
- browser-testing-with-devtoolsSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- constraint-driven-developmentSkill
- context-engineeringSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- frontend-ui-engineeringSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- incremental-implementationSkill
- interview-meSkill
- observability-and-instrumentationSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- sdlc-artifactsSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- using-agent-skillsSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Check the working tree: Run git status --porcelain.
- Distinctive: line 23
All gates pass: open a ready PR.
- Very specific: line 41
When gh auth status succeeds, origin is on GitHub, and viewerPermission is WRITE, MAINTAIN or ADMIN: git push -u origin HEAD, write the …
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Open a pull request
A PR is the end of the loop, so it should prove the loop ran. Paths, gates and the coverage
checklist are defined in sdlc:sdlc-artifacts.
Steps
- Resolve the folder. On the default branch or a detached HEAD, stop and ask for a feature branch.
- Check the working tree. Run
git status --porcelain. Uncommitted changes inside$DIR/are artifacts: commit them asdocs(sdlc): artifacts for <feature>. Any other uncommitted change: show it and ask the user to commit or stash it. Don't commit code on their behalf here. - Run the gates. Find the project's test and lint commands (its
CLAUDE.md,README, or CI config) and run them yourself for G4. Append the run to Test evidence. Show the gate table. - Decide readiness.
- All gates pass: open a ready PR.
- Any gate fails: name the failing gates and ask: fix first (recommended), or open a draft that lists the failures. Never open a ready PR with a failing gate.
- Write the title and body.
- Title: conventional-commit style, from the spec's objective, at most 72 characters.
- Body, in this order:
- Why: the spec's objective, linking
spec.md. - What changed: one line per task from
plan.md. - How it was tested: the latest Test evidence lines, verbatim.
- Gates: the gate table.
- Review: from
review.md, what was fixed and what was deferred, with reasons. - Out of scope: the spec's non-goals and any follow-ups.
- Why: the spec's objective, linking
- Choose the repo and base. The PR goes to the repository
originpoints at:gh repo view --json nameWithOwner,isFork,defaultBranchRef,viewerPermission. On a fork,ghwould otherwise target the parent, so always pass--repo <nameWithOwner>unless the user asks for the parent. The base is the branch the user named, else that repo's default branch. - Open it.
- When
gh auth statussucceeds,originis on GitHub, andviewerPermissionisWRITE,MAINTAINorADMIN:git push -u origin HEAD, write the body to a temporary file, thengh pr create --repo <nameWithOwner> --base <base> --title "<title>" --body-file <file>(add--draftwhen a gate failed). Print the PR URL. - Otherwise (no GitHub, no
gh, no network, or no write access toorigin, as in a plain clone of someone else's repo): write$DIR/pr.mdwith the title, base and body, and tell the user to paste it into their review tool. Without write access, also say why, and that a fork or a copy of their own would let them open a real PR. Never create a fork or a repo for them.
- When
- Tick nothing new.
/sdlc:pris not in the coverage list; the PR itself is the evidence.
Never
- Push to the base branch, force-push, or merge.
- Mark a failing gate as passing, or tick coverage lines for commands that didn't run.
- Pad the body with claims that aren't in the artifacts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

