# Commit

> Smart commit with message

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

---


Create a commit with an auto-generated message.

## Steps

1. Run `git status` to see changes
2. Run `git diff` to understand changes
3. Generate descriptive commit message
4. Stage appropriate files
5. Create commit

## Commands

```bash
git status
git diff --staged
git diff
git add [specific files]
git commit -m "message"
```

## Commit Message Format

```
<type>: <short description>

<optional body>

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
```

Types:
- feat: New feature
- fix: Bug fix
- docs: Documentation
- refactor: Code restructuring
- test: Adding tests
- chore: Maintenance

## Rules

- Stage specific files, not `git add -A`
- Never commit .env or secrets
- Use descriptive messages
- Add co-author attribution

