update-working-copy
Fetch the latest from the remote. Update the working branch or switch to main if the branch is defunct.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 21
- Forks
- 1
01 前言 Front Matter
- name
- update-working-copy
- description
- Fetch the latest from the remote. Update the working branch or switch to main if the branch is defunct.
03 SKILL.md 正文
The defaults we use are remote=origin, branch=main. However, these may have different values in this project.
Make sure the repository is up to date- fetch the latest from the remote.
If the remote branch is ahead of the local branch, pull that in.
If you are on a branch that is not main:
- If your branch commits are included in the tip of
main(directly or via rebase or squashing), switch to the tip ofmain - If your branch is behind the tip of
main, ask the user whether you should merge that in or move to that.
04 同仓库更多 Skills
easy-issues
Find and work through easy issue-tracker tasks autonomously, simplest first, using one fresh subagent per issue in sequence. Use for clearing straightforward bugs, documentation fixes, and tiny features without operator help.
wrap-up
After implementing, commit and finish your work
verify
Verify software by intentional testing.
tickets
Break a plan, spec, or conversation into tracer-bullet issues for this repo, creating a parent tracking issue with sub-issues when publishing multiple tickets.
spec
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
verus
Verify Rust code with Verus by writing proof annotations. Use when a Verus file fails verification with requires/ensures errors, when asked to prove or verify Rust code with the verus! macro and vstd, or when running verus or cargo verus.