Commit

Generate git commits with conventional format. Analyzes changes, suggests staging, proposes message.

RhythmMittal19 1f258d2 860 B Updated

File contents

Staged Changes

!git diff --cached --stat 2>/dev/null || echo "Nothing staged. Showing unstaged:"; git diff --stat 2>/dev/null | head -15

Full Diff

!git diff --cached 2>/dev/null || git diff 2>/dev/null | head -100

Instructions

  1. Analyze the changes above
  2. If nothing is staged, suggest which files to stage with git add
  3. Generate a commit message using conventional commits format:
type(scope): short description (under 72 chars)

- Bullet point explaining what changed and why
- Another bullet if needed

Types: feat, fix, refactor, docs, test, chore, perf, style, ci Scope: the module/component/area affected

  1. Show me the proposed commit command
  2. Wait for my approval before executing

RhythmMittal19/claude-config/tree/main/skills/commit commit 1f258d2df5

Frequently asked questions

npx skillmds@latest add rhythmmittal19/commit