Prepares a feature branch, stages and commits changes, pushes to the user's personal fork, and generates a pre-filled GitHub comparison link for the user to review and submit a Pull Request.

Custom licenceAuto-check passedDevelopment

Install Prepare PR Link

skills CLI
$ npx skills add GoogleCloudPlatform/magic-modules --skill prepare-pr-link -a claude-code

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

GitHub CLI
$ gh skill install GoogleCloudPlatform/magic-modules prepare-pr-link --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/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/operations/prepare-pr-link .claude/skills/prepare-pr-link && 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-link
GitHub stars
974
Token cost
~1.3k tokens
SKILL.md length
405 words
Files
1
Skills in repo
30
Repo updated
First seen
Licence
Custom licence

At a glance

Prepares a feature branch, stages and commits changes, pushes to the user's personal fork, and generates a pre-filled GitHub comparison link for the user to review and submit a Pull Request.

  • Works in 4 steps: Sync and Create Feature Branch → Stage and Commit Changes → Push to Personal Fork → …
  • Tasks that involve Pull requests
  • SKILL.md covers Prerequisites, Pre-PR Verification & Guardrails and Execution Steps
  • Calls git; reaches github.com

What it does

Prepare PR Link is an agent skill from GoogleCloudPlatform/magic-modules. Prepares a feature branch, stages and commits changes, pushes to the user's personal fork, and generates a pre-filled GitHub comparison link for the user to review and submit a Pull Request.

Its SKILL.md is about 1.3k 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. It works with GitHub. The repository describes itself as: Add Google Cloud Platform support to Terraform.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “Use the prepare-pr-link skill to prepare a feature branch, stages and commits changes, pushes to the user's personal fork, and generates a…”
  • “/prepare-pr-link”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Sync and Create Feature Branch
  2. Stage and Commit Changes
  3. Push to Personal Fork
  4. Format PR Body & Release Notes

What it can do on your machine

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

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    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 Link loads about 1.3k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 405 words of instructions outside code blocks.

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

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 405 words (~1,335 tokens).

“This skill provides step-by-step instructions for preparing, committing, pushing a feature branch to a personal fork, and generating a pre-filled GitHub Pull Request comparison link for the user to review and submit.”

— opening of SKILL.md by GoogleCloudPlatform, Custom licence
name
prepare-pr-link

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/operations/prepare-pr-link of GoogleCloudPlatform/magic-modules.

Open the folder on GitHubat commit e5db069

Compare with similar skills

Prepare PR Link 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 Link compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prepare PR Link this skillGoogleCloudPlatform/magic-modules974—~1.3kAutomated safety check: PassCustom licence
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed

More from GoogleCloudPlatform/magic-modules

All 30 skills in this repo
  • Run Pre Gen Checks

    GoogleCloudPlatform/magic-modules

    Run fast static checks that don't require generating downstreams, including git submodule verification, gofmt formatting, YAML linting, template validation (version-guard and unused-tmpl), mmv1 core…

    974 GitHub stars~492 tokensUpdated today
    Auto-check passed
  • Validate Provider Changes

    GoogleCloudPlatform/magic-modules

    Validate that changes to the generated providers don't introduce breaking changes or fields with missing tests or missing documentation.

    974 GitHub stars~528 tokensUpdated today
    Auto-check passed
  • Add List Resource Workflow

    GoogleCloudPlatform/magic-modules

    Opt resource into MMv1 list-resource generation by setting generatelistresource: true and validate it locally with generated tests.

    974 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Fetch Nightly Results

    GoogleCloudPlatform/magic-modules

    Skill to fetch latest nightly test results and metadata for Beta or GA providers from GCS test-metadata.

    974 GitHub stars~615 tokensUpdated today
    Auto-check passed
  • Automate Test Triage

    GoogleCloudPlatform/magic-modules

    Skill to automatically triage failing tests by reading test-metadata status files, matching GitHub issues, and generating a multi-section failure report.

    974 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Dev Overrides

    GoogleCloudPlatform/magic-modules

    Configures Terraform CLI with developer overrides to test locally built provider binaries without full Go acceptance tests, enabling rapid plan/apply cycles.

    974 GitHub stars~432 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Prepare PR Link

What does Prepare PR Link do?

Prepares a feature branch, stages and commits changes, pushes to the user's personal fork, and generates a pre-filled GitHub comparison link for the user to review and submit a Pull Request. Prepare PR Link is an agent skill from GoogleCloudPlatform/magic-modules. Prepares a feature branch, stages and commits changes, pushes to the user's personal fork, and generates a pre-filled GitHub comparison link for the user to review and submit a Pull Request.

When should I use Prepare PR Link?

Prepare PR Link fits situations like: tasks that involve Pull requests.

How do I install Prepare PR Link in Claude Code?

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

How do I install Prepare PR Link in Codex?

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

Can I use Prepare PR Link 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 GoogleCloudPlatform/magic-modules --skill prepare-pr-link -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-link, .gemini/skills/prepare-pr-link, .github/skills/prepare-pr-link and .opencode/skills/prepare-pr-link in your project.

What does Prepare PR Link need to run?

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

Does Prepare PR Link access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Prepare PR Link 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 Link use?

Prepare PR Link 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 Link use?

About 1.3k tokens (SKILL.md is roughly 5.3k 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 Link?

Skills that share tags, products or a category with Prepare PR Link: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prepare PR Link?

GoogleCloudPlatform (a GitHub organization) maintains it in GoogleCloudPlatform/magic-modules, which has 974 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 7, 2026.

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