# Code Commit

> Commit code changes with well-structured messages following Conventional Commits. Use when ready to commit after implementation or bug fix.

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

---


# Code Commit

Create well-structured git commits with meaningful messages.

## Format

```
<type>(<scope>): <subject>

<body>

<footer>
```

## Types

| Type | Use For |
|------|---------|
| `feat` | New feature |
| `fix` | Bug fix |
| `docs` | Documentation |
| `refactor` | Code restructuring |
| `test` | Adding tests |
| `chore` | Maintenance |

## Examples

```bash
feat(auth): add user login functionality

Implement JWT-based authentication with:
- Login endpoint
- Token validation

Closes #123
```

```bash
fix(api): handle null response in user query
```

## Rules

1. **Atomic** - One logical change per commit
2. **Present tense** - "add" not "added"
3. **50/72** - Subject ≤50, body wrapped at 72
4. **Reference issues** - `Closes #123` or `Fixes #456`


