CCDawn/briefbound-skills / skills/engineering/briefbound-development-cleanup
briefbound-development-cleanup
VerifiedUse when a verified or integrated software change has concrete temporary artifacts, generated noise, task-owned background processes or listeners, stale claims, merged local branches, disposable worktrees, or a known PR lifecycle state that requires deferred or post-merge local closeout, or when the user explicitly asks to remove development residue or old branches.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.3 KB |
| agents/openai.yaml | config | 467 B |
| references/local-resource-closeout.md | markdown | 2.2 KB |
| references/post-pr-closeout.md | markdown | 1.1 KB |
references/post-pr-closeout.md
View on GitHub# Post-PR Closeout
只在同一任务已创建或更新 PR,且 branch/worktree/claim 生命周期仍需收口时读取。
先记录并核验 `PR URL / base / published head / local branch / worktree / claim`:
- `PR_OPEN`:输出 `DEFERRED_INTEGRATION`;published head 无待处理写入时关闭/release 实现 claim,保留 branch/worktree 和恢复证据,并以合并为下次触发条件。后续 review 修复重新认领写 scope;没有监控授权时不后台等待,也不声称 `CLEAN`。
- `PR_MERGED`:刷新远程状态并验证 base 包含 published head;关闭无待处理写入的同任务 claim,从稳定 checkout 移除 clean worktree,再用 `git branch -d` 删除已吸收本地分支。目标未安全同步或任一门槛不满足时保留并报告。
- `PR_CLOSED_UNMERGED`:输出 `KEEP`,保留未吸收 branch/worktree 与提交;只有用户明确放弃且满足普通删除门槛时另行清理。
“完成开发到 PR”的请求继承合并后的同任务安全本地收尾许可。它不授权远程分支删除;仓库既有自动删除策略除外。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |