| name | pull |
| description | Pull the latest `origin/main` into the current branch with a merge, resolve
conflicts carefully, and rerun the right validation for this Rust workspace.
|
Pull
Use this skill when the current branch needs to catch up with origin/main.
Workflow
- Confirm the current branch is the one that should receive the merge.
- Inspect
git status before starting.
- Enable rerere locally:
git config rerere.enabled true
git config rerere.autoupdate true
- Fetch latest refs:
- Sync the remote copy of the current branch first:
git pull --ff-only origin $(git branch --show-current)
- Merge
origin/main with conflict context:
git -c merge.conflictstyle=zdiff3 merge origin/main
- If conflicts appear:
- inspect the intent on both sides before editing
- resolve one file at a time
- run
git diff --check before finalizing
- After the merge, rerun validation that matches the scope:
- baseline:
cargo build --workspace
- affected crates:
cargo test -p <crate>
- broader checks only when the change crosses shared contracts or CI-critical surfaces
- Record the merge result and any notable conflicts in the Linear workpad.
Ask only when necessary
Proceed unless the conflict changes user-visible or external behavior in a way that cannot be inferred from code, tests, docs, or the Linear issue.