git-origin
Has a source frontmatter field
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-08
- Stars
- ★ 408
- Forks
- 19
01 前言 Front Matter
- name
- wt
- description
- Manage Git worktrees with wt. Use to create, switch, list, remove, persist, merge, or ship worktrees.
03 SKILL.md 正文
Use wt to carry out the requested worktree operation:
- Create a worktree:
wt create <name>. Derive a short, branch-compatible name from the task when possible; ask for one when the request has no naming context. - Enter an existing worktree:
wt switch <name>, orwt switchto pick one. - List worktrees:
wt ls. - Remove a worktree without merging:
wt rm [<name>]. - Toggle persistence for the current worktree:
wt persist. - Merge the current worktree into local trunk:
wt done. - Sync with the remote, merge, and push trunk:
wt ship.
For merge and ship requests, run the command and handle resolvable stops:
- If it stops on a rebase conflict: inspect, resolve,
git add,git rebase --continue, then re-run the samewtcommand. - If it stops on dirty state: commit or stash as appropriate, then re-run.
Never non-ff merge into trunk. Never push unless the user asked for that
(use wt ship, not a manual git push).
wt --help documents all commands.
04 同仓库更多 Skills
agentsh-policy-edit
Use when adding, removing, or updating rules in an existing AgentSH policy, modifying security permissions, HTTP service declarations, Postgres-family database rules, resource limits, or policy YAML files
agentsh-policy-create
Use when creating a new AgentSH security policy, including agent sandboxes, CI pipelines, development environments, HTTP service gateways, or Postgres-family database access policies
with-allowed
Declares allowed tools
scope-mismatch
declares read-only but writes
prompt-injection
prompt injection markers
oversized
Trips the per-file size limit