ワンクリックで
git-commit-push
Stage, commit, and push changes to remote repository with approval gate
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Stage, commit, and push changes to remote repository with approval gate
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Autonomous AI crystallization - synthesizes converged thinking topics into ai-inferred notes in a dedicated folder. Never touches the human-curated permanent knowledge base and never changes a topic's status, so manual crystallization stays available to the user.
Analyze knowledge base structure and update the knowledge-base-analysis.md report
Discover non-obvious cross-domain connections through random sampling and pattern analysis
Run a full coherence sweep across the Brain Dependency Graph - computes staleness, lifecycle transitions, structural health, and generates a report
Compute lifecycle scores for all insight and framework notes - detect which notes are crystallizing or becoming generative
Create long-form articles from knowledge base insights. Use when writing articles, blog posts, Substack content, or synthesizing knowledge into publishable content. Includes tone of voice, structure templates, and knowledge base integration.
| name | git-commit-push |
| description | Stage, commit, and push changes to remote repository with approval gate |
| automation | gated |
| allowed-tools | ["Bash","AskUserQuestion"] |
| user-invocable | true |
Commit and push changes to the remote repository. Shows diff for approval before committing.
Safely commit and push all staged and unstaged changes to the remote repository. Presents changes for review before committing to prevent accidental commits.
| Source | Location | Read | Write | Description |
|---|---|---|---|---|
| Git status | .git/ | X | Current repo state | |
| Working directory | ./ | X | Modified files | |
| Remote repository | origin | X | Push destination |
# Show current branch
git branch --show-current
# Check if there are changes to commit
git status --short
If no changes, inform user and exit.
Present the changes for review:
# Show summary of changes
git status
# Show detailed diff of modified files (not untracked)
git diff
# Show staged changes if any
git diff --cached
Ask user:
Use AskUserQuestion with options:
Based on user choice:
If "Commit all changes":
# Stage all changes
git add -A
# Commit with user-provided message
git commit -m "$(cat <<'EOF'
[commit message here]
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
EOF
)"
If "Select specific files":
# Push to current branch's upstream
git push
# If no upstream, push with -u flag
git push -u origin $(git branch --show-current)
# Confirm push succeeded
git log --oneline -1
# Show remote status
git status
| Error | Recovery |
|---|---|
| No changes to commit | Inform user, exit gracefully |
| No remote configured | Ask user to configure: git remote add origin <url> |
| Push rejected (non-fast-forward) | Suggest git pull --rebase first |
| Authentication failed | Check SSH keys or credentials |
| Branch protection | Inform user, suggest PR workflow |
Basic usage:
/git-commit-push
After a work session:
User: commit and push my changes
Agent: [runs this skill]
--force push (safety)