clean-up

仓库创建 2026年7月2日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由

把常见收尾工作自动化,减少手工清理和仓库杂乱。

▸ 风险提示

执行删除/停用操作,需谨慎授权与确认以免误删工作分支或资源

这个 Skill 做什么

在 PR 合并后清理本地分支、worktree、远端引用并关闭已完成的背景任务。

在 PR 已合并或者代理任务结束后,帮你清理本地 git 分支、worktree、远端追踪引用,并关停已经完成的后台任务或 agent 团队。适合合并后做收尾、或你说要“清理已合并的分支/移除 stale worktrees”时使用。只会删除那些工作已安全备份或合并的项,确保不会误删未落地的改动。

▸ 展开 SKILL.md 英文原文

Tidy up after a finished process: delete local git branches and worktrees whose pull request has already merged, prune stale remote-tracking refs, and spin down background tasks and teams that have completed their work. Use this whenever one or more PRs have just merged, after a /delegate run wraps up, or when the user says things like "clean up", "clean up the merged branches", "remove stale worktrees", "tidy up my branches", or "we're done, spin down the agents". This is git + agent housekeeping — NOT source-code cleanup or refactoring.

自动化集成清理git运维通用
0
Stars
0
Forks
35
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/dustinkeeton/wafflestack/main/stacks/github-workflow/skills/clean-up/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/dustinkeeton/wafflestack/main/stacks/github-workflow/skills/clean-up/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Clean Up

Housekeeping after work has landed. Two independent domains:

- **Git** — local branches and worktrees whose PR is merged, plus a `git fetch --prune`.
- **Harness** — background tasks and teams that have finished their work.

The guiding principle is that cleanup should only ever remove things whose work is
**already safe elsewhere** — a branch whose PR merged, a task that completed. Anything
still in flight, or holding the only copy of some work, is left alone. Because the
destructive half (force-deleting branches, deleting teams) can't be undone, the default
is to **show the full plan and wait for a yes** before touching anything.

## Arguments

| Arg | Effect |
|---|---|
| _(n
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有