跳到正文
cccskills
免费在 GitHub 公开

finishing-a-development-branch

Use when implementation and tests are complete and a human must choose how local branch work should be integrated or preserved

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Finishing a Development Branch

Principle

Verify first, preserve workspace ownership, then ask for the integration decision. Branch completion never grants remote mutation authority.

1. Verify

Run the repository's full required test command and inspect the exit status. If it fails, report the failures and stop the finishing flow.

2. Inspect Local State

Read-only checks should establish:

  • current branch or detached state;
  • base branch evidence;
  • changed, staged, and untracked files;
  • whether this checkout is a worktree and who appears to own it;
  • local commits not contained in the base branch.

Do not clean, reset, delete, merge, or switch branches during inspection.

3. Use NeedsUser for the Decision

Present the verified state and ask the human to choose one bounded outcome:

  1. integrate locally;
  2. request separately approved remote publication;
  3. preserve the branch and worktree as-is;
  4. discard work after explicit destructive confirmation.

Record this as a NeedsUser decision when the flow is running inside Yardlet. Do not reinterpret silence or a branch classification as approval.

4. Execute Only the Chosen, Authorized Path

Local integration still requires a clean ownership check and verification on the integrated result. Any remote write or pull-request creation stays behind the existing explicit approval gate. Destructive cleanup requires an exact, informed confirmation describing the branch, commits, and worktree affected.

Never remove harness-owned worktrees. Never remove a worktree before successful integration is verified. Preserve unrelated staged or untracked files.

Completion Evidence

Report the chosen outcome, commands actually run, fresh validation result, and the final local branch/worktree state. If authorization was not provided, stop at NeedsUser without performing the gated action.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

atomic-write no-op 증명은 inode 비교로

中文简介正在准备中。当前显示原文说明。

zzunkie/yardlet182026年10月19日 更新

availability 표시 게이트는 실행 의미 공급자와 교차 대조

中文简介正在准备中。当前显示原文说明。

zzunkie/yardlet182026年10月19日 更新

base 전진 시 retained worktree diff의 3-way 재이식

中文简介正在准备中。当前显示原文说明。

zzunkie/yardlet182026年10月19日 更新

builtin-bundle-reverify

中文简介正在准备中。当前显示原文说明。

zzunkie/yardlet182026年10月19日 更新

builtin-bundle-reverify에 CLI fixture leg 절차 추가

中文简介正在准备中。当前显示原文说明。

zzunkie/yardlet182026年10月19日 更新

codex CLI 플래그 실재는 설치된 바이너리 help로 검증

中文简介正在准备中。当前显示原文说明。

zzunkie/yardlet182026年10月19日 更新

查看 zzunkie 的全部技能

报告此技能的问题