create-pr
Skill308 starsChanged 8 months agoMITView on GitHub
Stage, commit, push, and create GitHub PRs for the current branch — always main, then automatically cherry-picks to release/stable.
- Reads credentials
- Commits and pushes
91 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
- HLND2T/CS2_VibeSignaturestheir own version, first seen Oct 5, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- moeru-ai/auvtheir own version, first seen Oct 4, 2026
- kdy1/kdy1-scriptstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use update-pr, create-issue and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillupdate-pr
Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.
Also in 5 projects that use this
sahinSkillcreate-issue
Also in 9 projects that use this
anderson-c-santosSkillmerge-pr
Merge a GitHub PR after all checks pass. Trigger for: /merge-pr, merge PR, approve and merge, squash merge, ship PR. Verifies CI, draft state, and approvals, then merges with the correct strategy based on branch type.
Also in 3 projects that use this
SentrySkillfix-ci
Diagnose and fix failing CI on a PR. Load repo-setup first.
Also in 6 projects that use this
Microsoft AzureSkillreview-pr
Review a pull request for functional issues, coding guideline adherence, and best practices. Use this when asked to review, inspect, or provide feedback on a pull request (Azure DevOps or GitHub). Proposes comments for user approval before posting.
Also in 21 projects that use this
32103210Skillcreate-rule
Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.
Also in 3 projects that use this
Other versions91 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 91
- microsoft/vscode★ 196ksame name
- vercel/next.js★ 144ksame name
- ToolJet/ToolJet★ 41ksame name
- microsoft/aspire★ 6.3ksame name
- docker/docs★ 4.7ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- block/berd★ 962same name
- getsentry/toolkit★ 912same name
- ReflexioAI/claude-smart★ 782same name
- warpdotdev/common-skills★ 604same name
81 more not listed
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 repository8 other files it gives its agents.
- architectureSkill
- debug-agentSkill
- fix-dependenciesSkill
- knowledge-syncSkill
- pac-cli-updateSkill
- reviewSkill
- security-alertsSkill
- workitemSkill
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 82 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 26
Commit types: fix: feat: chore: build: docs:
- Very specific: line 109
Create a release branch off release/stable, cherry-pick all commits from the main branch, push, and open the paired PR.
- Distinctive: line 150
After printing both PR URLs, tell the user:
“Common” is measured: kept by at least 6 in 10 of the 82 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
Create PR
Assumes you are on the right branch with changes ready to commit (or already committed) and npm run ci has passed.
For CLI version bumps use /pac-cli-update — it handles dual PRs (main + release/stable) automatically.
For reviewing an existing PR use /review <number>.
Step 1 — Stage and commit (skip if already committed)
Stage files explicitly — never git add .:
git add <specific files>
git status # confirm nothing accidental staged
git commit -m "<type>: <description>"Commit types: fix: feat: chore: build: docs:
Step 2 — Push and create the main PR
git push -u origin HEAD 2>&1Capture the current branch name and the SHA(s) to cherry-pick:
MAIN_BRANCH=$(git branch --show-current)
COMMITS=$(git log origin/main..HEAD --reverse --format="%H")Pick the template matching what changed:
Dependency update (package.json / package-lock.json only)
gh pr create \
--base main \
--title "chore: update dependencies" \
--body "$(cat <<'EOF'
## Summary
- <what was updated and why>
## Dependencies updated
| Package | Before | After | Reason |
| ------- | ------ | ----- | ------ |
| ... | ... | ... | ... |
## Known limitations / follow-ups
- <accepted risks or deferred items>
## Test plan
- [ ] `npm install` clean
- [ ] `npm audit` — no new vulnerabilities introduced
- [ ] `npm run ci` passes (functional tests exempt)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"Feature / bug fix (src/ or gulp/ changes)
gh pr create \
--base main \
--title "<fix|feat>: <concise description under 70 chars>" \
--body "$(cat <<'EOF'
## Summary
- <what changed and why>
## Tasks affected
<!-- List any Azure DevOps tasks whose behaviour changed -->
## Architecture impact
<!-- If any layer boundary changed: task.json input names, bundleDependencies,
service connection schema, BuildToolsHost/RunnerParams interface -->
## Known limitations / follow-ups
- <anything accepted as risk or deferred>
## Test plan
- [ ] `npm run ci` passes (functional tests exempt)
- [ ] Manual pipeline run on DEV stage (if task behaviour changed)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"Capture the main PR number/URL from the output — you'll reference it in the release PR.
Step 3 — Cherry-pick to release/stable
Create a release branch off release/stable, cherry-pick all commits from the main branch, push, and open the paired PR.
RELEASE_BRANCH="${MAIN_BRANCH}-release"
git fetch origin release/stable 2>&1
git checkout -b "$RELEASE_BRANCH" origin/release/stable 2>&1
# Cherry-pick each commit from the main branch (in order)
for SHA in $COMMITS; do
git cherry-pick "$SHA" 2>&1
done
git push -u origin "$RELEASE_BRANCH" 2>&1Then open the release PR targeting release/stable:
gh pr create \
--base release/stable \
--title "<same title as main PR>" \
--body "$(cat <<'EOF'
## Summary
Cherry-pick of #<main-pr-number> to `release/stable`.
- <one-line description of what changed>
## Paired main PR
#<main-pr-number>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"Step 4 — Prompt user to queue the official build
After printing both PR URLs, tell the user:
Both PRs are open for review:
Main PR: https://github.com/microsoft/powerplatform-build-tools/pull/<n>
Release PR: https://github.com/microsoft/powerplatform-build-tools/pull/<m>
Once both are merged, queue the official build to sign and publish the package to the VS Marketplace:
https://dev.azure.com/dynamicscrm/OneCRM/_build?definitionId=21491
When queuing, set these pipeline variables:
- GITHUB_TOKEN GitHub PAT (repo scope, SSO enabled for 'microsoft' org)
- AZ_DevOps_Read_PAT PAT to read from the AzDO DPX-Tools-Upstream feed
- isEsrpEnabled true
- PUBLISH_TO_MARKETPLACE true
When the pipeline succeeds, the build automatically:
- Pushes a v<version> tag (e.g. v2.0.147) to the repo
- Signs and publishes the VSIXs to the VS Marketplace
- Creates a published GitHub Release with all 4 signed VSIXs attached, marked Latest
Verify the release at:
https://github.com/microsoft/powerplatform-build-tools/releases/tag/v<version>
If no GitHub Release shows up after a successful build, inspect the "Create GitHub release with VSIX assets" task in the ADO build logs — most likely cause is the GITHUB_TOKEN pipeline variable being missing, expired, or lacking `repo` scope / SSO authorization for `microsoft`.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

