ワンクリックで
git-workflow
Use when committing code, pushing changes, or managing Git operations that require safety checks
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when committing code, pushing changes, or managing Git operations that require safety checks
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when the current Agent LLM cannot process images directly and visual analysis is needed — bridges images through KimiCode CLI print mode to a multimodal Kimi model for text description
Use when building HUDs, menus, inventory screens, settings panels, or any widget-based interface in Unreal Engine 5. Also use when connecting C++ logic to UMG Blueprint visuals, handling gamepad or keyboard focus navigation, managing UI state, creating widget animations, or troubleshooting UMG performance issues like frame drops, hitches, or widget memory leaks.
Use when working in a DevFlow project with .devflow/ directory and gate-based step-by-step workflows
Use when contributing new skills to the skill-lib repository, installing skills locally, or verifying skill compliance with repository standards
Use when analyzing unfamiliar code modules, understanding system architecture, or preparing for refactoring
Use when implementing new modules from design documents, adding features to existing code, or generating structured implementations
| name | git-workflow |
| description | Use when committing code, pushing changes, or managing Git operations that require safety checks |
| version | 1 |
Automate Git operations with safety checks and user confirmation. This skill ensures changes are reviewed and explicitly approved before committing or pushing.
Checks Workspace Status
Smart Confirmation Prompt
Safe Commit & Push
Conflict Detection
When NOT to use:
python scripts/git_commit.py
The script will:
git statuspython scripts/git_commit.py --interactive
Step-by-step confirmation for each file.
📋 **Git Status Summary:**
Modified:
- SOUL.md (41 insertions)
- README.md (5 deletions)
Untracked:
- new-feature.md
- temp.log (should be ignored?)
✅ **Confirm:**
Reply:
- "yes" → commit all modified
- "commit with untracked" → commit all including untracked
- "only SOUL.md" → commit specific file
- "ignore temp.log" → add to .gitignore
- "skip" → do nothing
git push -f)git status before any operation.gitignore$ python scripts/git_commit.py
📊 Git Status:
M SOUL.md
?? new-file.md
📋 Changes Summary:
Modified: SOUL.md
Untracked: new-file.md
✅ Confirm: Reply "yes" to commit modified, "commit with untracked" for all, or specify files
> yes
📝 Commit message: Update SOUL.md
✅ Committed: a1b2c3d Update SOUL.md
🚀 Pushed to origin/main
$ python scripts/git_commit.py
📊 Git Status:
M README.md
?? temp.log
?? important.md
📋 Changes Summary:
Modified: README.md
Untracked: temp.log, important.md
✅ Confirm: What to commit?
> commit with untracked
⚠️ temp.log looks like a temporary file. Add to .gitignore instead?
> yes
📝 Commit message: Update README and add important docs
✅ Committed: b2c3d4e Update README and add important docs
🚀 Pushed to origin/main
$ python scripts/git_commit.py
📊 Git Status:
M SOUL.md
📋 Changes Summary:
Modified: SOUL.md
✅ Confirm: Reply "yes" to commit
> skip
⏹️ Skipped. No changes committed.
⚠️ **Merge Conflict Detected!**
Conflicted files:
- README.md
- config.yaml
Cannot commit until conflicts are resolved.
Suggested steps:
1. Edit files to resolve conflicts
2. Run: git add <resolved-files>
3. Run this script again
⚠️ **Local branch is behind remote**
Run: git pull origin main first?
> yes
Pulling latest changes...
[...]
✅ Now you can commit your changes.
❌ **Push Failed: Authentication Error**
Possible causes:
- SSH key not configured
- Token expired
- Wrong remote URL
Suggested fixes:
1. Check: git remote -v
2. Test: ssh -T git@github.com
3. Or use HTTPS with token
# Check if files are actually modified
git status
# Check if in git repository
git rev-parse --git-dir
# Check SSH key
ssh -T git@github.com
# Or use HTTPS
git remote set-url origin https://github.com/username/repo.git
# Pull first
git pull origin main
# Resolve any conflicts
# Then commit again