- Add commit.md and commit-push-pr.md commands - Update cognitive-memory SKILL.md to use claude-memory wrapper - Split major-domo CLI into cli.py + cli_admin.py - Add claude-statusline scripts and plugins dir - Remove deprecated claude-pulse script - Update settings.json and claude-researcher agent Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
| allowed-tools | description |
|---|---|
| Bash(git add:*), Bash(git status:*), Bash(git push:*), Bash(git commit:*), Bash(git branch:*), Bash(git remote:*) | Commit and push to remote |
This command IS explicit approval to commit and push — no need to ask for confirmation.
Context
- Current git status: !
git status - Current git diff (staged and unstaged changes): !
git diff HEAD - Current branch: !
git branch --show-current - Recent commits: !
git log --oneline -10
Your task
Based on the above changes:
- If there are no changes, say "Nothing to commit" and stop
- Stage all relevant changed files (prefer specific files over
git add -A— avoid secrets, .env, credentials) - Draft a concise commit message following the repo's existing style (focus on "why" not "what")
- Create the commit with
Co-Authored-By: Claude <model> <noreply@anthropic.com>where<model>is the model currently in use (e.g., Opus 4.6, Sonnet 4.6, Haiku 4.5) - Push to the remote with
-uflag:git push -u origin <branch> - Confirm success with the commit hash
You have the capability to call multiple tools in a single response. Stage, commit, and push using a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.