Instalar en Claude Code
Copiargit clone --depth 1 https://github.com/dyoshikawa/rulesync /tmp/pull-main && cp -r /tmp/pull-main/.rulesync/skills/pull-main ~/.claude/skills/pull-mainDespués abre una sesión nueva de Claude Code; el skill carga automáticamente.
Definición
SKILL.md
# Pull Main Switch to the `main` branch and pull the latest changes from `origin/main` while pruning stale remote-tracking references. ## Step 1: Inspect Current State Check the current branch: ```bash git branch --show-current ``` If already on `main`, note it for the final report. ## Step 2: Switch to Main Switch to the `main` branch: ```bash git switch main ``` ## Step 3: Pull with Prune Pull the latest changes from `origin/main` with `--prune` to remove stale remote-tracking branches: ```bash git pull --prune ``` ## Step 4: Report Result Summarize the operation: - Whether a branch switch occurred - Number of commits pulled (fast-forward or merge) - Any stale remote-tracking branches that were pruned
Del mismo repositorio
agent-teamSkill
>-
approveSkill
Approve a pull request using gh pr review --approve
babysit-dependabot-prSkill
>-
batch-all-issuesSkill
>-
batch-all-scrap-issuesSkill
>-
batch-review-prs-awaiting-maintainerSkill
>-
clean-branchesSkill
Clean up unnecessary local branches and prune stale remote-tracking branches
clean-worktreesSkill
Clean git worktrees created by git-worktree-runner