Agent skill

git

Git operations including worktrees, branching, and repository management

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/git-kagenti-kagenti

SKILL.md

Git Skills

Git operations for development workflows.

Sub-Skills

Skill Description
git:commit Create properly formatted commits
git:rebase Rebase branches onto upstream main
git:status Show worktrees with PR status and TODO files overview
git:worktree Manage git worktrees for parallel development

When to Use

  • Committing code with proper format (git:commit)
  • Rebasing branches onto upstream (git:rebase)
  • Creating worktrees for parallel development (git:worktree)
  • Managing branches across worktrees
  • Setting up isolated development environments

Quick Commands

bash
# List worktrees
git worktree list

# Create worktree
git worktree add .worktrees/<name> -b <branch> main

# Remove worktree
git worktree remove .worktrees/<name>

# Prune stale references
git worktree prune

Why Worktrees?

  • Parallel development: Work on multiple features simultaneously
  • No context switching: Each worktree has its own working directory
  • CI-like testing: Test different branches in isolation
  • Code review: Check out PRs without affecting your work

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results