Agent skill

Pull Platformplatform Changes

by platformplatform in platformplatform/PlatformPlatform

Pull unmerged PlatformPlatform pull requests into a downstream project by cherry-picking each one onto the platformplatform-updates branch.

MITAuto-check: notesAgent Workflows

Install Pull Platformplatform Changes

skills CLI
$ npx skills add platformplatform/PlatformPlatform --skill pull-platformplatform-changes -a claude-code

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

GitHub CLI
$ gh skill install platformplatform/PlatformPlatform pull-platformplatform-changes --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/platformplatform/PlatformPlatform.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/pull-platformplatform-changes .claude/skills/pull-platformplatform-changes && 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
pull-platformplatform-changes
GitHub stars
440
Token cost
~2.7k tokens
SKILL.md length
614 words
Files
1
Skills in repo
18
Repo updated
First seen
Licence
MIT

At a glance

Pull unmerged PlatformPlatform pull requests into a downstream project by cherry-picking each one onto the platformplatform-updates branch.

  • Works in 6 steps: Detect resume vs. fresh start → Verify clean working tree → Discover unported PRs → …
  • Tasks that involve Autonomous loops
  • SKILL.md covers STEP 1: Detect resume vs.…, STEP 2: Verify clean working…, STEP 3: Discover unported PRs and STEP 4: Worktree decision, plus 3 more sections
  • Calls git, dotnet and gh

What it does

Pull Platformplatform Changes is an agent skill from platformplatform/PlatformPlatform. Pull unmerged PlatformPlatform pull requests into a downstream project by cherry-picking each one onto the platformplatform-updates branch. Renames commits to "PlatformPlatform PR N - title" per the existing convention. Drives a ralph-loop that validates each commit (build, test, format, lint, optional e2e) before moving on. Use in downstream projects that have PlatformPlatform configured as the upstream remote.

Its SKILL.md is about 2.7k 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 Agent Workflows, covering Autonomous loops, Pull requests and End-to-end testing. The repository describes itself as: A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc. The licence is MIT.

When your agent uses it

  • Tasks that involve Autonomous loops
  • Tasks that involve Pull requests
  • Tasks that involve End-to-end testing

Example prompts

  • “PlatformPlatform PR N - title”
  • “/pull-platformplatform-changes”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, AskUserQuestion, EnterWorktree

Workflow steps

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

  1. Detect resume vs. fresh start
  2. Verify clean working tree
  3. Discover unported PRs
  4. Worktree decision
  5. Run mode and planning files
  6. Emit the ralph-loop prompt

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • AskUserQuestion
    • EnterWorktree

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • dotnet
    • gh

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

  • Network

    No URLs in SKILL.md. Its commands use git and 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

Pull Platformplatform Changes loads about 2.7k tokens when it runs. Until then it costs about 111 tokens; SKILL.md has 614 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~111
When it runs · the whole SKILL.md, loaded when a task matches
~2.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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, AskUserQuestion, EnterWorktree

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 platformplatform/PlatformPlatform at commit 269de1c, republished under its MIT licence (© platformplatform). 614 words, ~2,708 tokens.

