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

---


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

