o-gi

Gw Commit — Git skill for Claude Code

Git community

Smart commit with auto-generated or custom messages.

How to install Gw Commit

Installs to ~/.claude/skills/o-gi-claude-code-commands-gw-commit/SKILL.md

Terminal
mkdir -p ~/.claude/skills/o-gi-claude-code-commands-gw-commit && curl -fsSL https://raw.githubusercontent.com/o-gi/claude-code-commands/HEAD/commands/gw-commit.md -o ~/.claude/skills/o-gi-claude-code-commands-gw-commit/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Gw Commit does

Smart commit with auto-generated or custom messages.

Usage

# Auto-generate message from changes (default)
/user:gw-commit

# Specify exact message
/user:gw-commit -m "fix: resolve login timeout issue"

# Generate from prompt/hint
/user:gw-commit -p "updated authentication flow for OAuth"

# Interactive mode (Claude suggests, you can edit)
/user:gw-commit -i

Options

  • -m, --message: Specify exact commit message
  • -p, --prompt: Provide hint for AI-generated message
  • `-i,

Alternatives in Git

  • OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
  • 40+ Claude Code Tips — Tips for getting the most out of Claude Code, including a custom status line script, cutting the system prompt 5.8k ★
  • Gen Commit Msg — Generate intelligent commit messages based on staged changes 5.7k ★

Full documentation available on GitHub

View Source Repository