Morning update routine: merge Renovate PRs, rebase local work, apply chezmoi changes
Merge Renovate PRs, rebase local work on updated main, resolve conflicts intelligently, and apply chezmoi changes.
$ARGUMENTS
Options:
--push - Also push rebased commits to origin--dry-run - Show what would be done without making changestest -f AGENTS.local.md && echo "exists" || echo "missing"
If missing or older than 7 days: suggest running /agents-local-md before continuing.
This is — continue the update regardless.
git status --short
If tracked files are modified, stash them:
git stash push -u -m "update skill: stashing before merge"
gh pr list --author "app/renovate" --json number,title,headRefName,statusCheckRollup
For each PR:
gh pr checks <number>--dry-run, just report what would be mergedFor each green PR:
gh pr merge <number> --squash --delete-branch
git fetch origin
git rebase origin/main
When conflicts occur:
git add <file> && git rebase --continueIf stashed earlier:
git stash pop
If --push in arguments:
git push origin <current-branch>
chezmoi diff
Show summary of changes, then apply:
chezmoi apply
Present a table:
| Action | Details |
|---|---|
| PRs merged | #121 (chezmoi 2.x), #122 (ruby 3.4.x) |
| Conflicts resolved | — |
| Chezmoi applied | ruby 3.4.x installed |
| Status | up to date with origin/main |