AgentSkillsCN

git-what

利用Nano Banana Pro(Gemini 3 Pro图像模型)生成或编辑图像。适用于各类图像创建与修改需求,包括图像编辑操作;支持文本转图像与图像转图像功能,分辨率可选1K、2K或4K,并可通过`--input-image`参数指定输入图像。

SKILL.md
--- frontmatter
name: git-what
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.

Git What

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@<sha>)
  • 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.