Git Master

🌐Community
by code-yeongyu · vlatest · Repository

Automates Git workflows like branching, merging, committing, and pushing changes based on natural language instructions.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add git-master npx -- -y @trustedskills/git-master
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "git-master": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/git-master"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

Git Master is an AI agent skill designed to automate Git workflows using natural language instructions. It handles tasks such as creating commits, rebasing branches, resolving conflicts, and searching through commit history. A core principle of this skill is generating multiple commits by default, particularly when changes span several files or directories – a key differentiator from many simpler Git automation tools.

When to use it

  • When you need to automate complex Git operations based on natural language requests.
  • For refactoring and cleaning up branch history (rebasing).
  • To quickly find out who made specific changes or when they were introduced within a repository.
  • When dealing with large sets of changes that require splitting into multiple, atomic commits.

Key capabilities

  • Commit Architect: Creates atomic commits, detects style issues, and manages dependency ordering.
  • Rebase Surgeon: Rewrites history, resolves conflicts, and cleans up branches.
  • History Archaeologist: Locates specific changes within the commit history using techniques like git blame and git bisect.
  • Mode Detection: Automatically determines the appropriate Git operation (commit, rebase, or history search) based on user input.
  • Parallel Context Gathering: Simultaneously retrieves information such as current status, recent commits, branch position, and upstream tracking to inform actions.

Example prompts

  • "Commit these changes with a descriptive message."
  • "Rebase my feature branch onto main and squash the last three commits."
  • "Find when the login functionality was first implemented."
  • “Cleanup this branch history”

Tips & gotchas

  • Multiple Commits are Mandatory: Git Master always creates multiple commits, especially when more than two files are modified. Attempting to force a single commit will result in failure.
  • File Splitting is Key: The skill prioritizes splitting changes across different directories, component types, or concerns into separate commits. Be prepared for this behavior and understand the reasoning behind it.
  • Parallel Analysis: The agent performs several Git commands concurrently to gather context; be aware that this initial phase may take a moment.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
code-yeongyu
Installs
91

🌐 Community

Passed automated security scans.