# Commit

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

- Skill: `rhythmmittal19/commit` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rhythmmittal19/commit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rhythmmittal19/commit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: RhythmMittal19 (https://skillmd.com/u/rhythmmittal19)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/rhythmmittal19/commit

---


## 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

4. Show me the proposed commit command
5. Wait for my approval before executing

