Claude-skill-registry git-status

Present git status

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/git-status" ~/.claude/skills/majiayu000-claude-skill-registry-git-status && rm -rf "$T"
manifest: skills/data/git-status/SKILL.md
source content

Present git status

GOAL
: present the git status in a visually appealing and consistent way.

WHEN
: use after a successful git commit by the agent when it needs to display the status of the repository to the user.

NOTE
: The agent shouldn't use this internally for its own needs.

Efficiency directives

  • Optimize all operations for token and context efficiency
  • Batch operations on file groups, avoid individual file processing
  • Use parallel execution when possible
  • Target only relevant files
  • Reduce token usage

Git directives

For repository status

git status --porcelain=v2 --branch

References

The following reference files serve as strict guidelines:

  • references/git-status-codes.md
    : complete reference for parsing git status output
  • references/git-status-presentation.md
    : git status presentation guidelines, examples, and templates

Workflow

IMPORTANT
: To avoid a recursive loop,
DON'T
invoke the
git-status
skill here.

  • Without using the
    git-status
    skill, get repository status
  • Use the reference files templates to present final status to user
  • DONE