skills/git-sorcery/SKILL.md
Advanced git intelligence beyond basic add/commit/push. Smart commit messages from diffs, conflict resolution strategies, interactive history analysis, bisect for bug hunting, cherry-pick workflows, branch management, and stash operations. Automatic skill that enhances all git operations.
npx skillsauth add nhouseholder/nicks-claude-code-superpowers git-sorceryInstall 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.
Elevate every git interaction from basic commands to strategic version control. Write commit messages that tell a story, resolve conflicts intelligently, find the exact commit that introduced a bug, and manage branches like a pro.
This skill enhances all git operations automatically. No manual trigger needed.
Analyze the actual diff to write messages that capture intent, not just changes.
Formula: [Action] [What] — [Why/Impact]
Example: "Fix race condition in auth token refresh — stale tokens caused 401 cascade"
When the project uses semantic versioning:
Breaking change → suggest major bump
New feature → suggest minor bump
Bug fix → suggest patch bump
Mention the version in the commit when bumping: v5.64.0: Add dispensary search radius filter
When multiple logical changes are staged:
When conflicts arise:
1. UNDERSTAND — Read both sides. What was each change trying to do?
2. INTENT — Which change is more recent/important? Do they overlap or complement?
3. RESOLVE:
- Both changes needed → Integrate both (most common)
- Changes contradict → Keep the one that matches current direction
- Changes are in different sections → Accept both (clean merge)
4. VERIFY — After resolving, does the file still make sense as a whole?
| Pattern | Resolution | |---------|-----------| | Both added imports | Keep both, dedupe | | Both modified same function | Usually integrate both changes | | One deleted, one modified | Check if the modification is still needed | | Package lock conflicts | Regenerate from package.json | | Both added to a list | Keep both entries, check for order dependencies |
When a bug's origin is unknown:
1. Find a known good commit (when did it last work?)
2. The current commit is bad
3. Use git log to identify the range
4. Binary search: test the midpoint commit
5. Narrow down until you find the exact introducing commit
6. Read that commit's diff to understand what caused the bug
Suggest bisect when:
When to suggest cherry-picking:
1. Identify the exact commit(s) needed
2. Check for dependencies between commits
3. Cherry-pick in chronological order
4. Resolve conflicts if the target branch diverged
5. Verify the cherry-picked code works in the new context
Follow the project's convention, or suggest:
feature/short-description
fix/issue-description
refactor/what-changed
After merging, suggest cleaning up:
Smart stash usage:
git stash push -m "WIP: dispensary filter — radius selector done, need to add URL params"
Always use descriptive stash messages — git stash with no message is a recipe for confusion.
git log --oneline -20 → Quick overview of recent work
git log --stat -5 → What files changed in recent commits
git log --author="name" -10 → What a specific person did
git log -- path/to/file → History of a specific file
git blame path/to/file → Who last touched each line
tools
Unified context management and session continuity skill. Combines total-recall, strategic-compact, /ledger, and session continuity. Runs in background to preserve critical context across compaction and sessions.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suggest /ultraplan for complex planning tasks on Claude Code CLI (2.1.91+ only). Research preview.
tools
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.