# Commit

> Creates a conventional commit from staged changes, using an optional user-provided subject.

- Skill: `samyakjhaveri/commit` (Agent Skill)
- Install (CLI): `npx skillmds@latest add samyakjhaveri/commit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/samyakjhaveri/commit/raw
- Safety review: CAUTION (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools, Dev Tooling
- Tags: Commit, Conventional Commits, Git
- Author: SamyakJhaveri (https://skillmd.com/u/samyakjhaveri)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/samyakjhaveri/commit

---


<git_status>
!`git status --short`
</git_status>

<staged_diff>
!`git diff --cached`
</staged_diff>

1. Review the staged diff above.
2. Write a Conventional Commit message: feat: / fix: / chore: / docs: / refactor: / test: / perf:
3. If `$ARGUMENTS` is provided, use it as the commit subject.
4. Format: `<type>(<optional-scope>): <subject>` — subject under 72 chars.
5. Run: `git commit -m "<message>"`
6. Run: `git status` to confirm clean state.
7. Output the commit hash and message.

