- 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>
25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
---
|
|
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
|
|
description: Create a git commit
|
|
---
|
|
|
|
**This command IS explicit approval to commit — 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, create a single git commit.
|
|
|
|
1. If there are no changes, say "Nothing to commit" and stop
|
|
2. Stage all relevant changed files (prefer specific files over `git add -A` — avoid secrets, .env, credentials)
|
|
3. Draft a concise commit message following the repo's existing style (focus on "why" not "what")
|
|
4. 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)
|
|
|
|
You have the capability to call multiple tools in a single response. Stage and create the commit 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.
|