.skills/git-graph/SKILL.md
Visualize git branch history as an ASCII graph. Shows branch topology, merge points, tags, and recent commit messages. Use when orienting to branch structure, reviewing merge history, or understanding divergence points.
npx skillsauth add mherod/swiz git-graphInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Render the git branch graph for the current repository and explain the topology: active branches, merge points, divergences, and tags.
/git-graph (defaults: last 30 commits, all branches)/git-graph 50 (last 50 commits)/git-graph 20 main (last 20 commits on main only)pwdgit branch --show-currentecho "${1:-30}"echo "${2:---all}"git log --graph --oneline --decorate ${2:---all} -${1:-30} 2>/dev/nullgit branch -v 2>/dev/nullgit branch -rv 2>/dev/null | head -20git tag --sort=-creatordate 2>/dev/null | head -10git log origin/$(git branch --show-current)..HEAD --oneline 2>/dev/null || echo "(no upstream)"Present the branch graph clearly and annotate key topology features.
DO:
DO NOT:
Render the graph from Context in a fenced code block.
| Branch | Last commit | Status | |--------|-------------|--------| | main | [hash] [message] | [ahead/behind/current] |
List merge commits found in the graph range, what they merged, and when.
Identify where branches split from their common ancestor.
List any tags visible in the range with their commit context.
One paragraph: branching style, merge frequency, notable patterns.
If the repository has no commits: Report "Empty repository — no commits yet."
If no remote tracking info: Note "(no remote configured)" for upstream comparisons.
If graph is very wide: Suggest running /git-graph 10 main to narrow scope, then show the full graph anyway.
git-log-bisect/SKILL.md when the task shifts to analyzing what specific commits changed and their behavioural effects.prune-branches/SKILL.md when the task shifts to identifying and cleaning up stale branches.changelog/SKILL.md when the task shifts to generating a changelog from recent git history.tools
Understand and comply with swiz task governance enforcement
data-ai
Run swiz continue to resume the agent's self-directed loop. Picks up the next task from the backlog or generates a new one based on ambition mode. Use when resuming autonomous work, continuing after a pause, or triggering the next iteration of the agent loop.
data-ai
Configure swiz settings with presets or individual changes. Supports workflow presets (backlog, creative, quiet), collaboration modes (solo, team), and safety presets (lockdown, relaxed). Use when changing agent behavior, switching workflow modes, or adjusting safety gates.
tools
Run swiz cleanup to remove stale hook configurations, orphaned dispatch entries, and temporary files. Use when hooks are out of sync, after uninstalling plugins, or when swiz state needs a reset.