Agent skill

Prepare PR

by chattymin in chattymin/PokeTokenBar

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.

MITAuto-check passedDevelopment

Install Prepare PR

skills CLI
$ npx skills add chattymin/PokeTokenBar --skill prepare-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install chattymin/PokeTokenBar prepare-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/chattymin/PokeTokenBar.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/prepare-pr .claude/skills/prepare-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
prepare-pr
GitHub stars
505
Token cost
~1.8k tokens
SKILL.md length
974 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Requests such as PR 올려줘
  • SKILL.md covers Title and body, Mandatory UI images and Check and publish
  • Calls swift, gh and python3
  • Update PR in this repository

What it does

Prepare PR is an agent skill from chattymin/PokeTokenBar. 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.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests, Commit messages and iOS development. It works with SwiftUI and macOS. The repository describes itself as: Use your tokens to raise, evolve, and collect Pokémon! 🥚. The licence is MIT.

When your agent uses it

  • Requests such as PR 올려줘
  • Update PR in this repository

Example prompts

  • “PR 올려줘”
  • “PR 만들어줘”
  • “PR 본문 작성”
  • “/prepare-pr”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit c328d5c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • swift
    • gh
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Prepare PR loads about 1.8k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 974 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from chattymin/PokeTokenBar at commit c328d5c, republished under its MIT licence (© chattymin). 974 words, ~1,772 tokens.

Download SKILL.mdSave it as .claude/skills/prepare-pr/SKILL.md (or your agent's skills folder).
name
prepare-pr
description
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.

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:

sh
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 CollectionReadabilityRenderingTests

Read 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.

Show full SKILL.md (374 more words)Show less

Use Markdown images such as ![After — sample-data render](https://...) 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:

sh
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.

© chattymin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/prepare-pr of chattymin/PokeTokenBar.

Open the folder on GitHubat commit c328d5c

Compare with similar skills

Prepare PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Prepare PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prepare PR this skillchattymin/PokeTokenBar505—~1.8kAutomated safety check: PassMIT
Code ReviewRobertoMachorro/Moped115—~2.1kAutomated safety check: PassGPL-3.0
Coding Best PracticesKartikLabhshetwar/better-shot2.4k2 repos~1.8kAutomated safety check: PassCustom licence
Pulse Releasequnqin24/Pulse516—~1.3kAutomated safety check: PassApache-2.0
Swiftdata ArchitectureKartikLabhshetwar/better-shot2.4k2 repos~1.2kAutomated safety check: PassCustom licence
PR Writermicrosoft/SwiftStreamingMarkdown378—~2.9kAutomated safety check: PassMIT

Similar skills

  • Code Review

    RobertoMachorro/Moped

    Review guidance for Moped, a sandboxed macOS SwiftUI text editor with a homegrown TextKit 1 editor core in the local MopedEditor package.

    115 GitHub stars~2.1k tokensUpdated 4 days ago
    MobileAuto-check passed
  • Coding Best Practices

    KartikLabhshetwar/better-shot

    Reviews macOS Swift 6+ code for modern idioms, SOLID principles, SwiftData patterns, and concurrency best practices.

    2.4k GitHub starsUsed in 2 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Pulse Release

    qunqin24/Pulse

    Release a new Pulse version end to end — checks, bilingual CHANGELOG entry, VERSION, tag, the release workflow, syncing main, and the issue replies that go with it.

    516 GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Swiftdata Architecture

    KartikLabhshetwar/better-shot

    Deep dive into SwiftData design patterns and best practices.

    2.4k GitHub starsUsed in 2 repos~1.2k tokens
    DevelopmentAuto-check passed
  • PR Writer

    microsoft/SwiftStreamingMarkdown

    Official

    Prepare and publish SwiftStreamingMarkdown pull requests end-to-end: generate PR description, commit changes, create/push branch, and open a PR when needed.

    378 GitHub stars~2.9k tokensUpdated 13 days ago
    DevelopmentAuto-check passed
  • Release

    f-is-h/Usage4Claude

    发布 Usage4Claude 新版本时使用。当用户说“发布新版本 / 发版 / 出新版 / release / 打 tag 发布 / 准备发版材料”等,用本 skill 引导完成从收集变更、编写 CHANGELOG 与 RELEASENOTES、更新版本号、编译验证,到发版 commit、CI 自动发布的完整流程。

    400 GitHub stars~1.9k tokensUpdated 9 days ago
    DevelopmentAuto-check passed

Works with

Categories

Questions about Prepare PR

What does Prepare PR do?

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. Prepare PR is an agent skill from chattymin/PokeTokenBar. 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.

When should I use Prepare PR?

Prepare PR fits situations like: requests such as PR 올려줘; update PR in this repository.

How do I install Prepare PR in Claude Code?

Run `npx skills add chattymin/PokeTokenBar --skill prepare-pr -a claude-code`. Or copy the skill folder (.agents/skills/prepare-pr in chattymin/PokeTokenBar) into .claude/skills/prepare-pr in your project. Claude Code loads it when a task matches its description.

How do I install Prepare PR in Codex?

Run `npx skills add chattymin/PokeTokenBar --skill prepare-pr -a codex`. Or copy the skill folder (.agents/skills/prepare-pr in chattymin/PokeTokenBar) into .agents/skills/prepare-pr in your project. Codex loads it when a task matches its description.

Can I use Prepare PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add chattymin/PokeTokenBar --skill prepare-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prepare-pr, .gemini/skills/prepare-pr, .github/skills/prepare-pr and .opencode/skills/prepare-pr in your project.

What does Prepare PR need to run?

Going by SKILL.md and its folder, Prepare PR needs the command-line tools its instructions call (swift, gh and python3). Our summary lists: Python 3.

Does Prepare PR access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Prepare PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Prepare PR use?

Prepare PR is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Prepare PR use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Prepare PR?

Skills that share tags, products or a category with Prepare PR: Code Review (RobertoMachorro/Moped, 115 stars), Coding Best Practices (KartikLabhshetwar/better-shot, 2.4k stars), Pulse Release (qunqin24/Pulse, 516 stars) and Swiftdata Architecture (KartikLabhshetwar/better-shot, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prepare PR?

chattymin (a GitHub user) maintains it in chattymin/PokeTokenBar, which has 505 GitHub stars. The repository was last updated on October 6, 2026.

Source: chattymin/PokeTokenBar on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.