Agent skill

Iflow PR Sync

by jepegit in jepegit/cellpy

Refresh open PR heads onto the default branch after another merge left them DIRTY (usually HISTORY.md).

MITAuto-check passedDevelopment

Install Iflow PR Sync

skills CLI
$ npx skills add jepegit/cellpy --skill iflow-pr-sync -a claude-code

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

GitHub CLI
$ gh skill install jepegit/cellpy iflow-pr-sync --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/jepegit/cellpy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/iflow-pr-sync .claude/skills/iflow-pr-sync && 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
iflow-pr-sync
GitHub stars
110
Token cost
~1.2k tokens
SKILL.md length
557 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Refresh open PR heads onto the default branch after another merge left them DIRTY (usually HISTORY.md).

  • Works in 6 steps: Explicit hints in slash input — root:,… → CLI fast path — issue-flow agent resolve… → Branch context — exactly one workspace… → …
  • Development work in your project
  • SKILL.md covers Input, Instructions and Constraints
  • Calls git and gh

What it does

Iflow PR Sync is an agent skill from jepegit/cellpy. Refresh open PR heads onto the default branch after another merge left them DIRTY (usually HISTORY.md). Uses sync-branch keep-both + force-with-lease.

Its SKILL.md is about 1.2k 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. It works with Git. The repository describes itself as: extract and tweak data from electrochemical tests of cells. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/iflow-pr-sync”

Workflow steps

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

  1. Explicit hints in slash input — root:, repo: (directory name, e.g. cellpy-core), or repo:owner/name.
  2. CLI fast path — issue-flow agent resolve [-C ] [--from-file ] [--json]. Use the returned project_root and repo; pass -C to other…
  3. Branch context — exactly one workspace repo whose branch matches ^\d+- → that root.
  4. Single scaffold — exactly one .issueflows/ tree visible in the workspace → that root.
  5. Workspace default — an issueflow-workspace.toml at the workspace root (created with issue-flow workspace init) may name a default member…
  6. Ambiguous → stop and ask; never guess between sibling repos.

What it can do on your machine

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

Iflow PR Sync loads about 1.2k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 557 words of instructions outside code blocks.

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

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 jepegit/cellpy at commit ff2c665, republished under its MIT licence (© jepegit). 557 words, ~1,232 tokens.

