Loading...
Loading...
Unified git workflow for branch-first development: status/diff review, security-first commits, worktrees, and PR creation/review via gh. Auto-activates on: "commit", "push", "branch", "worktree", "pr", "pull request", "merge", "rebase", "git".
npx skill4agent add bntvllnt/agent-skills git| User says | Load reference | Do |
|---|---|---|
| status / what changed (no "worktree" prefix) | | read-only inspection |
| help / usage / man | | show CLI help safely |
| commit / stage | | stage + commit safely |
| branch / switch | | branch operations |
| worktree create/remove/list | | worktree operations |
| worktree cleanup / normalize / consolidate | | auto-clean + consolidate worktrees |
| worktree summary / worktree status / show worktrees | | proactive analysis: PR status, change classification, safe-to-delete verdicts |
| tag / version | | create/list/inspect tags |
| pr / pull request | | create/update PR via gh |
| pr review / fix pr comments / threads | | review + respond + fix |
| merge / rebase / reset / revert | | advanced/recovery (confirm first) |
cd.git/WORKTREES_DIR=./.worktrees
WORKTREE_PATH=$WORKTREES_DIR/<topic>../.worktrees~/worktrees/<repo>WORKTREES_DIRreferences/worktree-workflow.md./.worktrees/../repo-feature-x/WORKTREES_DIRgit worktree movegit worktree prunegit addgit commitgit pushgit mergegit rebasegit resetgit revertgit worktree addgit worktree removegit taggit branch -d/-D# Read-only
git status
git diff
# Commit
git diff --cached
git commit -m "feat(scope): why"
# Worktrees
git worktree list