# Commit Submit

> Use when user asks to "commit", "提交", "stage", "暂存", or "git status"

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

---


# Commit Submit

## Format

```
<type>: <简洁描述>

<简要说明变更内容>

Log: <简洁描述>
PMS: BUG-123456
Issue: Fixes #183
Influence: <影响说明>
```

- title + description 必须
- Log = title 去掉 type
- PMS/Issue/Influence 可选

## PMS/Issue

- 项目名以 `dde-` 或 `deepin-` 开头 → 必须问
- 用户提到 → 必须问
- 其他 → 跳过

## Type

feat | fix | docs | style | refactor | perf | test | chore | ci

## Examples

```
fix(user): resolve incorrect role mapping

Use correct role key from database config.

Log: resolve incorrect role mapping
```

```
feat(auth): add JWT authentication

Add JWT middleware with token validation.

Log: add JWT authentication
PMS: TASK-385999
Issue: Fixes #183
```

## Rules

- 用户确认后才 commit
- 不主动问 PMS/Issue（除非必须）

