Skip to content
Back to skills

Guru Rebind Task Branch

ASecurity

Rebind one active task branch at a reviewed clean and base-contained boundary, with exact read-only recovery.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 28, 2026
toolsapi

Works with

  • api

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add castbox/guru-trellis --skill guru-rebind-task-branch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Guru Rebind Task Branch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Guru Rebind Task Branch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/castbox-guru-rebind-task-branch/badge)](https://www.skillsdirectory.com/skills/castbox-guru-rebind-task-branch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: guru-rebind-task-branch
description: Rebind one active task branch at a reviewed clean and base-contained boundary, with exact read-only recovery.
---

# Rebind Task Branch

Before substantive output, read `.trellis/spec/workflow/clear-technical-writing.md`
in full and apply it within this entry's existing scope. Until that read succeeds,
use only short progress messages or concrete missing-dependency diagnostics.
State the current action or missing item; make no unverified claim. If the file
cannot be read, pause substantive output, then read it and resume the same
request when available. No additional approval is needed for that recovery.

Read `.trellis/spec/workflow/workflow-contract.md#interaction-budget` before
any confirmation, choice or clarification. This Skill retains its own action
plan, confirmation boundary and execution/recovery contract.

Review the exact active task, current branch and ownership, target branch,
clean checkout and selected base. Record one call-local plan. Rebind only if
the current HEAD is contained in the reviewed target base; no uncommitted or
undelivered content moves through this owner. Show the branch/worktree effects
before execution. Existing caller-owned resources remain caller-owned.

Use `scripts/record-plan.sh` to capture the exact pre-state and
`scripts/invoke.sh --root <repository> --input -` to execute or recover.
After lost output, recover from the same plan without executing again. Never
persist checkout paths in task identity, branch binding or session state.

Read `.trellis/spec/workflow/companion-scripts.md#intermediate-command-stdout-10` for receipts and `result` projection.
Only the declared public invocation emits a formal exit; follow its consumer and positive-exit conditions.

## Delivery API 迁移

公共 profile 为 `delivery_task_branch_rebind`;旧 profile 只保留历史 schema,不能执行。分支绑定属于 Task 的资源事实,公共输入不再携带 Task stage/status。executor 从已安装公共 Task schema 2 校验身份和 generation,并保留 clean/base-contained、原 plan 与输出丢失只读恢复条件;不会创建或修改 Delivery Planning/gate。

Files in this skill

  • SKILL.md852 B
  • commands.json5.2 KB
  • consumers/stop/production/blocked.schema.json275 B
  • consumers/stop/production/invalid.schema.json286 B
  • consumers/workflow/production/rebound.schema.json337 B
  • consumers/workflow/production/refresh.schema.json351 B
  • evals/evals.json1.9 KB
  • evals/files/scenarios.json468 B
  • examples/public-blocked-output.json61 B
  • examples/public-invalid-task-state-output.json72 B
  • examples/public-rebound-output.json64 B
  • examples/public-refresh-review-output.json71 B
  • interface.json8.6 KB
  • schemas/public-blocked-output.schema.json276 B
  • schemas/public-input.schema.json1.9 KB
  • schemas/public-invalid-task-state-output.schema.json287 B
  • schemas/public-invocation-error.schema.json376 B
  • schemas/public-output.schema.json968 B
  • schemas/public-plan-request.schema.json849 B
  • schemas/public-rebound-output.schema.json345 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.