Agent skill

Prepare PR

by greenfield-inc in greenfield-inc/Pane

Prepare a branch for review by committing scoped changes, rebasing on main, running builds, and creating or updating a pull request.

Custom licenceAuto-check passedDevelopment

Install Prepare PR

skills CLI
$ npx skills add greenfield-inc/Pane --skill prepare-pr -a claude-code

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

GitHub CLI
$ gh skill install greenfield-inc/Pane 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/greenfield-inc/Pane.git skills-src && mkdir -p .claude/skills && cp -r skills-src/main/src/services/paneChatBundle/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
522
Token cost
~1.5k tokens
SKILL.md length
775 words
Files
3 (incl. references, assets)
Skills in repo
35
Repo updated
First seen
Licence
Custom licence

At a glance

Prepare a branch for review by committing scoped changes, rebasing on main, running builds, and creating or updating a pull request.

  • Works in 11 steps: Group current changes into logical… → Create focused commits without staging… → Fetch and rebase onto origin/main. → …
  • The user wants the branch ready for PR review
  • Calls git
  • Rewriting an existing PR description from its current diff and evidence

What it does

Prepare PR is an agent skill from greenfield-inc/Pane. Prepare a branch for review by committing scoped changes, rebasing on main, running builds, and creating or updating a pull request. Use when the user wants the branch ready for PR review. Also use for rewriting an existing PR description from its current diff and evidence.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files and assets (for example `references/writing-guide.md`).

It sits in Development, covering Pull requests and Diagrams. It works with Excalidraw. The repository describes itself as: Terminal-first, open-source AI agent manager for any CLI agent (agent agnostic), any OS (mac, windows, linux). The Open-Source Agentic Development Environment for running…

When your agent uses it

  • The user wants the branch ready for PR review
  • Rewriting an existing PR description from its current diff and evidence

Example prompts

  • “/prepare-pr”

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  1. Group current changes into logical commits, ideally by done-plan.
  2. Create focused commits without staging unrelated work.
  3. Fetch and rebase onto origin/main.
  4. Resolve obvious conflicts directly. Ask the user about semantic conflicts.
  5. Run the relevant build steps and fix straightforward failures.
  6. Create a visual PR diagram before opening/updating the PR
  7. Audit existing PR body/comment image references. Replace dead, expiring, temporary, or local-only URLs with verified durable assets…
  8. Push the branch. Use --force-with-lease only when the rebase made it necessary.
  9. Create or update the PR with a summary built from the plans, current diff, and a visual overview bounded by <!-- pr-visual-overview:start…
  10. Run the cold-read skill on the PR title and body and apply its improvements before reporting done. Human review has not been requested…
  11. Size the PR with git diff origin/main...HEAD --numstat, counting hand-written files and lines only (exclude lockfiles, generated and…

What it can do on your machine

Read from SKILL.md and the folder at commit c038a7b. 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:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, 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.5k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 775 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 775 words (~1,501 tokens).

“This is a high-trust workflow. Surface any destructive or ambiguous step before proceeding.”

— opening of SKILL.md by greenfield-inc, Custom licence
name
prepare-pr

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references, assets) in main/src/services/paneChatBundle/skills/prepare-pr of greenfield-inc/Pane.

  • SKILL.md
  • assets/pr-walkthrough.html
  • references/writing-guide.md

