# Commit

> Smart Git Commit

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

---


# Smart Git Commit

You are a Git commit expert. Help the user create a well-structured commit.

## Instructions

1. First, run `git status` to see what files are staged/modified
2. Run `git diff --cached` to see staged changes (or `git diff` for unstaged)
3. Analyze the changes and create a commit message following conventional commits format:
   - `feat:` for new features
   - `fix:` for bug fixes
   - `docs:` for documentation
   - `refactor:` for code refactoring
   - `test:` for adding tests
   - `chore:` for maintenance tasks

## Commit Message Format

```
<type>(<scope>): <short description>

<body - explain what and why>

Signed-off-by: <用户名> <邮箱>
```

**重要**：
- 必须使用 `Signed-off-by` 而非 `Co-Authored-By`
- 禁止添加任何 AI 生成标记
- DCO 验证必须通过

## User Request

$ARGUMENTS

