prepare-pr
Skill557 starsChanged 40 days agoMITView on GitHub
Prepare, create, or update a PokeTokenBar pull request with an English Conventional Commits title, the repository PR template, and mandatory images for visible UI changes. Use for requests such as "PR 올려줘", "PR 만들어줘", "PR 본문 작성", "PR 수정", "create PR", or "update PR" in this repository.
- Commits and pushes
12 other projects use a version of this.
Adopted by
Most recently taken up by
- dativo-io/talontheir own version, first seen Oct 25, 2026
- WikiEducationFoundation/WikiEduDashboardtheir own version, first seen Oct 9, 2026
- TermiX-official/cryptoclawtheir own version, first seen Oct 8, 2026
- mengxi-ream/read-frogtheir own version, first seen Oct 8, 2026
- atsushi-green/ds-ai-coding-skillstheir own version, first seen Sep 25, 2026
- NVIDIA/NeMo-Fabrictheir own version, first seen Sep 16, 2026
Used with
Projects with it also use review-pr.
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.
DockerSkillreview-pr
Review one or more incoming Docker documentation pull requests as a maintainer. Independently validate technical claims, assess editorial fit and information architecture, choose a verdict, and draft exact inline or PR-wide feedback behind a confirmation gate. Use for requests such as "review PR 123", "is this PR correct?", "does this information belong here?", "validate this PR", or "help review backlog PRs". Do not use to maintain or fix a PR you own; use maintain-pr for that.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- mengxi-ream/read-frog★ 10ksame name
- WikiEducationFoundation/WikiEduDashboard★ 431same name
- NVIDIA/NeMo-Relay★ 238same name
- TermiX-official/cryptoclaw★ 100same name
- atsushi-green/ds-ai-coding-skills★ 86same name
- NVIDIA/NeMo-Fabric★ 73same name
- neul-labs/openclawMU★ 33same name
- dativo-io/talon★ 18same name
- pnnl/adept-agentic★ 2same name
- andreilupu/my-claude-skills★ 1same name
2 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.
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 7 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this repository's title and template rules even when a personal PR skill is also active.
- Distinctive: line 11
Run commands from the repository root.
- Very specific: line 15
Read CONTRIBUTING.md and .github/PULL_REQUEST_TEMPLATE.md before preparing or updating the PR.
- Very specific: line 20
Write the title and body in English.
- Very specific: line 25
Start the body from the current template.
- Very specific: line 29
Keep the body in a UTF-8 file and pass it with gh ...
- Distinctive: line 39
Never use this declaration to excuse missing images for a visible change.
- Distinctive: line 48
If images are not ready, create them yourself as part of preparing the PR.
- Distinctive: line 73
Read the selected harness before using its output.
- Very specific: line 80
Use Markdown images such as !After — sample-data render in the template's Before/After table, without code formatting or four-space …
- Distinctive: line 92
Keep publication pending only when a concrete failure (such as unavailable GitHub authentication, a network failure, or no usable …
- Very specific: line 96
Do not remove UI changes to bypass missing images.
- Distinctive: line 101
Run the shared local checker against the chosen base ref and the body file:
- Very specific: line 107
Add --ui-changes for visible changes outside the UI directory.
- Distinctive: line 119
After publication, read back the title and body and inspect the image rendering on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 11 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
Prepare a PokeTokenBar PR
Use this repository's title and template rules even when a personal PR skill is
also active. The shared instructions live here; Claude Code discovers them via
.claude/skills/prepare-pr, and Codex via .agents/skills/prepare-pr.
Run commands from the repository root. Paths below are relative to that root.
Title and body
Read CONTRIBUTING.md and .github/PULL_REQUEST_TEMPLATE.md before preparing or
updating the PR. Resolve the actual target repository and base branch, then read
the complete base...HEAD diff and base..HEAD commit range. Do not summarize
only the last commit or use unrelated work already on the branch as new work.
Write the title and body in English. Use a Conventional Commits title such as
fix(home): retain idle usage history or docs: require UI images in PRs.
Choose a type and optional scope that describe the final change; do not copy a
ticket prefix or a personal skill's title convention over repository rules.
Start the body from the current template. Fill Summary, select the actual
Type of change, and retain the template's checklist. Check an item only when
the performed work supports it; leave tests unchecked if they were not run or
added, and explain why when relevant. Report actual validation and limitations.
Keep the body in a UTF-8 file and pass it with gh ... --body-file.
Mandatory UI images
Decide whether the full diff changes visible UI. Inspect changes outside
Sources/PokeTokenBar/UI/ too: data, localization, resources, and settings can
change what users see. A change inside that directory triggers the local image
check; an outside change with visible effects needs --ui-changes. For changes
inside the UI directory that have no visible effect (such as comments or an
equivalent refactor), inspect the full diff and use --no-ui-changes '<reason>'.
Never use this declaration to excuse missing images for a visible change.
For every affected screen or state, embed images directly in UI changes:
- Existing screens: before and after images of the relevant state.
- New screens: explain that no previous screen exists and embed the new screen.
- Removed screens: show the previous screen and the resulting replacement or parent screen after removal.
If images are not ready, create them yourself as part of preparing the PR. Reuse accurate existing images or capture the app; when capture is impractical, render the relevant UI locally or draw it based on the actual change. Inspect the result and attach it. Do not stop, ask the user to provide images, or request separate permission merely because no image already exists. An authorized PR creation/update includes producing and attaching its required UI images; a local title/body preparation request keeps the generated images local too.
Actual app screenshots, local renders of production UI, and images drawn to
illustrate the changed UI are all accepted. Label them App screenshot,
Sample-data render, or Illustration / mockup as appropriate. Reuse existing
images only if they accurately depict the relevant version and state. Show the
change, not an unrelated app overview. Keep comparable data, language, theme,
and dimensions where practical. Inspect the generated images before using them;
an illustration demonstrates the design, not proof that the app was tested.
Existing local render harnesses can help when the running app is difficult to capture. Create a temporary output directory, then use the relevant harness:
PTB_SCREENSHOT_DIR=<existing-dir> swift test --filter ScreenshotGenTests
PTB_ZERO_USAGE_SCREENSHOT_DIR=<existing-dir> swift test --filter ZeroUsageHomeRenderingTests
PTB_COLLECTION_SCREENSHOT_DIR=<existing-dir> swift test --filter CollectionReadabilityRenderingTestsRead the selected harness before using its output. Some AppKit controls and scroll views do not render faithfully in tests; capture the running app when those details are the change being demonstrated. Capture/render the base and head separately when no accurate before image exists; do not reset the user's working tree to obtain a before image. Do not regenerate release screenshots merely to prepare a PR.
Use Markdown images such as  in the
template's Before/After table, without code formatting or four-space indentation.
Local paths and ordinary hyperlinks do not embed
usable images on GitHub. Upload through GitHub's PR editor when available, or
use an existing accessible image URL. If committing images is appropriate,
use a GitHub raw URL at their exact pushed commit and inspect the images for
private data and this repository's asset restrictions first. Do not publish
images to an unrelated host or change global tools/settings for this task.
Text alone never satisfies the UI requirement, including draft PRs. A missing
image or failure of one capture/upload method is not a publication blocker:
try the suitable available generation and attachment alternatives above.
Keep publication pending only when a concrete failure (such as unavailable
GitHub authentication, a network failure, or no usable attachment route) still
prevents completion. Then report what was attempted, the remaining blocker,
and the specific user action needed, retaining the prepared title/body/images.
Do not remove UI changes to bypass missing images. Remove that section only
when no visible UI changes exist.
Check and publish
Run the shared local checker against the chosen base ref and the body file:
python3 scripts/check-pr.py --base <base-ref> --title '<title>' --body-file <body-file>Add --ui-changes for visible changes outside the UI directory. Use --head
when checking a revision other than HEAD. Fix all reported failures before
publishing. The checker verifies structure and image URL syntax; additionally
verify that each URL displays the intended image on GitHub, that all affected
states are covered, and that the English wording and checked claims are true.
It does not build/test the app or prove that a remote image exists.
Publish only when the user's request authorizes PR creation/update. A request
to prepare a title/body authorizes local preparation only. Use gh pr create
or gh pr edit with the checked title and body file; preserve unrelated existing
PR metadata. Never force-push to make the workflow succeed. If push succeeds
but PR publication fails, report the pushed branch and missing/unchanged PR.
After publication, read back the title and body and inspect the image rendering
on GitHub. In Codex, attach a created or updated PR using the app's PR attachment
tool when available; Claude Code returns its URL. Report actual completion and
any unresolved limitation.
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.

