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.zipInstalls 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).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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pull (this skill) | 0 | 3mo | Review | Intermediate |
| resolve-conflicts | 81 | 9mo | Review | Intermediate |
| openspec-onboard | 10 | 7mo | Review | Beginner |
| codex-cli-bridge | 9 | 10mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by hojinzs
View all by hojinzs →You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
openspec-onboard
studyzy
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
skill-sync
KyleKing
Syncs Claude Skills with other AI coding tools like Cursor, Copilot, and Codeium by creating cross-references and shared knowledge bases. Invoke when user wants to leverage skills across multiple tools or create unified AI context.
github-workflow-automation
ruvnet
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.