一键导入
update
Morning update routine: merge Renovate PRs, rebase local work, apply chezmoi changes Use when this capability is needed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Morning update routine: merge Renovate PRs, rebase local work, apply chezmoi changes Use when this capability is needed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | update |
| description | Morning update routine: merge Renovate PRs, rebase local work, apply chezmoi changes Use when this capability is needed. |
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 the file exists, read it and check the Generated: date line.
/agents-local-md to generate machine-specific context"/agents-local-md --force to refresh machine context"This is advisory only — continue the update regardless.
git status --short
If tracked files are modified:
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 show what would be mergedEdge case: claude-review failing on its own update PR is fine—it's reviewing itself with an old version
For each green PR:
gh pr merge <number> --squash --delete-branch
Collect merged PRs for summary:
git fetch origin
git rebase origin/main
When conflicts occur:
git add <file> && git rebase --continueIf not on main:
git rebase main
Resolve conflicts same as above.
If stashed earlier:
git stash pop
Resolve any conflicts using same strategy.
If --push in arguments:
git push origin <current-branch>
chezmoi diff
Show a summary of what will change (not the full diff if huge).
chezmoi apply
If mise tools are updated, they'll be installed automatically.
Present a table:
| Action | Details |
|---|---|
| PRs merged | #121 (claude-code-action), #122 (codex 0.95.0) |
| Conflicts resolved | Python 3.14.2→3.14.3 + added rust 1.87.0 |
| Chezmoi applied | Python 3.14.3, codex 0.95.0 installed |
| Status | 1 commit ahead of origin/main |
/update → Merge PRs, rebase, apply (no push)
/update --push → Full update and push to origin
/update --dry-run → Preview what would happen
This is a single-player repository. Conflicts are rare and changes are easily revertable. The skill prioritizes automation over caution—intelligent resolution beats manual review for routine updates.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
Use when the user wants to set, change, or clear git commit co-authors for pair or mob programming.
Use when the user asks to install, add, or set up a package, tool, CLI, or application
Use when the user wants to fetch and contextualize a GitHub repository for future reference.
Use when writing or reviewing GitHub-flavored Markdown (README, issues, PRs, docs)
Copy content to my clipboard using `pbcopy`. Use when this capability is needed.
Generate machine-specific AGENTS.local.md with host facts and system tool details Use when this capability is needed.