Download SKILL.mdSave it as .claude/skills/iflow-pr-sync/SKILL.md (or your agent's skills folder).
name
iflow-pr-sync
description
Refresh open PR heads onto the default branch after another merge left them DIRTY (usually HISTORY.md). Uses sync-branch keep-both + force-with-lease.
disable-model-invocation
true
issue-flow-version
0.4.2a4

issue-flow — PR queue sync (/iflow-pr-sync)

Follow this skill when one or more open PRs need updating after another PR merged — typically mergeable: CONFLICTING / mergeStateStatus: DIRTY because both sides edited HISTORY.md.

Do not use this from /iflow. Off-path only. Sibling of /iflow-cleanup (post-merge local hygiene) and of issue-flow agent sync-branch (single branch).

Invoke: type iflow pr-sync in chat, or /iflow-pr-sync from the slash menu (iflow-pr-sync also works).

MODEL & EXECUTION DIRECTIVE

Profile: economy — Prioritize speed and token economy over deep reasoning.

In Cursor: use Auto or a fast model before invoking this step.

Keep scope tight to what this step requires.

Resolve project root (multi-root workspaces)

Before any git, gh, or .issueflows/ path operation in this workflow:

Resolution order (stop when unambiguous):

  1. Explicit hints in slash input — root:<path>, repo:<folder-basename> (directory name, e.g. cellpy-core), or repo:owner/name.
  2. CLI fast path — issue-flow agent resolve [-C <start>] [--from-file <active-file>] [--json]. Use the returned project_root and repo; pass -C <project_root> to other issue-flow agent … subcommands. When the answer came from the workspace registry, the payload sets resolved_via_workspace_default: true.
  3. Branch context — exactly one workspace repo whose branch matches ^\d+- → that root.
  4. Single scaffold — exactly one .issueflows/ tree visible in the workspace → that root.
  5. Workspace default — an issueflow-workspace.toml at the workspace root (created with issue-flow workspace init) may name a default member repo; use it when no scaffold matched above. Tell the user the default was used.
  6. Ambiguous → stop and ask; never guess between sibling repos.

After resolution, treat the result as <project_root> and <owner/repo>:

  • Git: git -C <project_root> … (or issue-flow agent … -C <project_root> for supported ops).
  • GitHub: pass an explicit repo on every gh call — never rely on gh's implicit cwd default. For most commands use --repo <owner/repo>; exception: gh repo view takes the repo as a positional arg (gh repo view <owner/repo> …) and rejects --repo.
  • Paths: all .issueflows/… paths are under <project_root>.

When .issueflows/04-designs-and-guides/multi-repo-workspaces.md exists, read it for layout and cross-repo guidance.

Input

  • (nothing) — refresh every open PR GitHub marks as needing update (DIRTY / BEHIND / CONFLICTING).
  • PR numbers — e.g. /iflow-pr-sync 259 261 — only those heads.
  • dry-run / dryrun — list candidates; do not sync or push.
  • nopush / no-push — sync locally but do not push.
  • all — every open PR, not only dirty ones (rare).
Show full SKILL.md (215 more words)Show less

Instructions

  1. Preflight. Resolve <project_root> / <owner/repo>. Prefer standing on the default branch with a clean home tree (worktrees are used for each head). git fetch --prune.
  2. List candidates. Prefer CLI:
    bash
    issue-flow agent pr-sync --dry-run --json -C <project_root>
    # or with numbers:
    issue-flow agent pr-sync 259 261 --dry-run --json -C <project_root>
    Show the user: PR number, head branch, mergeable / mergeStateStatus, URL.
  3. Confirm once. Consolidated yes/no listing every head that will be rebased (or merged) onto origin/<default> and force-with-lease pushed. Decline → stop; nothing rewritten.
  4. Run. On yes:
    bash
    issue-flow agent pr-sync [numbers…] --json -C <project_root>
    Honour trailing nopush / dry-run / all as flags (--no-push, --dry-run, --all-open). Default is --fail-fast: first non-HISTORY / non-keep-both conflict stops the batch and leaves later PRs untouched.
  5. Report. Per PR: synced / pushed / changelog_resolved / failure notes. Remind that CI must re-run on rewritten heads. Do not auto-merge.
  6. When to offer. After /iflow-cleanup when other open PRs remain dirty; after /iflow-yolo / /iflow-close merge when siblings are open; whenever the user says a PR “needs update” and the only conflict is changelog-shaped.

Constraints

  • Off-path; never auto-dispatch from /iflow.
  • Never bare --force; only --force-with-lease via the CLI.
  • Never --admin merge; never skip required checks.
  • Non-changelog / heading-promote conflicts → stop that head (and the batch under fail-fast); human decides.
  • Prevention (defer_changelog) is separate — see .issueflows/04-designs-and-guides/pr-queue-sync.md.

© jepegit, 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 .cursor/skills/iflow-pr-sync of jepegit/cellpy.

Open the folder on GitHubat commit ff2c665

Compare with similar skills

Iflow PR Sync 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.

Iflow PR Sync compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Iflow PR Sync this skilljepegit/cellpy110—~1.2kAutomated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything86k1 repos~1.2kAutomated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Codebase Knowledge Graph Q&A

    Egonex-AI/Understand-Anything

    Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.

    86k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Understand Explain

    Egonex-AI/Understand-Anything

    Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.

    86k GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed

More from jepegit/cellpy

All 13 skills in this repo
  • Gh CI

    jepegit/cellpy

    Use GitHub CLI to snapshot or wait on CI for a pull request or workflow run.

    110 GitHub stars~667 tokensUpdated 2 days ago
    Auto-check passed
  • Caveman

    jepegit/cellpy

    Respond in a terse "smart caveman" style that keeps all technical substance but drops filler, articles, and pleasantries.

    110 GitHub stars~725 tokensUpdated 2 days ago
    Auto-check passed
  • Grill Me

    jepegit/cellpy

    Interview the user relentlessly about a plan or design until every branch of the decision tree is resolved, then feed the conclusions into the issue plan.

    110 GitHub stars~676 tokensUpdated 2 days ago
    Auto-check passed
  • Iflow Archive

    jepegit/cellpy

    Condense old solved issue groups into one dated summary file, then delete the originals.

    110 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Iflow Capture

    jepegit/cellpy

    Capture a GitHub issue locally as issue<numberoriginal.md and archive other current issues by done status.

    110 GitHub stars~2k tokensUpdated 2 days ago
    Auto-check passed
  • Iflow Comments

    jepegit/cellpy

    Triage a GitHub issue's comment thread into the curated, bucketed summary section of issue<Noriginal.md.

    110 GitHub stars~1.4k tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about Iflow PR Sync

What does Iflow PR Sync do?

Refresh open PR heads onto the default branch after another merge left them DIRTY (usually HISTORY.md). Iflow PR Sync is an agent skill from jepegit/cellpy.md).

When should I use Iflow PR Sync?

Iflow PR Sync fits situations like: development work in your project.

How do I install Iflow PR Sync in Claude Code?

Run `npx skills add jepegit/cellpy --skill iflow-pr-sync -a claude-code`. Or copy the skill folder (.cursor/skills/iflow-pr-sync in jepegit/cellpy) into .claude/skills/iflow-pr-sync in your project. Claude Code loads it when a task matches its description.

How do I install Iflow PR Sync in Codex?

Run `npx skills add jepegit/cellpy --skill iflow-pr-sync -a codex`. Or copy the skill folder (.cursor/skills/iflow-pr-sync in jepegit/cellpy) into .agents/skills/iflow-pr-sync in your project. Codex loads it when a task matches its description.

Can I use Iflow PR Sync 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 jepegit/cellpy --skill iflow-pr-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/iflow-pr-sync, .gemini/skills/iflow-pr-sync, .github/skills/iflow-pr-sync and .opencode/skills/iflow-pr-sync in your project.

What does Iflow PR Sync need to run?

Going by SKILL.md and its folder, Iflow PR Sync needs the command-line tools its instructions call (git and gh).

Does Iflow PR Sync 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 Iflow PR Sync 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 Iflow PR Sync use?

Iflow PR Sync 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 Iflow PR Sync use?

About 1.2k tokens (SKILL.md is roughly 4.9k 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 Iflow PR Sync?

Skills that share tags, products or a category with Iflow PR Sync: Finishing a Development Branch (obra/superpowers, 296k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Codebase Knowledge Graph Q&A (Egonex-AI/Understand-Anything, 86k stars) and Code Design Rationale Investigator (cursor/plugins, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Iflow PR Sync?

jepegit (a GitHub user) maintains it in jepegit/cellpy, which has 110 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 6, 2026.

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