git-master

Automate atomic commits, rebases, and Git history searches.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Fuzen2478/only-my-opencode --skill git-master-fuzen2478
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-master
Source: https://github.com/Fuzen2478/only-my-opencode/tree/main/src/features/builtin-skills/git-master
Command: npx skills add https://github.com/Fuzen2478/only-my-opencode --skill git-master-fuzen2478

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes Git workflows by enforcing atomic commits, safe history rewrites, and efficient history inspection, reducing messy histories and improving traceability across branches.

Core Features & Use Cases

  • Atomic commits: ensure related changes are committed together for clarity and revert-ability.
  • Rebase & history hygiene: support rebasing, squashing, and history rewriting with safeguards, plus utilities for blame, bisect, and log -S usage to locate changes.
  • Use cases: prepare a clean feature branch for PRs, identify when a bug was introduced via history search, and maintain consistent commit messages across a team.

Quick Start

Run a sample: delegate_task(category='quick', load_skills=['git-master'], operation='squash', target_branch='feature/x', files='src/foo.js src/bar.js')

Frequently Asked Questions about git-master

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

FAQPage Schema
How do I automate atomic commits across multiple files in Git?

Automate atomic commits by orchestrating Git operations that group related changes together, ensuring clarity and revert-ability across multiple files and branches. This deterministic commit strategy enforces precise commit hygiene and makes changes fully traceable.

What is the best way to squash commits on a feature branch before a PR?

Squashing commits on a feature branch is handled through safe history rewrites that combine changes while maintaining history hygiene safeguards. You can target a specific branch and files to prepare a clean, structured history for pull requests.

How does Git bisect and history search help identify when a bug was introduced?

Git history search utilities like blame, bisect, and log -S locate when specific changes were introduced across branches. These inspection tools trace changes efficiently, helping you pinpoint the exact commit that caused a regression.

Can I use Git rebase to maintain consistent commit messages across a team?

Git rebase supports maintaining consistent commit messages across a team by enforcing a deterministic commit strategy with safe history rewrites. This standardizes workflows and ensures structured changelogs remain reproducible across branches.

When should I avoid rewriting Git history on shared branches?

History rewriting carries inherent risks on shared branches despite built-in safeguards. You should avoid interactive rebases or squashing on branches where collaborators are actively committing, as rewritten histories can diverge and cause merge conflicts.

Does git-master work without external dependencies or plugins?

Git-master operates with no external dependencies or plugin components required. It orchestrates advanced Git operations natively, supporting commit, rebase, and history search modes directly within your development workflow environment.