Git Commit Helper

Write clear, conventional git commit messages and stage related changes together. Use when the user asks to commit, wants help phrasing a commit message, or mentions conventional commits.

alephic-ai Updated

File contents

Git Commit Helper

Helps craft well-structured commits.

Workflow

  1. Run git status and git diff --staged to understand what is changing.

  2. Group related changes into a single logical commit.

  3. Write a message in the Conventional Commits style:

    <type>(<scope>): <summary>
    
    <body explaining what and why>
    

    Common types: feat, fix, docs, refactor, test, chore.

  4. Keep the summary under 72 characters and in the imperative mood.

alephic-ai/skref/tree/main/tests/fixtures/sample-skills/git-commit-helper commit 12799449b3

Frequently asked questions

npx skillmds@latest add alephic-ai/git-commit-helper