用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vitalyruhl/esp32-bacnet-stack --skill safe-branch-cleanup命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Canonical validation ordering, autofix handling, working-tree checks, and reuse rules.
Canonical post-integration repository synchronization and compact reporting checks.
Canonical explicit GitHub Issue and Project synchronization procedure with read-back verification.
正在显示 SKILL.md
| name | safe-branch-cleanup |
| description | Canonical local, remote, and tracking-branch cleanup procedure with preservation guards. |
| user-invocable | false |
Run only when the workflow coordinator authorizes cleanup. Inspect branch,
working-tree, integration, and protection state first. Delete only local and
remote temporary work branches proven fully integrated into their applicable
integration branch and not protected. Preserve permanent main and server,
release branches, active branches, unmerged branches, explicitly preserved
branches, and ambiguous branches; report a reason for every preserved branch.
Never select a branch for cleanup merely because it is closed, inactive, or old.
Dependabot branches are handled only by their dedicated dependency-update
workflow and are excluded from repository-refactor distribution and cleanup
decisions unless explicitly authorized.
After authorized remote cleanup, fetch and prune tracking references, then
verify local, remote, and stale tracking state. Do not silently leave a stale or
undeletable work branch: stop or report an explicit blocker. A cleanup run after
successful workflow.toMain or workflow.toServer is idempotent: when no
remaining temporary work branches need action, report already clean and do not
repeat destructive or remote work.