What problem does it solve?
Delivering code changes in a messy working tree risks accidentally committing unrelated dirty files, switching branches silently, or breaking submodule states. This Skill enforces a disciplined, authorization-first Git delivery workflow so only explicitly scoped changes are committed and pushed.
Core Features & Use Cases
- Scoped Staging and Verification: Stages only confirmed target paths, then validates with
git diff --cached --name-status, --stat, and --check before committing.
- Worktree and Submodule Safety: Records branch, upstream, and worktree state first; commits submodules before updating the parent repo gitlink.
- Controlled Delivery: Commits with typed prefixes (e.g.,
fix:, docs:), pushes only user-specified branches and remotes, and verifies commit SHA, upstream, and remote branch state afterward.
- Use Case: A maintainer has a mixed working tree with unrelated edits and asks to deliver only the prepared fix; the Skill stages just those paths, runs pre-commit hooks, commits, pushes to the specified remote, and reports commit, push, and CI status separately.
Quick Start
Use the comet-safe-delivery skill to commit and push only my confirmed changes to the current branch.