Prepare Branch Integration
Prepare a development branch for merge, pull request, handoff, or deliberate retention by verifying repository policy, changes, tests, history, migration risk, and integration options. Use after implementation is complete but before mutating remote or shared branch state.
Runs on
Scope
$npx @youdede/toolkit add prepare-branch-integration --target claude-code
What it does
Prepare a development branch for integration with clean evidence, explicit options, and recoverable actions.
When it fires
- review
- release
- handoff
How it behaves
It does not discard work, force-push, merge, delete branches, or publish without clear authorization.
It does not hide failing checks, untracked files, migrations, or scope drift.
It does not claim a branch is integrated from local state alone.
- Version
- 1.3.0
- Licence
- RiskIt may push, merge, or delete branch and worktree state after authorization, affecting shared history or recoverability.
- High
- ModeHow it works: fixed rules, model instructions, or both.
- Prompt only
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe skill prepares a development branch for integration with clean evidence, explicit options, and recoverable actions, using sequential evidence and verification steps.
- Bounded
- Data retentionWhether data remains after use and who manages its storage.
- Managed by the runtime
Often used with
All in Operations