What problem does it solve?
This Skill standardizes and simplifies complex Git operations like committing, branching, and amending, preventing common errors and ensuring a clean, organized version control history. It replaces raw Git commands with a guided, intelligent workflow.
Core Features & Use Cases
- Intelligent Branching: Automatically creates new feature branches or stacks them on existing ones, based on your current Git state.
- Standardized Commits: Guides the use of
git-spice for consistent commit messages and operations, integrating with the writing-commits Skill.
- Safe Amending: Provides a clear process for amending the last commit, with or without changing the message.
- Use Case: When developing a new feature, use this Skill to automatically create a new feature branch, commit your changes with a properly formatted message, and amend previous commits without manually remembering complex
git commands.
Quick Start
Create a new feature branch with a commit message
gs branch create my-feature-branch -m "feat: Add new user profile page"
Commit changes to the current branch
gs commit create -m "fix: Resolve styling issues on profile page"
Amend the last commit with staged changes
gs commit amend