# Commit

> Commit the staged changes. If there are no staged changes, stage all changes first.

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

---


Run `git status`, `git diff`, and `git diff --cached` in parallel to understand
the current state. Then:

- If there are staged changes, commit only what's staged.
- If there are no staged changes, stage all changes first, then commit.

