# Commit

> Creates clean, conventional git commits using standard git. Use when the user asks to "commit", "git commit", "create commit", or wants to commit staged or unstaged changes.

- Skill: `fradser/commit` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add fradser/commit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/fradser/commit/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: FradSer (https://skillmd.com/u/fradser)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/fradser/commit

---


# Commit Skill (Standard Git)

Create clean, atomic Conventional Commits using standard `git` commands.

## Workflow

1. **Inspect status and diff**:
   ```bash
   git status --porcelain
   git diff --staged
   git diff
   ```
2. **Stage files**:
   Stage relevant modified or untracked files explicitly:
   ```bash
   git add <file1> <file2> ...
   ```
3. **Formulate Conventional Commit Message**:
   Follow the specification: `<type>(<optional scope>): <short description>`
   Types: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`.
4. **Commit**:
   Execute standard `git commit`:
   ```bash
   git commit -m "<type>(<scope>): <summary>"
   ```
   If a co-author trailer is required or requested, follow `../../references/coauthor-attribution.md`.

