regenrek

gitwhat

26
4
# Install this skill:
npx skills add regenrek/agent-skills --skill "gitwhat"

Install specific skill from multi-skill repository

# Description

Concise git workspace snapshot for the current directory. Use when asked to show current branch, cwd, repo root, whether the current directory is a worktree, local dirty status, or whether other worktrees have uncommitted changes.

# SKILL.md


name: gitwhat
description: Concise git workspace snapshot for the current directory. Use when asked to show current branch, cwd, repo root, whether the current directory is a worktree, local dirty status, or whether other worktrees have uncommitted changes.


Gitwhat

Overview

Provide a short, formatted git status snapshot for the current working directory and any sibling worktrees.

Quick start

  • Run scripts/gitwhat.sh from the target directory.
  • If not inside a git repo, report the cwd and exit.

Output fields

  • CWD
  • Branch (or detached@)
  • Repo root
  • Worktree (yes/no + name or main)
  • Status (clean/dirty with counts)
  • Other worktrees (clean/dirty per worktree)

Notes

  • Keep output compact and use the script output as-is unless the user asks for more detail.
  • Do not use network calls; rely on local git commands.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.