/git is the final stage of the pipeline. It runs pre-ship verification, then handles commit messages, branch operations, and the merge or PR decision using safe defaults and structured protocols.
Pre-ship verification
Before any git operation that ships code, SuperAntigravity loads the verification-before-completion skill. No completion claims are made without fresh verification evidence — meaning the test suite is run in full and the output is read before any success claim is made. Then the finishing-a-development-branch skill presents exactly four options:Smart commit protocol
For individual commits during/implement or when running /git directly:
Stage specific files
Stage only the files that belong to this commit.
git add . is never used blindly.Commit message format
All commit messages follow Conventional Commits:| Prefix | Use for |
|---|---|
feat: | New feature |
fix: | Bug fix |
refactor: | Code change without behavior change |
test: | Test additions or changes |
docs: | Documentation only |
chore: | Maintenance tasks |
During
/implement, commits use the test: prefix with the format test: [what behavior is now tested]. This links each commit directly to the behavior it verifies.Branch naming
| Type | Pattern | Example | |------|---------|---------|| | Feature |feat/description | feat/user-auth |
| Fix | fix/description | fix/token-expiry |
| Experiment | experiment/description | experiment/new-cache-layer |
Common operations
Safety rules
These rules are enforced unconditionally: If you explicitly request a force push tomain or master, SuperAntigravity will warn you and ask for confirmation before proceeding.
Finishing a development branch
When SuperAntigravity reaches the end of/implement, the finishing-a-development-branch skill guides the merge or PR decision:
Verify tests
Runs the full test suite. If tests fail, the process stops here. Merge or PR options are not presented until tests pass.
Execute choice
Runs the chosen option. For a local merge, runs tests on the merged result before deleting the feature branch. For a PR, pushes the branch and creates the PR with a summary and test plan.