branch
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Context
Current branch: !git branch --show-current
Default base: !git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's|^origin/||' || echo main
Commits ahead of default base on current branch:
!git log $(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's|^origin/||' || echo main)..HEAD --oneline 2>/dev/null || echo "(none or base not found)"
Uncommitted changes
!git status --short
Potentially relevant ignored files
!git ls-files --others --ignored --exclude-standard 2>/dev/null | head -20 || echo "(none)"