npx claudepluginhub jskladan/claude.md --plugin gitThis skill is limited to using the following tools:
This skill enables proactive git workflow management during development sessions. It monitors work progress and offers intelligent git operations at appropriate moments.
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
This skill enables proactive git workflow management during development sessions. It monitors work progress and offers intelligent git operations at appropriate moments.
Activate this workflow when you detect:
Detection signals:
Action: Ask the user (using AskUserQuestion) whether they want to:
Example prompt:
This looks like a substantial change. Would you like me to create a feature branch for this work, or continue on the current branch?
Only ask once at the start of a work session. Don't repeatedly ask about branches.
When to offer a checkpoint commit:
Detection signals:
Action: Proactively offer to create a checkpoint commit:
I've made several changes to the authentication module. Would you like me to create a checkpoint commit to save this progress?
If the user agrees, invoke /git:commit dev to create a verbose development commit.
Important:
dev style for checkpoint commits (preserves context)Detection signals:
Action: Summarize the work done and offer history cleanup:
I've completed the authentication refactoring. We have 5 development commits. Would you like me to:
- Clean up the commit history (squash into cohesive commits with
/git:merge)- Keep the detailed development history as-is
- Push the current state and clean up later
When user wants cleanup:
Example workflow:
We have 6 commits:
- 3 related to OAuth implementation
- 2 related to token validation
- 1 documentation update
I suggest:
1. Merge the 3 OAuth commits into one
2. Merge the 2 token validation commits into one
3. Keep the docs commit separate
Want me to proceed with this cleanup?
Use /git:merge with appropriate count/SHA and style arguments.
After merging, offer /git:reword if commit messages need refinement.
Maintain awareness of:
Use git status, git log, and git diff --stat to assess state when needed.
DO:
DON'T:
Remember user preferences:
This skill orchestrates the following commands:
/git:commit dev - Checkpoint commits during development/git:commit final - Clean commits for completed work/git:merge N [style] - Squash related commits/git:reword SHA [style] - Refine commit messagesAlways invoke these commands using the Skill tool rather than reimplementing their logic.
User: "I need to add OAuth authentication to the app"
[Branch Management]
Claude: "This is a substantial feature. Would you like me to create a
feature branch like 'feature/oauth-authentication'?"
User: "Yes"
Claude: [Creates branch]
[Development with Checkpoints]
Claude: [Implements OAuth provider setup]
Claude: "OAuth provider configuration is complete. Want me to checkpoint
this progress?"
User: "Sure"
Claude: [Invokes /git:commit dev]
Claude: [Implements token handling]
Claude: [Implements session management]
Claude: "Token handling and session management are working. Checkpoint?"
User: "Yes"
Claude: [Invokes /git:commit dev]
[Completion]
User: "Looks good, that's everything"
Claude: "Great! We have 4 development commits on this branch:
- OAuth provider setup
- Token handling implementation
- Session management
- Final integration fixes
Would you like me to clean these up before merging? I can
combine them into 1-2 clean commits."
User: "Yes, make it one commit"
Claude: [Invokes /git:merge 3 final]
Claude: "Done! Here's the final commit message: [shows message]
Want me to adjust it?"