Commit Submit

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

re2zero 822573b 945 B Updated

File contents

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(除非必须)

re2zero/deepin-skills/tree/main/commit-submit commit 822573bac4

Frequently asked questions

npx skillmds@latest add re2zero/commit-submit