Rebases the active branch onto the latest base branch to ensure code is up to date and clean.

Install

mkdir -p .claude/skills/pull-hojinzs && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18564" && unzip -o skill.zip -d .claude/skills/pull-hojinzs && rm skill.zip

Installs to .claude/skills/pull-hojinzs

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Sync the current branch with the latest base branch (PR base if a PR exists, otherwise origin/main).
100 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Determine the base branch for the current work
  • Fetch the latest changes from the determined base branch
  • Rebase the current branch onto the updated base branch
  • Resolve merge conflicts during the rebase process
  • Force-push the rebased branch with a lease
  • Record rebase evidence in the workpad

How it works

The skill identifies the base branch, fetches its latest state, and then rebases the current branch onto it, resolving conflicts as needed. It then force-pushes the updated branch to the remote.

Inputs & outputs

You give it
A local Git branch with unpushed commits
You get back
A local Git branch rebased onto its base, with updated commit SHAs

When to use pull

  • Updating a branch before a PR
  • Fixing outdated branch status
  • Preparing code for squash-merge
  • Synchronizing development work with main

About pull

Updates the local branch by fetching the latest code from the remote base branch and rebasing current work. It handles conflict resolution and maintains a linear commit history required for automated merges.

Sync the current branch with the latest base branch (PR base if a PR exists, otherwise origin/main).

When not to use it

  • When a linear commit history is not required
  • When a merge commit is preferred over rebasing

Limitations

  • Invalidates prior PR approvals due to new commit SHAs
  • Requires re-running pre-flight checks after force-push

How it compares

This workflow automatically determines the correct base branch and uses rebase for a linear history, unlike manual processes that might use merge or require explicit base branch specification.

Compared to similar skills

pull side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pull (this skill)03moReviewIntermediate
resolve-conflicts819moReviewIntermediate
openspec-onboard107moReviewBeginner
codex-cli-bridge910moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry