git-workflow

Automate Git commit and push workflows with user approval and safety checks.

22|7|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Dqz00116/skill-lib --skill git-workflow-dqz00116
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/Dqz00116/skill-lib/tree/main/git-workflow
Command: npx skills add https://github.com/Dqz00116/skill-lib --skill git-workflow-dqz00116

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automate Git commit and push workflows with intelligent prompts and safety checks to prevent unauthorized changes and ensure accountability.

Core Features & Use Cases

  • Workspace status checks before commit, listing modified and untracked files.
  • Interactive confirmation with explicit options (commit all, specific files, or ignore).
  • Safe commit and push with authentication handling and robust error reporting.
  • Conflict detection and resolution guidance to avoid destructive pushes.
  • Use cases include team code contributions, staged reviews, and safe publishing to shared branches.

Quick Start

Run the interactive commit workflow by executing python scripts/git_commit.py.

Frequently Asked Questions about git-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate git commits with safety checks to prevent unauthorized changes?

You can automate git commits with safety checks using a workflow that lists modified and untracked files, requires interactive confirmation, and applies guarded push operations. This prevents unauthorized changes by ensuring explicit user approval before committing.

How do I list modified and untracked files before a git commit?

To list modified and untracked files before a git commit, the workflow performs workspace status checks. It identifies all changed files and presents them for interactive confirmation, allowing you to commit all files, specific files, or ignore changes.

What is the best way to prevent destructive pushes to shared remote branches?

The best way to prevent destructive pushes to shared remote branches is using an approval-driven workflow with conflict detection and resolution guidance. This ensures safe pushes by handling authentication and reporting robust errors before any remote changes occur.

Can I commit specific files instead of all workspace changes in an automated workflow?

Yes, you can commit specific files instead of all workspace changes. The workflow provides interactive confirmation with explicit options, allowing you to select specific files to commit or ignore, ensuring only approved code changes are pushed.

How does conflict detection work during a safe git push operation?

Conflict detection during a safe git push operation works by identifying potential issues before changes are applied. It provides resolution guidance to avoid destructive pushes and reports robust errors if authentication or remote branch conflicts occur.

Do I need Python installed to run automated git commit workflows?

Yes, you need Python installed to run the automated git commit workflow. The interactive workflow is executed by running a Python script that handles workspace checks, user confirmation, and guarded push operations for your version control process.