create-pr
Skill4.7k starsChanged 7 months agoApache-2.0View on GitHub
Push the current branch and create a pull request against docker/docs. Use after changes are committed and reviewed. "create a PR", "submit the fix", "open a pull request for this".
- Commits and pushes
91 other projects use a version of this.
Trending
Quiet this year.thin dataabout the whole repository
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
Who's talking about docker/docs
The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.
Used with
Projects with it also use update-pr, create-issue and 9 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
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
MicrosoftSkillupdate-skills
Check for and apply updates to installed skill branches from upstream.
Also in 3 projects that use this
- +2 more from microsoft
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
- 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
- r3bl-org/r3bl-open-core★ 485same 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 repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-readiness-auditSkill
- create-lab-guideSkill
- curate-whats-newSkill
- fix-issueSkill
- maintain-prSkill
- migrate-content-iaSkill
- researchSkill
- review-changesSkill
- review-prSkill
- testcontainers-guide-migratorSkill
- triage-issueSkill
- writeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 8 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 82 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
If this returns main or master, stop.
- Very specific: line 31
If git status --porcelain prints anything, there are uncommitted or unstaged changes.
- Very specific: line 43
If origin is your fork, use it.
- Distinctive: line 54
Before creating a PR for an issue, check whether that issue already has an open linked PR:
- Distinctive: line 62
If this returns an open PR that addresses the same issue, stop.
- Distinctive: line 93
Keep the body short. Reviewers need to know what changed and why — nothing else.
- Very specific: line 96
Use an accurate disclosure footer that names the active coding agent, for example Generated by Codex or Generated by Claude Code.
- Very specific: line 101
If the PR primarily edits a single page or a focused section of pages, add a @netlify stanza to the PR body (for example, just below the …
- Distinctive: line 116
Only add this when the change is focused on one page or section.
- Distinctive: line 121
When the change is focused, also add direct links to the deploy preview in the PR body so reviewers can jump straight to the affected pages.
- Very specific: line 136
Use the same source-path-to-URL mapping as the @netlify stanza above.
- Very specific: line 140
Use the Issues API for labels — gh pr edit --add-label silently fails:
- Distinctive: line 154
Verify the reviewer was assigned:
- Distinctive: line 161
If the team doesn't appear, use the API directly:
- Very specific: line 179
Always use Closes #NNNN (not "Fixes") for GitHub auto-close linkage
“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
Push the branch and create a properly structured pull request.
1. Verify the branch
Confirm you're on a dedicated branch, not the default branch:
git branch --show-current # must not be main or masterIf this returns main or master, stop. Create a branch and move your
commits onto it before continuing.
Confirm commits exist and the working tree is clean:
git log --oneline main..HEAD # confirm commits exist
git status --porcelain # must print nothingIf git status --porcelain prints anything, there are uncommitted or
unstaged changes. Stop and commit them — or unstage stray files like
package-lock.json — before opening a PR. Don't open a PR mid-edit.
2. Push the branch
Identify the remote that points at your fork. Inspect the remotes:
git remote -vIf origin is your fork, use it. If origin points at canonical
docker/docs (the upstream), push to your separate fork remote instead —
never push the branch to docker/docs directly:
FORK_REMOTE=origin # or the name of your fork remote if origin is upstream
git push -u "$FORK_REMOTE" <branch-name>3. Create the PR
Before creating a PR for an issue, check whether that issue already has an open linked PR:
gh api repos/docker/docs/issues/<issue-number>/timeline --paginate \
--jq '.[] | select((.event=="cross-referenced" or .event=="connected" or .event=="referenced") and .source.issue.pull_request and .source.issue.state=="open") | {url: .source.issue.html_url, title: .source.issue.title}'If this returns an open PR that addresses the same issue, stop. Don't open a duplicate PR; report the existing PR instead. Only proceed if there is no open linked PR, or if the existing PR clearly does not address the issue and you explain why in the new PR body.
Derive the fork owner dynamically from the same fork remote you pushed to:
FORK_OWNER=$(git remote get-url "$FORK_REMOTE" | sed -E 's|.*[:/]([^/]+)/[^/]+(\.git)?$|\1|')gh pr create --repo docker/docs \
--head "${FORK_OWNER}:<branch-name>" \
--title "<concise summary under 70 chars>" \
--body "$(cat <<'EOF'
## Summary
<1-2 sentences: what was wrong and what was changed>
Closes #NNNN
Generated by <active coding agent name>
EOF
)"Prefix the title with the change type to match repo convention — docs: for
documentation changes (or another scope like hub: when appropriate), for
example docs: fix broken link on install page.
Keep the body short. Reviewers need to know what changed and why — nothing else. Do not add a "Test plan" section — documentation PRs don't need one.
Use an accurate disclosure footer that names the active coding agent, for
example Generated by Codex or Generated by Claude Code.
Optional: Netlify preview entry path
If the PR primarily edits a single page or a focused section of pages, add a
@netlify stanza to the PR body (for example, just below the Summary). This
sets the entry path for the Netlify deploy preview so reviewers land on the
edited page instead of the site root:
@netlify /desktop/setup/install/The stanza takes a single published URL path. Derive it from the source file
path: drop the content/ prefix and .md suffix, strip the /manuals
segment, and add a trailing slash. For example,
content/manuals/desktop/setup/install/mac-install.md becomes
/desktop/setup/install/mac-install/.
Only add this when the change is focused on one page or section. Skip it for PRs that touch many unrelated pages — there is no useful single entry path.
Optional: Preview links
When the change is focused, also add direct links to the deploy preview in the PR body so reviewers can jump straight to the affected pages. The preview URL embeds the PR number:
https://deploy-preview-<pr-number>--docsdocker.netlify.app/path/to/page/The PR number isn't known until gh pr create returns, so add these links
after creating the PR by updating the body:
gh pr edit <pr-number> --repo docker/docs --body "..."Use the same source-path-to-URL mapping as the @netlify stanza above.
4. Apply labels and request review
Use the Issues API for labels — gh pr edit --add-label silently fails:
gh api repos/docker/docs/issues/<pr-number>/labels \
--method POST \
--field 'labels[]=status/review'Request review:
gh pr edit <pr-number> --repo docker/docs --add-reviewer docker/docs-teamVerify the reviewer was assigned:
gh pr view <pr-number> --repo docker/docs --json reviewRequests \
--jq '.reviewRequests[].slug'If the team doesn't appear, use the API directly:
gh api repos/docker/docs/pulls/<pr-number>/requested_reviewers \
--method POST --field 'team_reviewers[]=docs-team'5. Report
Print the PR URL and current CI state:
gh pr view <pr-number> --repo docker/docs --json url,state
gh pr checks <pr-number> --repo docker/docs --json name,stateNotes
- Always use
Closes #NNNN(not "Fixes") for GitHub auto-close linkage - One issue, one branch, one PR — never combine
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.

