본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

fork-manager

glucksberg 제작

Coding Agents & IDEs
1.2kclawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Manage forks with open PRs - sync upstream, rebase branches, track PR status, and maintain production branches.

설명

이 스킬이 하는 일

Manages GitHub forks where you have open PRs and want to use improvements before they merge upstream. Tracks each PR branch, syncs with upstream, rebases branches, and maintains a production branch that combines all open PRs and local patches. Closed or rejected PRs can be kept as local patches with optional review scheduling.

Replaces manual git commands across multiple branches by automating upstream sync, multi-branch rebase, and production branch assembly in a single workflow with optional AI-assisted conflict resolution.

사용 시점

  • Keeping a forked library current while several PRs await upstream review
  • Rebuilding a local production branch after upstream adds new commits
  • Tracking a rejected upstream PR as a maintained local patch
  • Automatically rebasing all PR branches after a large upstream update
  • Reviewing recently closed PRs to decide whether to preserve them locally

예시 워크플로

입력

User asks: sync my fork of project-x and rebuild the production branch

에이전트
  1. 1

    Loads repo config from repos/project-x/config.json and reads the last history entry for context

  2. 2

    Fetches upstream and fork remotes, then merges upstream/main into the fork's main branch and pushes

  3. 3

    Rebases each PR branch listed in config onto the updated upstream/main, reporting clean or conflicted results

  4. 4

    Rebuilds the production branch by merging all open PR branches and local patches in order

  5. 5

    Appends execution results to history.md and reports sync status, rebase outcomes, and production branch state

출력

Report showing commits synced, which branches rebased cleanly or had conflicts, and the updated production branch containing all open PRs and local patches

요구 사항

  • GitHub account (for gh CLI authentication)
  • GitHub CLI (gh) installed and authenticated

설치

clawhub install glucksberg/fork-manager

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크