Download SKILL.mdSave it as .claude/skills/pull-platformplatform-changes/SKILL.md (or your agent's skills folder).
name
pull-platformplatform-changes
description
Pull unmerged PlatformPlatform pull requests into a downstream project by cherry-picking each one onto the platformplatform-updates branch. Renames commits to "PlatformPlatform PR N - title" per the existing convention. Drives a ralph-loop that validates each commit (build, test, format, lint, optional e2e) before moving on. Use in downstream projects that have PlatformPlatform configured as the upstream remote.
allowed-tools
Read, Write, Edit, Bash, AskUserQuestion, EnterWorktree

Pull PlatformPlatform Changes

Discover unported PlatformPlatform pull requests and emit a /ralph-loop:ralph-loop prompt that the user runs themselves to cherry-pick them one at a time. Optionally interviews the user upfront to capture porting decisions for each PR.

This skill assumes the current repo is a downstream project with upstream configured as the PlatformPlatform remote. The CLI command pull-platformplatform-changes will fail if the remote isn't set up — that's the expected guardrail.

STEP 1: Detect resume vs. fresh start

Compute the root repo path:

bash
ROOT_REPO=$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")
CURRENT_BRANCH=$(git branch --show-current)

A run is in progress if $ROOT_REPO/.workspace/platformplatform-updates/commits.md exists AND the current branch is platformplatform-updates.

If resuming:

  1. Read commits.md and count [x] vs [ ] lines. Identify the next pending commit.
  2. Read learnings.md and surface the last 3 entries.
  3. Read port-plan.md if it exists and surface a brief summary of upcoming PR decisions.
  4. Show the user a status panel: N of M PRs done, next PR + title, last learnings.
  5. Use AskUserQuestion to confirm continue and offer a run-mode change.
  6. Skip to STEP 6 with remaining iteration count.

If fresh: continue to STEP 2.

STEP 2: Verify clean working tree

bash
git status --porcelain

If there are uncommitted changes, stop and ask the user to stash or commit first.

STEP 3: Discover unported PRs

bash
dotnet run --project developer-cli -- pull-platformplatform-changes --list-only

Output is one line per unported PR: <date> <hash> <subject> (#<pr>).

If the output is empty, stop and report nothing to port.

Parse each line into {date, hash, subject, prNumber}. The PR number is in the trailing (#NNN) group. The ported commit subject is PlatformPlatform PR <prNumber> - <subject without (#<prNumber>)>.

Show the list newest-first to the user (date + ported title) and confirm the range.

STEP 4: Worktree decision

Use AskUserQuestion to ask whether to create a worktree. Some downstream projects don't support worktrees, so always ask.

If yes:

bash
git worktree add .claude/worktrees/platformplatform-updates main

Then call the EnterWorktree tool to switch context.

If no: the existing CLI flow handles branch creation during cherry-pick. For the ralph-loop, create the branch now off main:

bash
git switch --create platformplatform-updates main

STEP 5: Run mode and planning files

Use AskUserQuestion to ask the run mode:

  • autonomous — loop ports every PR best-effort, never asks. Logs unusual decisions to learnings.md.
  • interview-upfront — skill walks each PR with the user before the loop runs, capturing decisions in port-plan.md. The loop reads port-plan.md for guidance on each commit.
  • interview-on-problem — loop ports best-effort but pauses via AskUserQuestion when it can't make progress.
Show full SKILL.md (238 more words)Show less
If interview-upfront mode

For each unported PR (oldest first), examine its objective and decide if downstream needs adaptation:

  1. Fetch the PR's title, description, and changed files:

    bash
    gh pr view <prNumber> --repo platformplatform/PlatformPlatform --json title,body,files
  2. Read the PR body and the list of changed files. Decide whether this is:

    • Routine — bug fix, dependency bump, refactor that has no downstream impact. Mark for clean port.
    • Likely adaptation — touches an area where the downstream has diverged (e.g. component library, auth flow, telemetry). Use AskUserQuestion to ask the user how to handle it.
    • Likely skip — change targets a feature the downstream doesn't have, or downstream has drifted so far the PR is no longer applicable. Use AskUserQuestion to confirm skip with reason.
  3. Write the decision to port-plan.md (see format below). Keep notes brief and action-oriented — the ralph-loop reads them per-commit.

Don't interview the user on every PR — only when the diff suggests a real adaptation question. Routine PRs can flow through without disruption.

Always: write planning files in the root repo
$ROOT_REPO/.workspace/platformplatform-updates/commits.md
$ROOT_REPO/.workspace/platformplatform-updates/learnings.md
$ROOT_REPO/.workspace/platformplatform-updates/port-plan.md   (interview-upfront only)

commits.md format:

markdown
<!-- mode: <run-mode> | source: pull-platformplatform-changes | started: <YYYY-MM-DD> -->
N PRs to port.

[ ] <hash> PlatformPlatform PR <N> - <subject>
[ ] <hash> PlatformPlatform PR <N> - <subject>
...

Lines are oldest-first. Subjects are already renamed to the ported convention.

learnings.md starts as just a heading:

markdown
# Learnings — PlatformPlatform pull

port-plan.md format (interview-upfront only):

markdown
# Port plan — PlatformPlatform pull

## PR <N> — <subject>
- decision: port-as-is | adapt | skip
- notes: <one to three lines of guidance for the ralph-loop>

STEP 6: Emit the ralph-loop prompt

Compute iterations:

N = number of [ ] lines in commits.md (PRs marked skip in port-plan.md still count — the loop processes them)
iterations = max(ceil(N * 1.25), N + 10)

Send TWO separate messages.

Message 1:

Use /copy to copy the following ralph-loop and run it from your Claude Code terminal.

Message 2 — the literal command, nothing else:

/ralph-loop:ralph-loop "<PROMPT>" --max-iterations <N> --completion-promise "WE ARE DONE"

Ralph-loop prompt template

Substitute {{worktree-path}}, {{root-repo}}, {{commits-file}}, {{learnings-file}}, {{port-plan-file}} (or omit the port-plan reference if not in interview-upfront mode), {{run-mode}}. Use real newlines.

We are pulling unmerged PlatformPlatform pull requests into the platformplatform-updates branch at {{worktree-path}} by cherry-picking commits one at a time from {{commits-file}}. Run mode: {{run-mode}}. Per-PR plan: {{port-plan-file}} (consult before each commit; absent means no upfront interview was done).

For each iteration:

1. Pick the next commit — the first line in the commits file without [x]. If every line is marked, output WE ARE DONE.

2. Consult the port plan — if {{port-plan-file}} exists, find the matching PR section and follow its decision and notes. If decision is 'skip', mark [x] with a [SKIPPED: <reason>] suffix and move on without cherry-picking.

3. Cherry-pick — `git cherry-pick -m 1 --strategy=recursive -X theirs <hash>`. Resolve any conflicts so the working tree reflects the intended state of the PR. Note whether conflicts were manually resolved — this drives the validation order in step 5. If the cherry-pick produces no changes (already applied downstream), skip the rest and mark [x] with [NO-OP: already applied].

4. Rename the commit — amend the commit message to 'PlatformPlatform PR <N> - <original subject without trailing (#<N>)>'. Strip the trailing PR number suffix; preserve the rest of the body. Strip any `# Conflicts:` block git inserted after a conflicted cherry-pick, and any other `#`-prefixed comment lines — PlatformPlatform's pull-request-conventions CI accepts multi-line messages only for `PlatformPlatform PR ...` and `Co-authored-by:` commits, but conflict-marker noise must never land in the final history.

5. Validate the change — order depends on whether conflicts were resolved in step 3:

   **Conflicts resolved (we touched code by hand):**
   1. build (must succeed)
   2. format (must run before lint, since manual edits often need formatting that would otherwise show up as lint findings)
   3. in parallel: backend tests, restart Aspire, e2e tests (smoke for small changes; full suite for large changes; full suite at least every 5 commits)
   4. lint
   5. if lint or any earlier step changed anything, restart this validation from step 5.1

   **No conflicts (clean cherry-pick):**
   1. build (must succeed)
   2. in parallel: backend tests, format, lint, restart Aspire, e2e tests (same scope rules as above)
   3. if lint or any other parallel step changed anything, restart this validation from step 5.1

   E2E run with --stop-on-first-failure --quiet to fail fast. If tests fail, do not move on until the full suite is green. If something is missing because a later PR introduces it, pull only the minimum needed lines forward and note it under that future commit in the commits file as an indented line.

6. Fold all fixes into the cherry-picked commit — amend so the commit is self-contained. Re-run the sanitize step from #4 if the amend re-introduces any `# Conflicts:` block or `#`-prefixed lines.

7. Verify the working tree is clean — git status must show zero changes after the amend.

8. Mark the commit done — change [ ] to [x] on its line in {{commits-file}}.

9. Log learnings — append a one-line entry to {{learnings-file}} for any non-trivial adaptation, conflict resolution choice, skipped PR, or NO-OP. Format: '- PR <N> — <one-line note>'. Routine clean ports do not need an entry.

Mode-specific behavior:
- autonomous: do not ask the user anything. Make every judgement call yourself. Note unusual choices in {{learnings-file}}.
- interview-upfront: follow {{port-plan-file}} closely. If you find the plan disagrees with reality (e.g. a 'port-as-is' PR has an unexpected conflict), use AskUserQuestion to clarify rather than guessing.
- interview-on-problem: when you cannot make progress (irreconcilable conflict, ambiguous adaptation, change that no longer applies), use AskUserQuestion to ask. Bake the answer into your next attempt and log it in {{learnings-file}}.

Operating principles:

- Never stop. If a PR cannot be ported as-is, adapt it: collapse it with a neighbor, split it, reorder it, drop changes that don't apply downstream, or skip it with a logged reason. The goal is a downstream that reflects PlatformPlatform's intent, not literal preservation of every commit.
- Smallest possible change when borrowing forward — pull only the lines required to compile or pass tests.
- Trust the loop. Every iteration ends with a clean tree, a passing build, passing tests, passing lint, passing e2e, and one more [x] in the commits file.

© platformplatform, 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 .claude/skills/pull-platformplatform-changes of platformplatform/PlatformPlatform.

Open the folder on GitHubat commit 269de1c

Compare with similar skills

Pull Platformplatform Changes 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.

Pull Platformplatform Changes compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pull Platformplatform Changes this skillplatformplatform/PlatformPlatform440—~2.7kAutomated safety check: NotesMIT
PRP LoopWirasm/prp2.3k—~894Automated safety check: PassMIT
PRP Loop: Autonomous PipelineWirasm/prp2.3k—~863Automated safety check: PassMIT
Next Task Implementation Loopbreaking-brake/cc-wf-studio5.4k—~2.1kAutomated safety check: PassCustom licence
LFG Autonomous DeliveryEveryInc/compound-engineering-plugin25k—~2kAutomated safety check: PassMIT
Openiap Workflowshyodotdev/openiap154—~766Automated safety check: PassMIT

Similar skills

  • PRP Loop

    Wirasm/prp

    Runs the plan, implement and review pipeline detached in fresh headless sessions, looping review and fix until the pull request is clean.

    2.3k GitHub stars~894 tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Runs a detached, resumable loop that plans, implements, opens a PR, reviews and fixes a feature across headless CLI sessions until the review is clean.

    2.3k GitHub stars~863 tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Next Task Implementation Loop

    breaking-brake/cc-wf-studio

    Runs one unattended implementation iteration of an autonomous loop: steward the in-flight PR, fix interrupts, or build one queued idea issue and open a PR.

    5.4k GitHub stars~2.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • LFG Autonomous Delivery

    EveryInc/compound-engineering-plugin

    Takes a request all the way through without stopping, routing it to Compound Engineering skills so that a code change ends as an open pull request.

    25k GitHub stars~2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Openiap Workflows

    hyodotdev/openiap

    A skill your agent uses for OpenIAP monorepo work that should follow the repository's slash-command workflows when the user asks in natural language instead of typing a slash command, including…

    154 GitHub stars~766 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Address Issue

    nubjs/nub

    End-to-end playbook for working a GitHub issue (or bug-fix PR) on nubjs/nub: triage → acknowledge an external report with an "Investigating" comment → reproduce it yourself → SIZE it → fix it at…

    4.4k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed

More from platformplatform/PlatformPlatform

All 18 skills in this repo
  • Create Prd

    platformplatform/PlatformPlatform

    Create a product requirement document (PRD) for a new feature.

    440 GitHub stars~3k tokensUpdated 13 days ago
    Auto-check passed
  • Rebuild Branch

    platformplatform/PlatformPlatform

    Rebuild a stale branch by cherry-picking each commit onto a fresh branch off main, using a ralph-loop to validate each commit (build, test, format, lint, optional e2e) before moving on.

    440 GitHub stars~2.1k tokensUpdated 13 days ago
    Auto-check: notes
  • Swc Plugin Compatibility

    platformplatform/PlatformPlatform

    Diagnose and fix Lingui SWC plugin compatibility errors with Next.js, Rspack, or other SWC runtimes.

    440 GitHub stars~873 tokensUpdated 13 days ago
    Auto-check passed
  • Aspire Restart

    platformplatform/PlatformPlatform

    Start or restart the .NET Aspire AppHost via the developer CLI.

    440 GitHub stars~415 tokensUpdated 13 days ago
    Auto-check passed
  • Commit

    platformplatform/PlatformPlatform

    Commit session changes to git. An agent skill from platformplatform/PlatformPlatform.

    440 GitHub stars~567 tokensUpdated 13 days ago
    Auto-check passed
  • E2E

    platformplatform/PlatformPlatform

    Run end-to-end Playwright tests via the developer CLI. An agent skill from platformplatform/PlatformPlatform.

    440 GitHub stars~542 tokensUpdated 13 days ago
    Auto-check passed

Questions about Pull Platformplatform Changes

What does Pull Platformplatform Changes do?

Pull unmerged PlatformPlatform pull requests into a downstream project by cherry-picking each one onto the platformplatform-updates branch. Pull Platformplatform Changes is an agent skill from platformplatform/PlatformPlatform. Pull unmerged PlatformPlatform pull requests into a downstream project by cherry-picking each one onto the platformplatform-updates branch.

When should I use Pull Platformplatform Changes?

Pull Platformplatform Changes fits situations like: tasks that involve Autonomous loops; tasks that involve Pull requests; tasks that involve End-to-end testing.

How do I install Pull Platformplatform Changes in Claude Code?

Run `npx skills add platformplatform/PlatformPlatform --skill pull-platformplatform-changes -a claude-code`. Or copy the skill folder (.claude/skills/pull-platformplatform-changes in platformplatform/PlatformPlatform) into .claude/skills/pull-platformplatform-changes in your project. Claude Code loads it when a task matches its description.

How do I install Pull Platformplatform Changes in Codex?

Run `npx skills add platformplatform/PlatformPlatform --skill pull-platformplatform-changes -a codex`. Or copy the skill folder (.claude/skills/pull-platformplatform-changes in platformplatform/PlatformPlatform) into .agents/skills/pull-platformplatform-changes in your project. Codex loads it when a task matches its description.

Can I use Pull Platformplatform Changes 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 platformplatform/PlatformPlatform --skill pull-platformplatform-changes -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pull-platformplatform-changes, .gemini/skills/pull-platformplatform-changes, .github/skills/pull-platformplatform-changes and .opencode/skills/pull-platformplatform-changes in your project.

What does Pull Platformplatform Changes need to run?

Going by SKILL.md and its folder, Pull Platformplatform Changes needs the command-line tools its instructions call (git, dotnet and gh). Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, AskUserQuestion, EnterWorktree.

Does Pull Platformplatform Changes access the network?

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

Is Pull Platformplatform Changes safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Pull Platformplatform Changes use?

Pull Platformplatform Changes 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 Pull Platformplatform Changes use?

About 2.7k tokens (SKILL.md is roughly 11k 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 Pull Platformplatform Changes?

Skills that share tags, products or a category with Pull Platformplatform Changes: PRP Loop (Wirasm/prp, 2.3k stars), PRP Loop: Autonomous Pipeline (Wirasm/prp, 2.3k stars), Next Task Implementation Loop (breaking-brake/cc-wf-studio, 5.4k stars) and LFG Autonomous Delivery (EveryInc/compound-engineering-plugin, 25k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pull Platformplatform Changes?

platformplatform (a GitHub organization) maintains it in platformplatform/PlatformPlatform, which has 440 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on September 24, 2026.

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