Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bntvllnt avatar

Git

  • 58 installs
  • 15 repo stars
  • Updated May 31, 2026
  • bntvllnt/agent-skills

Git is a Claude Code skill that runs a branch-first git workflow covering status review, safe commits, worktrees, tags, and PR creation and review via gh.

About

Git is a Claude skill that runs a repeatable git workflow biased toward safety. It routes user intent (status, commit, branch, worktree, tag, PR, review, merge/rebase) to the smallest matching reference procedure. Developers use it to stage and commit safely, manage worktrees, and create or review pull requests via the gh CLI. It enforces confirmation before any state- or history-changing operation.

  • Branch-first git workflow with read-only inspection, safe commits, worktrees, tags and PRs
  • Router table maps user intent to a specific reference workflow
  • Global safety rules: never force-push main, never commit secrets, confirm before state changes

Git by the numbers

  • 58 all-time installs (skills.sh)
  • Ranked #280 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
At a glance

git capabilities & compatibility

Capabilities
github · workflow · pr review
Works with
github
Use cases
code review
From the docs

What git says it does

Unified git workflow for branch-first development: status/diff review, security-first commits,
SKILL.md
Never force push to main/master.
SKILL.md
Never commit secrets (env files, keys, credentials).
SKILL.md
npx skills add https://github.com/bntvllnt/agent-skills --skill git

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs58
repo stars15
Last updatedMay 31, 2026
Repositorybntvllnt/agent-skills

What it does

Run branch-first git operations - status review, safe commits, worktrees, tags, and PR creation or review - with confirmation gating on any state change.

Who is it for?

Developers who want a consistent, confirmation-gated git workflow for commits, worktrees and PRs.

When should I use this skill?

The user says commit, push, branch, worktree, pr, pull request, merge, rebase, or git.

What you get

Repeatable git operations that always show what will change and require confirmation before irreversible actions.

By the numbers

  • 12-row intent router table

Files

SKILL.mdMarkdownGitHub ↗

Git

Clear, repeatable git workflow with a bias toward safety.

Router

Use the smallest workflow that matches the user intent.

User saysLoad referenceDo
status / what changed (no "worktree" prefix)references/read-only.mdread-only inspection
help / usage / manreferences/cli-help.mdshow CLI help safely
commit / stagereferences/commit-workflow.mdstage + commit safely
branch / switchreferences/branch-workflow.mdbranch operations
worktree create/remove/listreferences/worktree-workflow.mdworktree operations
worktree cleanup / normalize / consolidatereferences/worktree-maintenance.mdauto-clean + consolidate worktrees
worktree summary / worktree status / show worktreesreferences/worktree-summary.mdproactive analysis: PR status, change classification, safe-to-delete verdicts
tag / versionreferences/tag-workflow.mdcreate/list/inspect tags
pr / pull requestreferences/pr-workflow.mdcreate/update PR via gh
pr review / fix pr comments / threadsreferences/pr-review-workflow.mdreview + respond + fix
merge / rebase / reset / revertreferences/advanced-workflows.mdadvanced/recovery (confirm first)

Config (Edit Here)

Worktree working directories (the folders you cd into) live outside .git/.

Set this once and use it everywhere:

WORKTREES_DIR=./.worktrees
WORKTREE_PATH=$WORKTREES_DIR/<topic>

If you want a different location (e.g. ../.worktrees or ~/worktrees/<repo>), update WORKTREES_DIR above and follow the same shape in references/worktree-workflow.md.

Resilience Rules (Worktrees)

  • If multiple worktree root folders are detected (example: both ./.worktrees/ and ../repo-feature-x/ exist), do not delete anything by default.
  • Prefer consolidating into WORKTREES_DIR using git worktree move (when possible) or a remove+re-add plan.
  • If stale metadata exists, propose a cleanup plan: git worktree prune + remove/quarantine orphan directories (with confirmation).

Global Safety Rules (Never Violate)

  • Never force push to main/master.
  • Never commit secrets (env files, keys, credentials).
  • Never rewrite history that is already pushed unless explicitly requested.
  • Always show what will change before an irreversible action.

Confirmation Policy

Read-only commands are always OK.

Everything that changes state/history/remote requires explicit user confirmation:

  • git add, git commit, git push
  • git merge, git rebase, git reset, git revert
  • git worktree add, git worktree remove
  • git tag (create/delete)
  • git branch -d/-D

Quick Start

# Read-only
git status
git diff

# Commit
git diff --cached
git commit -m "feat(scope): why"

# Worktrees
git worktree list

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.