dqz00116/skill-lib/git-workflow
Claude Code and agent skill by dqz00116/skill-lib
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when committing code, pushing changes, or managing Git operations that require safety checks
Install
npx vskill@latest install dqz00116/skill-lib/git-workflowSKILL.md
Git Workflow Skill
Overview
Automate Git operations with safety checks and user confirmation. This skill ensures changes are reviewed and explicitly approved before committing or pushing.
When to Use
- Checks Workspace Status
- Shows modified files
- Lists untracked files
- Detects conflicts or merge states
- Smart Confirmation Prompt
- Lists all changes clearly
- Asks for explicit approval
- Provides multiple options (commit all, specific files, ignore, skip)
- Safe Commit & Push
- Only commits after confirmation
- Handles GitHub authentication
- Reports success or failure
- Conflict Detection
- Detects merge conflicts
- Suggests resolution steps
- Prevents force pushes
When NOT to use:
- When you need automated/unattended commits without user interaction
- When performing complex Git operations beyond standard commit/push workflows
- When a different skill or tool is explicitly designated for Git operations
Quick Start
Simple Commit
The script will:
- Show
git status - Ask for confirmation
- Commit and push if approved
Interactive Mode
Step-by-step confirmation for each file.
Confirmation Format
Safety Rules
Never
- â Commit without checking status first
- â Commit without user confirmation
- â Force push (
git push -f) - â Commit binary/temporary files without asking
Always
- â
Check
git statusbefore any operation - â Show list of changes for approval
- â
Respect
.gitignore - â Handle errors gracefully
- â Report what was done
Usage Examples
Example 1: Simple Workflow
Example 2: With Untracked Files
Example 3: Skip Everything
Handling Edge Cases
Merge Conflicts
Diverged Branches
Authentication Issues
Best Practices
- Check before committing: Always review changes
- Write clear messages: Describe what and why
- Commit related changes: One logical change per commit
- Don't commit secrets: Check for API keys, passwords
- Keep commits small: Easier to review and revert
Troubleshooting
"nothing to commit"
"Permission denied"
"failed to push"
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggit-workflow/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dqz00116/skill-lib/git-workflow)