# Commit

> Creates clean, conventional git commits using standard git.

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.

- Page: https://ss33.ai/skills/fradser/commit-73504022509
- Publisher: fradser
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [Source control & code review](https://ss33.ai/skills/category/software-development-t44z8z/source-control-and-code-review-jebezw)
- License: MIT
- Source: https://github.com/fradser/dotclaude/blob/f55ac1cea49240ca09c981e43e08f3bc1bc5b6ed/git/skills/commit/SKILL.md

## Skill

SKILL.md: https://ss33.ai/api/v1/ss33/download/fradser/commit-73504022509

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