mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-08 18:18:44 +00:00
1.0 KiB
1.0 KiB
name, model, description, argument-hint, allowed-tools
| name | model | description | argument-hint | allowed-tools |
|---|---|---|---|---|
| commit-default | sonnet | Split changes into semantic commits, and push. | [preapproved] | Bash(git *) |
Run all checks, commit changes in meaningful semantic groups, and push.
Argument: $ARGUMENTS — if this contains "preapproved", skip the confirmation step in and commit immediately.
- Run
git diffandgit statusto see all changes. - Analyze the full diff and group changes into meaningful semantic commits.
- Create each commit separately by staging the relevant files for each group. Use
git add <specific files>— nevergit add -Aorgit add .. - If "preapproved" was NOT passed as an argument, show a summary of all commits to be created and ask for confirmation before creating them. If changes are requested, modify the commits accordingly and repeat until confirmed. If "preapproved" was passed, skip confirmation and commit immediately.
- After all commits are created, run
git push. - Show a summary of all commits pushed.