pull-main
Switch to main branch and pull latest changes with prune. Use when the user wants to pull latest main, update main, or sync main with remote.
npx skills add dyoshikawa/rulesync --skill pull-main --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Step 1: Inspect Current State
- Step 2: Switch to Main
- Step 3: Pull with Prune
- Step 4: Report Result
git branch --show-current git switch main git pull --prune
What does the pull-main skill do?
Switch to main branch and pull latest changes with prune. Use when the user wants to pull latest main, update main, or sync main with remote.
How do I install it?
Run `npx skills add dyoshikawa/rulesync --skill pull-main --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dyoshikawa/rulesync, a repository with 1,285 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.