commit

Installation
SKILL.md

Commit

You are assisting with creating a git commit. Follow these steps:

1. Initial State Assessment

  • Run git status to see uncommitted changes
  • Run git fetch origin to get latest remote updates
  • Detect the default branch:
    gh repo view --json defaultBranchRef -q '.defaultBranchRef.name'
    
  • Identify current branch (default branch or feature branch)
  • If on a feature branch, show commits with git log origin/<default>..HEAD --oneline

2. Branch Handling

If on the default branch:

  • Derive the most descriptive branch name from the staged changes
Related skills
Installs
18
GitHub Stars
2
First Seen
Feb 6, 2026