git-master

Automate safe Git operations with confirmation before destructive actions.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/arendon1/agent-skills --skill git-master-arendon1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-master
Source: https://github.com/arendon1/agent-skills/tree/main/git-master
Command: npx skills add https://github.com/arendon1/agent-skills --skill git-master-arendon1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Managing Git workflows can be error-prone and risky. This skill provides safe, guided Git operations with guardrails to reduce mistakes during commits, pushes, merges, rebases, and conflict resolution.

Core Features & Use Cases

  • Safety-first operations: prompts for confirmation before destructive commands and can create a backup branch.
  • Guided workflows: organizes and executes common Git tasks with clarity, including commit, push, merge, rebase, stash, and revert.
  • References and best practices: loads safety rules, references, and examples to support reliable version-control tasks.

Quick Start

From the skill root, run python scripts/bootstrap.py --workspace . to bootstrap the Git Master workflows into your agent workspace.

Frequently Asked Questions about git-master

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

FAQPage Schema
How do I safely rebase Git branches without losing commits?

Safe Git rebasing requires applying guardrails before executing destructive commands. This skill automates branch rebasing by loading safety rules, prompting for confirmation, and optionally creating a backup branch to prevent commit loss.

What is the best way to resolve Git merge conflicts across remotes?

Resolving Git merge conflicts across remotes involves guided workflows with built-in safety checks. This skill organizes and executes conflict resolution by loading references and prompting for confirmation before applying any irreversible merging actions.

Can I automate Git commits and pushes without risking destructive history changes?

Automating Git commits and pushes safely is possible with enforced guardrails. This skill applies safety-first operations for committing and pushing by prompting for confirmation before destructive actions and managing branch backups.

How do I revert a Git commit without breaking the remote repository?

Reverting a Git commit safely requires applying guardrails to prevent breaking the remote repository. This skill executes guided revert workflows by enforcing safety rules and prompting for confirmation before applying irreversible history changes.

Do I need to configure a backup branch before rewriting Git history?

Configuring a backup branch before rewriting Git history is handled automatically by this skill. It enforces safety-first operations by creating backup branches and loading safety rules to prevent accidental data loss during history rewrites.