What problem does it solve?
Git operations inside Spec Kitty missions can corrupt worktrees, lose user changes, or leave stale branch state when handled ad hoc. This Skill provides a governed procedure for running git operations safely within the Spec Kitty workflow.
Core Features & Use Cases
- Worktree Lifecycle Management: Inspect the active mission, branch, worktree, and target branch before performing any git operation.
- Safe Commits and Merge Preflights: Route git operations through the Spec Kitty CLI when available and check for merge blockers before merging.
- Stale State and Recovery Handling: Detect stale repository state and hand off to
spk-gate-merge or spk-run-blocked-recovery after repair.
- Use Case: An agent working in an isolated worktree under
.worktrees/ finishes a work package and needs to commit and merge; this Skill ensures the commit is safe, blockers are checked, and user changes are preserved.
Quick Start
Ask the agent to inspect the current Spec Kitty worktree and branch state, then run a safe commit and merge preflight for the active mission.