create-pr
Skill67 starsChanged 59 days agoMITView on GitHub
Create a GitHub pull request from staged task changes or an already-committed current branch. Deliver source/config/ reference changes together with their computed source-owned `bin_artifacts` closure. PR validation routing is owned by the default-branch trusted workflow; snapshots, gamedata, and manifests are Release-derived only.
- Commits and pushes
197 other projects use a version of this.
Adopted by
Most recently taken up by
- RoboFinSystems/robosystemstheir own version, first seen Nov 30, 2026
- gerrymanoim/exchange_calendarstheir own version, first seen Nov 30, 2026
- RLinf/RPenttheir own version, first seen Nov 30, 2026
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- ktrz/skillstheir own version, first seen Nov 29, 2026
- indrazm/personal-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use update-pr, create-release-note 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 10 projects that use this
ModelEngine-GroupSkillcreate-release-note
从 PR/commit 中自动生成结构化的 Release Notes,并可选创建 GitHub Draft Release。支持 x.y.0 版本合并前一 minor 系列的 release notes。当用户要求生成发布说明、创建 release notes 时触发。参数为版本号和可选的上一版本号。
Also in 3 projects that use this
frostneySkilldelivery-wait
Provides deterministic, resumable GitHub transition waits used internally by delivery workflows. Use when another workflow must await CI, merge, tag, or release state without model heartbeats.
Also in 3 projects that use this
frostneySkillnative-nostalgia-stack
Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.
Also in 3 projects that use this
parkchuSkillstart-mission
넥스트스텝(NextStep) 미션을 처음 시작할 때, 미션 저장소를 fork·clone하고 최초 작업 브랜치(step1 등)까지 만들어 준다. gh CLI로 fork하고 clone까지 이어서 처리하며, gh가 없거나 인증이 안 돼 있으면 브라우저 Fork 안내로 폴백한다. 이미 fork/clone돼 있으면 재사용하고 이어서 진행한다(재실행 안전). 사용자가 "미션 시작하려는데 저장소 세팅해줘", "새 미션 시작할래", "fork부터 해줘", "/nextstep:start-mission" 등으로 요청할 때 사용한다.
Also in 3 projects that use this
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 3 projects that use this
- +1 more from frostney
- +1 more from microsoft
Other versions197 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 197
- microsoft/vscode★ 196ksame name
- vercel/next.js★ 144ksame name
- penpot/penpot★ 63ksame name
- remix-run/react-router★ 57ksame name
- moeru-ai/airi★ 52ksame name
- ToolJet/ToolJet★ 41ksame name
- ueberdosis/tiptap★ 39ksame name
- BabylonJS/Babylon.js★ 27ksame name
- kortix-ai/CompanyOS★ 21ksame name
- kortix-ai/suna★ 21ksame name
187 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 repository91 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- cleanup-workspaceSkill
- convert-finder-skill-to-preprocessor-scriptsSkill
- create-agent-skill-fallbackSkill
- create-cpp-testsSkill
- create-preprocessor-scriptsSkill
- dump-vtablesSkill
- find-CBaseEntity_GetChangeAccessorPathInfo_1Skill
- find-CCSBotManager_AddBot_BotNavIgnoreSkill
- find-CCSGameRules__sm_mapGcBanInformationSkill
- find-CCSPlayer_MovementServices_CheckJumpButton_WaterPatchSkill
- find-CCSPlayer_MovementServices_FullWalkMove_SpeedClampSkill
- find-CEngineClient_DumpNetStatsSkill
- find-CEngineClient_FindOrCreateWorldSessionSkill
- find-CEngineClient_GetStatsAppIDSkill
- find-CEngineClient_IsPlayingDemoSkill
- find-CEngineServer_GetAchievementMgrSkill
- find-CEngineServer_GetFrameTimeAmnesty-inlinedSkill
- find-CEngineServer_IsDedicatedServerSkill
- find-CEngineServer_IsLogEnabledSkill
- find-CEngineServer_KickClientSkill
- find-CEngineServer_ServerCommandSkill
- find-CEngineServer_SynchronizeAndBlockUntilLoadedSkill
- find-CEngineServiceMgr_GetAddonCountSkill
- find-CEngineServiceMgr_GetEngineWindowSkill
- find-CEngineServiceMgr_GetEventDispatcherSkill
- find-CEngineServiceMgr_RegisterPrerequisiteSkill
- find-CEntitySystem_Init-decompilesSkill
- find-CEntitySystem_m_EntityList-AND-CEntityIdentity_m_pInstance-AND-CEntityIdentity_m_EHandleSkill
- find-CEntitySystem_m_entityNamesSkill
- find-CGlobalVarsBase_realtime-AND-CGlobalVarsBase_curtimeSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState_AcquireSkill
- find-CLoopTypeClientServer_RefreshNetworkGameState-decompilesSkill
- find-CLoopTypeClientServer_RefreshNetworkGameStateSkill
- find-CNetChan_CanPacketSkill
- find-CNetChan_ProcessMessagesSkill
- find-CNetChan_SendMessages-inlinedSkill
- find-CNetChan_UpdateMessageStatsSkill
- find-CNetworkClientService_m_pGameClientSkill
- find-CNetworkGameServerBase_CheckTimeouts-decompilesSkill
- find-CNetworkGameServerBase_CreateFakeClientSkill
- find-CNetworkGameServerBase_GetChallengeTypeSkill
- find-CNetworkGameServerBase_ReplyChallenge-decompilesSkill
- find-CNetworkGameServerBase_ServiceQueueSkill
- find-CNetworkGameServer_GetFreeClientSkill
- find-CNetworkMessages_dtorSkill
- find-CNetworkMessages_FindOrCreateNetMessage-14197Skill
- find-CNetworkMessages_GetIsForServerSkill
- find-CNetworkMessages_LookupNetworkSerializationContextDataIdSkill
- find-CNetworkMessages_UnserializeMessageInternalSkill
- find-CNetworkMessages_vtable-decompilesSkill
- find-CNetworkStringTableContainer_RemoveAllTablesSkill
- find-CNetworkSystem_RemoveNetChannel-14197Skill
- find-CNetworkSystem_RemoveNetChannelByAddress-14197Skill
- find-CServerSideClientBase_GetUserIDStringSkill
- find-CSource2Server_Shutdown-decompilesSkill
- find-CSteam3ServerS1_InitGameServer-decompilesSkill
- find-GetCSWeaponDataFromKey-inlinedSkill
- find-INetworkGameServer_GetGameServerSteamIDSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 182 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 11
Create one pull request using exactly one delivery mode:
- Very specific: line 33
Run from the repository root and require an origin remote plus successful gh auth status.
- Distinctive: line 34
Never commit directly to main, force-push, amend existing commits, or use git add -A / git add ..
- Distinctive: line 46
Commit and push commands may take longer than an interactive timeout.
- Very specific: line 117
Do not run formatters or generators in this skill.
- Very specific: line 147
Verify the commit changed exactly INITIAL_STAGED_PATHS and the tracked worktree/index are clean.
- Very specific: line 177
If gamever was supplied, it may be included as descriptive context, not as evidence of local validation.
- Distinctive: line 180
Create exactly one PR against main:
“Common” is measured: kept by at least 6 in 10 of the 182 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 Pull Request
Create one pull request using exactly one delivery mode:
staged-delivery— commit the caller's explicitly staged source-owned change set, push adev*branch, and create the PR.committed-branch— push an existing clean non-mainbranch that is ahead oforigin/main, without rewriting or supplementing its commits.
Both modes preserve the captured source-owned change set. The PR workflow independently selects its validation path after the PR exists; this skill neither predicts nor influences that routing.
Inputs
gamever— optional descriptive value for the PR body. Never resolve or require it for local delivery.branch— optionaldev*branch name forstaged-delivery. If omitted onmain, derivedev-<topic>from the staged change. Ignore it incommitted-branch.commit_title— optional Conventional Commit title forstaged-delivery.pr_title/pr_body— optional PR text. Otherwise derive truthful text from the delivered diff and caller-supplied test results.issue— optional issue number. AddCloses #<issue>to the PR body.
Safety Rules
- Run from the repository root and require an
originremote plus successfulgh auth status. - Never commit directly to
main, force-push, amend existing commits, or usegit add -A/git add .. - Preserve unrelated untracked files and never stage them.
- Require zero unstaged tracked changes at invocation. This forbids partially staged paths and unrelated work.
- In
staged-delivery, the initial staged path list is the immutable authorized change set. It must include every affected/downstream canonical artifact underbin_artifacts/that belongs to the source/config/reference change. - Reject tracked
gamesymbols/**,gamedata/**,release-manifests/**, andbin/**/*.yaml; these are forbidden legacy or Release-derived namespaces, not PR deliverables. - In
committed-branch, require an empty index, a non-mainattached branch, at least one commit ahead oforigin/main, and a non-emptyorigin/main...HEADdiff. Never create a supplemental publication commit. - PR validation routing, including whether isolated rebuild and C++ validation run, belongs only to the trusted default-branch workflow after the PR exists. Do not classify or predict its validation path locally.
- Snapshot/gamedata publication runs only in the release pipeline. Never claim workflow-owned CI gates passed locally.
- Commit and push commands may take longer than an interactive timeout. Wait for their real exit status; do not infer success from elapsed time.
Step 1: Select and Guard the Delivery Mode
Record the current state and fetch the target branch:
git branch --show-current
git status --short
git diff --cached --quiet
git diff --cached --name-only
git diff --cached --name-status
git diff --cached --stat
git diff --name-only
git ls-files --others --exclude-standard
git remote
gh auth status
git fetch origin main --prune
git rev-parse HEAD
git rev-parse origin/main
git rev-list --count origin/main..HEAD
git diff --name-only origin/main...HEAD
git diff --name-status origin/main...HEAD
git diff --stat origin/main...HEADOn Windows PowerShell, use explicit argument arrays and capture $LASTEXITCODE for native commands. Do not use the
automatic $args variable as a named parameter:
function Run-Native {
param(
[Parameter(Mandatory)][string]$Name,
[Parameter(Mandatory)][string]$Executable,
[Parameter(Mandatory)][string[]]$CommandArgs
)
$output = & $Executable @CommandArgs 2>&1
$exitCode = $LASTEXITCODE
Write-Output "<<<$Name exit=$exitCode>>>"
if ($null -ne $output) { $output | ForEach-Object { $_.ToString() } }
Write-Output "<<<END $Name>>>"
}git diff --name-only must be empty in both modes. Untracked files may remain, but record and preserve them.
Mode A — staged-delivery
Exit 1 from git diff --cached --quiet proves staged changes exist. Save the exact cached path list as
INITIAL_STAGED_PATHS, review the cached diff for unrelated files or credentials, and derive the summary.
- On
main, validate the supplied/derived branch withgit check-ref-format --branch <dev-branch>and require it not to exist locally or onorigin. - On an existing
dev*branch whoseHEADequalsorigin/main, use that branch. - On any other branch, stop and ask the caller to use
mainor a suitabledev*branch.
Mode B — committed-branch
Exit 0 means the index is empty. Require an attached branch other than main, a valid branch name, an ahead count
greater than zero, a non-empty origin/main...HEAD diff, and a clean tracked worktree. Capture INITIAL_BRANCH,
INITIAL_HEAD, AHEAD_COUNT, and INITIAL_COMMITTED_PATHS. Read the full diff and log; never rewrite those commits.
For either mode, set PR_BRANCH, then reject duplicate open PRs:
gh pr list --state open --head <PR_BRANCH> --json urlStep 2: Revalidate the Authorized Index
Do not run formatters or generators in this skill. In staged-delivery, verify that the cached path list still equals
INITIAL_STAGED_PATHS and that no unstaged tracked path exists:
git diff --name-only
git diff --cached --quiet
git diff --cached --name-only
git diff --cached --stat
git diff --cached --checkRequire a non-empty staged diff, review it again, and stage nothing else. Explicitly reject any forbidden legacy/output
namespace listed in the Safety Rules. In committed-branch, apply the same path rejection to origin/main...HEAD, then require both index and
tracked worktree to remain clean and HEAD == INITIAL_HEAD.
Step 3: Create the Source Commit
In staged-delivery, create the validated branch when currently on main:
git switch -c <dev-branch>Derive or validate <type>(scope): <summary>: begin with a verb, keep it at most 100 characters, and omit the final
period. Commit exactly the existing staged index:
git commit -m "<commit_title>" -m "Co-Authored-By: Codex <codex@openai.com>"Verify the commit changed exactly INITIAL_STAGED_PATHS and the tracked worktree/index are clean. In
committed-branch, create no commit and require HEAD == INITIAL_HEAD.
Step 4: Push and Create the Pull Request
Immediately before push, require the intended branch, clean index/worktree, a positive ahead count, and a final
origin/main...HEAD path list equal to the captured source paths. In committed-branch, also require
HEAD == INITIAL_HEAD.
Push without force:
git push -u origin <PR_BRANCH>Build a truthful body from the delivered diff and caller-supplied validation evidence. Do not predict the workflow's validation path or claim its gates have already passed. A suitable shape is:
## Summary
- <behavioral change>
- <supporting change>
## Validation
- implementation-specific tests: <commands/results supplied by the caller>
- repository PR validation: delegated to trusted `source-artifact-required` / `pr-validate` CI
Closes #<issue>If gamever was supplied, it may be included as descriptive context, not as evidence of local validation. Omit the
issue line when absent.
Create exactly one PR against main:
gh pr create --base main --head <PR_BRANCH> --title "<pr_title>" --body "<pr_body>"Report the branch, commit SHA, pushed remote, PR URL, and final committed paths. For committed-branch, report
INITIAL_HEAD and the initial ahead count. If push succeeds but PR creation fails, report the remote branch and exact
failure; do not delete the branch or create another commit.
Checklist
- Exactly one delivery mode was selected and no unstaged tracked changes existed.
- The local commit contains the source/config/reference change and complete
bin_artifactsclosure. - No tracked snapshot, gamedata, release-manifest, or
bin/**/*.yamlpath was added. - The PR body does not predict the workflow-owned validation path or claim unrun CI results.
- No duplicate PR existed; the branch was pushed without force; exactly one PR was opened against
main.
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.

