# github-sync-pr-flow

The github-sync-pr-flow skill guides local iPolloWork changes through syncing a personal branch with main and opening a PR. Use it when you want a clear, approval-based route from a working tree to GitHub.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 7523 repo stars
- Author: Devin-AXIS
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.codex/skills/github-sync-pr-flow/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/github-sync-pr-flow

## What it does

The skill lays out a sequence for preparing changes in iPolloWork: inspect the current branch and changed files, preserve uncommitted work, fetch `origin/main`, then merge it into the personal branch. If conflicts appear, the workflow calls for stopping and reporting the competing changes before editing them.

For a commit, select the intended files and run `git diff --check`; commit messages, PR titles, and PR descriptions are written in English. Each write phase needs user approval. That boundary matters: installing the skill does not authorize the agent to alter Git history, push a branch, create a PR, or call GitHub APIs.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill github-sync-pr-flow -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/github-sync-pr-flow/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/github-sync-pr-flow/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill github-sync-pr-flow -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/github-sync-pr-flow/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill github-sync-pr-flow -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/github-sync-pr-flow/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Devin-AXIS/iPolloWork .codex/skills/github-sync-pr-flow
```

2. **Manually: put the files in place**
- File: `.github/skills/github-sync-pr-flow/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill github-sync-pr-flow -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Devin-AXIS/iPolloWork --path .codex/skills/github-sync-pr-flow
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/github-sync-pr-flow/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.codex/skills/github-sync-pr-flow/SKILL.md

## When to use it
- bring a personal branch up to date with `origin/main` while preserving local edits
- identify the local and remote sides of merge conflicts
- commit selected changes and push them to the current branch
- open a PR from the personal branch to `main`

## Example prompts
- Sync my current branch with `origin/main` while preserving local edits. Inspect the repository first and ask before changing Git state.
- Commit the files I selected and push the result to my current branch. Check the repository state and get my approval before proceeding.
- Prepare my branch for a PR to `main` and open the PR after syncing. Tell me which phases you plan to run and ask for approval first.

## Similar
- [sync-todos-to-github](https://affpapa.org/en/nevibecode/commands/sync-todos-to-github.md) — command · ★ 907 repo stars
- [flow-next-tracker-sync](https://affpapa.org/en/nevibecode/skills/flow-next-tracker-sync.md) — skill · ★ 730 repo stars
- [gh-issue-sync](https://affpapa.org/en/nevibecode/skills/gh-issue-sync.md) — skill · 28500 installs
- [github-issues](https://affpapa.org/en/nevibecode/skills/github-issues.md) — skill · 17431 installs
- [github-profile-optimization](https://affpapa.org/en/nevibecode/skills/github-profile-optimization.md) — skill · 13400 installs
- [github-actions](https://affpapa.org/en/nevibecode/skills/github-actions.md) — skill · 12400 installs

From the same set: [devin-axis/ipollowork](https://affpapa.org/en/nevibecode/by/devin-axis/ipollowork.md) — 42 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
