git

Automate branch-first Git workflows with PR creation via gh.

15|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/bntvllnt/agent-skills --skill git-bntvllnt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/bntvllnt/agent-skills/tree/main/git
Command: npx skills add https://github.com/bntvllnt/agent-skills --skill git-bntvllnt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a clear, repeatable git workflow focused on safety, branch-first development, and streamlined PR lifecycle via gh for collaboration.

Core Features & Use Cases

  • Branch-first development with protected base branches
  • Worktree management and maintenance for parallel work
  • PR creation and review workflows via gh
  • Safe, auditable commit practices and change visibility

Quick Start

Install: npx skills add bntvllnt/agent-skills --skill git Common workflows: inspect current state with git status, create a feature branch with git switch -c feat/<topic>, push and open PR with gh pr create (gh optional)

Frequently Asked Questions about git

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

FAQPage Schema
How do I automate a safe git workflow for branch management and PRs?

A safe git workflow is automated by enforcing branch-first development with protected base branches and explicit confirmations for destructive actions. It unifies branch management, worktrees, and PR lifecycles with recommended defaults and checks.

What is the best way to manage git worktrees for parallel development?

Git worktree management is handled through dedicated maintenance commands that support parallel work across multiple branches. This approach keeps your main repository clean while allowing isolated feature development environments.

How do I create a PR with gh after switching to a feature branch?

Creating a PR with gh follows a branch-first workflow where you switch to a feature branch using git switch -c feat/<topic>, then push and open a PR with gh pr create. The gh CLI is optional but streamlines collaborative review workflows.

Does this git workflow require any special dependencies or tools to function?

This git workflow has no special dependencies and uses standard git commands for core operations. The gh CLI is optional for PR creation and review, but the safety-first commit practices and branch management function independently.

Can I use this workflow for collaborative PR review across local and remote repositories?

Collaborative PR review is supported across local and remote workflows via gh integration. The workflow manages the entire PR lifecycle, ensuring safe, auditable commit practices and change visibility throughout the review process.

Why does this git workflow enforce explicit confirmations for destructive actions?

Explicit confirmations for destructive actions are enforced to ensure safe, auditable commit practices. This safety-first approach prevents accidental data loss during branch management and maintains change visibility across your workflow.