Open the folder on GitHubat commit c038a7b

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 skillgreenfield-inc/Pane522—~1.5kAutomated safety check: PassCustom licence
Diagram Designcathrynlavery/diagram-design47k1 repos~7.5kAutomated safety check: PassMIT
Excalidraw Diagramcoleam00/excalidraw-diagram-skill5k2 repos~6.1kAutomated safety check: PassNone
Visual Reviewai-dynamo/dynamo8.3k—~4.5kAutomated safety check: PassApache-2.0
Excalidraw Diagrambreferrari/obsidian-mind5k—~3.9kAutomated safety check: PassMIT
Excalidraw Skillyctimlin/mcp_excalidraw2.5k—~4.6kAutomated safety check: PassMIT

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    47k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Excalidraw Diagram

    coleam00/excalidraw-diagram-skill

    Create Excalidraw diagram JSON files that make visual arguments.

    5k GitHub starsUsed in 2 repos~6.1k tokens
    DevelopmentAuto-check passed
  • Visual Review

    ai-dynamo/dynamo

    Create self-contained interactive HTML code-review dashboards from GitHub or GitLab pull requests, checked-out branch diffs, or supplied unified diffs, with correctness and safe-to-merge scores…

    8.3k GitHub stars~4.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Excalidraw Diagram

    breferrari/obsidian-mind

    Generate Excalidraw diagrams from text content. An agent skill from breferrari/obsidian-mind.

    5k GitHub stars~3.9k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Excalidraw Skill

    yctimlin/mcp_excalidraw

    Excalidraw canvas toolkit for creating, editing, and refining diagrams on a live canvas.

    2.5k GitHub stars~4.6k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Lanshu Animated Architecture Diagram

    cclank/lanshu-animated-architecture-diagram

    Create premium hand-drawn architecture and process diagrams in the Lanshu animated GIF style, with editable .excalidraw files, static PNG previews, and genuinely animated GIFs with moving flow…

    994 GitHub stars~1.1k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from greenfield-inc/Pane

All 35 skills in this repo
  • Page

    greenfield-inc/Pane

    House standard for any HTML page written for a person. An agent skill from greenfield-inc/Pane.

    522 GitHub stars~759 tokensUpdated today
    Auto-check passed
  • Session Trace

    greenfield-inc/Pane

    Publish an agent session as a readable trace page in Grain, with the story, key moments, every request and step on a timeline, subagents, and the pull requests it opened.

    522 GitHub stars~836 tokensUpdated today
    Auto-check passed
  • Discussion

    greenfield-inc/Pane

    Have an interactive discussion about a topic, approach, feature, or bug without making code changes.

    522 GitHub stars~666 tokensUpdated today
    Auto-check passed
  • Excalidraw PR Diagrams

    greenfield-inc/Pane

    Create Excalidraw diagram JSON files and PR visual overviews that make visual arguments.

    522 GitHub stars~9.4k tokensUpdated today
    Auto-check passed
  • HTML Explainer

    greenfield-inc/Pane

    The house standard for any skill that renders an HTML page for a person to read, covering design tokens, typography, components, diagrams, and quality gates so every generated page shares one calm…

    522 GitHub stars~1.6k tokensUpdated today
    Auto-check: notes
  • Pane Work

    greenfield-inc/Pane

    Answer questions about the user's own work in Pane, read-only.

    522 GitHub stars~1.8k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Prepare PR

What does Prepare PR do?

Prepare a branch for review by committing scoped changes, rebasing on main, running builds, and creating or updating a pull request. Prepare PR is an agent skill from greenfield-inc/Pane. Prepare a branch for review by committing scoped changes, rebasing on main, running builds, and creating or updating a pull request.

When should I use Prepare PR?

Prepare PR fits situations like: the user wants the branch ready for PR review; rewriting an existing PR description from its current diff and evidence.

How do I install Prepare PR in Claude Code?

Run `npx skills add greenfield-inc/Pane --skill prepare-pr -a claude-code`. Or copy the skill folder (main/src/services/paneChatBundle/skills/prepare-pr in greenfield-inc/Pane) 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 greenfield-inc/Pane --skill prepare-pr -a codex`. Or copy the skill folder (main/src/services/paneChatBundle/skills/prepare-pr in greenfield-inc/Pane) 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 greenfield-inc/Pane --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 (git).

Does Prepare PR access the network?

SKILL.md contains no URLs. Its commands use git, 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 has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Prepare PR use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.

What are the alternatives to Prepare PR?

Skills that share tags, products or a category with Prepare PR: Diagram Design (cathrynlavery/diagram-design, 47k stars), Excalidraw Diagram (coleam00/excalidraw-diagram-skill, 5k stars), Visual Review (ai-dynamo/dynamo, 8.3k stars) and Excalidraw Diagram (breferrari/obsidian-mind, 5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prepare PR?

greenfield-inc (a GitHub organization) maintains it in greenfield-inc/Pane, which has 522 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 9, 2026.

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