git

Automate Git commits, pushes, PRs, and CI triage with git-spice integration.

Updated Nov 14, 2019
One-click install
npx skills add https://github.com/scott-rc/dotfiles --skill git-scott-rc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/scott-rc/dotfiles/tree/main/configs/claude/skills/git
Command: npx skills add https://github.com/scott-rc/dotfiles --skill git-scott-rc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, gh, perl, git-spice, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Streamlines and automates complex Git workflows across commits, PRs, and CI triage, enabling reliable collaboration on dotfiles and similar repos.

Core Features & Use Cases

  • Automates commit management (commit, amend, squash) and branch operations (split, stack, restack) with automatic PR integration.
  • Orchestrates PR creation, updates, and description refresh, plus CI triage using project conventions and references.
  • Enforces branch context and downstream PR safety checks, guiding users through risky operations.

Quick Start

Follow the guided prompts to initialize, configure, and start automating your Git workflows.

Frequently Asked Questions about git

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

FAQPage Schema
How do I automate stacked PR workflows and branch restacking?

Automate stacked PR workflows by splitting, stacking, and restacking branches with git-spice integration. The tool orchestrates end-to-end branch operations, enforcing downstream PR safety checks and automatically updating PR titles and descriptions during restacking.

Can I automate squashing commits and rebasing branches without breaking downstream PRs?

Yes, you can automate squashing commits and rebasing branches while enforcing downstream PR safety. The automation evaluates branch context and CI triage patterns to guide risky operations and prevent breaking dependencies across stacked branches.

What's the best way to triage CI failures across multiple pull requests?

Triage CI failures across pull requests using automated project conventions and reference patterns. The tool drives automated decisions for CI triage, evaluating branch context and CI status to guide commit amendments and PR updates.

Do I need git-spice and gh installed to automate commit and PR management?

Yes, you need git-spice, gh, jq, and perl installed to automate commit and PR management. These dependencies provide the underlying branch stacking, GitHub CLI interaction, JSON parsing, and text processing required for end-to-end workflow automation.

How does automated branch context enforcement work during git rebases?

Automated branch context enforcement works by evaluating downstream PR dependencies before executing git rebases. It performs safety checks to ensure restacking or amending commits will not invalidate or break stacked pull requests across the repository.