mcpField
C
commit-helper

commit-helper

github.com/nodnarbnitramDevelopment1777 installsUpdated 29w ago
Repository

About commit-helper

A skill that analyzes staged Git changes and drafts conventional commit messages with a concise summary and explanatory body. It is for developers preparing commits.

Key features

  1. 01Analyze staged Git changes
  2. 02Choose a conventional commit type
  3. 03Add an optional scope
  4. 04Draft summary and explanatory body

Use cases

  1. 01Writing a commit message from staged changes
  2. 02Recording a fix, feature, or documentation update

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nodnarbnitram/claude-code-extensions --skill commit-helper

After installing, type/commit-helperin Claude Code to confirm it loaded.

Details

From the project README

Commit Helper

Generate well-structured commit messages following conventional commit format.

Instructions

  1. Run git diff --staged to see staged changes
  2. Analyze the changes to understand:
    • What files were modified
    • What type of change (feat, fix, refactor, docs, etc.)
    • The scope/component affected
  3. Generate a commit message with:
    • Summary line under 50 characters
    • Type prefix (feat, fix, docs, refactor, test, chore)
    • Optional scope in parentheses
    • Detailed body explaining what and why

Commit Types

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation changes
  • refactor: Code restructuring without behavior change
  • test: Adding or updating tests
  • chore: Maintenance tasks

Best Practices

  • Use present tense ("Add feature" not "Added feature")
  • Explain what and why, not how
  • Keep summary concise but descriptive
  • Reference issue numbers when applicable

Example Output

feat(auth): add OAuth2 support for GitHub login

- Implement OAuth2 flow with PKCE
- Add token refresh mechanism
- Store tokens securely in encrypted storage

Closes #123

Comments

Markdown supported