Claude-skill-registry git-cm

Commit changes to git with a descriptive conventional commit message. Use when ready to commit staged or unstaged changes.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/git-cm" ~/.claude/skills/majiayu000-claude-skill-registry-git-cm && rm -rf "$T"
manifest: skills/data/git-cm/SKILL.md
source content

Git Commit

Commit changes with a conventional commit message.

  1. Check the current git status to understand what has changed.

    • Command:
      git status
  2. View the diff if necessary to understand the changes better.

    • Command:
      git diff --staged
      or
      git diff
  3. Add all changes to the staging area (unless specific files are requested).

    • Command:
      git add .
  4. Commit the changes with a descriptive and conventional commit message.

    • Command:
      git commit -m "<type>: <subject>"
    • Ensure the message follows conventional commit standards (e.g., feat, fix, chore, docs, refactor).