Guides git branch completion after implementation and passing tests: verifies tests, offers merge-local/PR/keep/discard options, executes choice, cleans up worktree.
npx claudepluginhub gadaalabs/claude-code-on-steroidsThis skill uses the workspace's default tool permissions.
**SEAL** — *A seal closes and secures — nothing leaves without passing inspection.*
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
SEAL — A seal closes and secures — nothing leaves without passing inspection. When invoked: verifies tests pass, presents exactly four structured completion options, executes the chosen path, and cleans up the isolated workspace. Nothing merges without evidence.
Core principle: Verify tests → Present options → Execute choice → Clean up.
Announce at start: "Running SEAL to complete this branch."
Before presenting any options:
npm test / cargo test / pytest / go test ./...
If tests fail:
Tests failing (<N> failures). Must fix before completing:
[Show failures]
Cannot proceed until tests pass.
Stop. Do not present options.
If tests pass: proceed to Step 2.
git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null
Or confirm: "This branch split from main — is that correct?"
Implementation complete. What would you like to do?
1. Merge back to <base-branch> locally
2. Push and create a Pull Request
3. Keep the branch as-is (I'll handle it later)
4. Discard this work
Which option?
No extra explanation — keep options concise.
git checkout <base-branch>
git pull
git merge <feature-branch>
<test command> # Verify merged result
git branch -d <feature-branch>
Then: cleanup worktree (Step 5).
git push -u origin <feature-branch>
gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
<2-3 bullets of what changed>
## Test Plan
- [ ] <verification steps>
EOF
)"
Then: cleanup worktree (Step 5).
Report: "Keeping branch <name>. Worktree preserved at <path>."
Do not clean up the worktree.
Confirm first — require typed confirmation:
This will permanently delete:
- Branch <name>
- All commits: <commit-list>
- Worktree at <path>
Type 'discard' to confirm.
If confirmed:
git checkout <base-branch>
git branch -D <feature-branch>
Then: cleanup worktree (Step 5).
git worktree list | grep $(git branch --show-current)
git worktree remove <worktree-path>
Option 3: keep worktree intact.
| Option | Merge | Push | Keep Worktree | Cleanup Branch |
|---|---|---|---|---|
| 1. Merge locally | ✓ | — | — | ✓ |
| 2. Create PR | — | ✓ | ✓ | — |
| 3. Keep as-is | — | — | ✓ | — |
| 4. Discard | — | — | — | ✓ (force) |
Never:
Always:
'discard' typed confirmation for Option 4Called by:
phantom — after all plan tasks completeexodus — after all execution batches completePairs with:
vault — cleans up the worktree that VAULT created